
- add *.charm to .gitignore - add build-requirements.txt - add charmcraft.yaml (build on 18.04, run on 18.04) - modify osci.yaml to do build - add rename.sh to clean-up naming of charms - modify bundles to work with *.charm and use the charmhub - modify tox.ini to include the build target Note that this charm doesn't officially support xenial, but the bundle has been left in the tests for debugging/test purposes. It Launchpad it will be build on bionic to run on bionic. This patch adds *.charm to the .gitignore to ensure that any built artifacts are ignored. Change-Id: Icd4942262a8dfcd3a194684571861121d92f8ed2
34 lines
570 B
YAML
34 lines
570 B
YAML
type: charm
|
|
|
|
parts:
|
|
charm:
|
|
plugin: dump
|
|
source: .
|
|
prime:
|
|
- actions/*
|
|
- charmhelpers/*
|
|
- files/*
|
|
- hooks/*
|
|
- lib/*
|
|
- ocf/*
|
|
- scripts/*
|
|
- templates/*
|
|
- actions.yaml
|
|
- config.yaml
|
|
- copyright
|
|
- hardening.yaml
|
|
- Makefile
|
|
- metadata.yaml
|
|
- README.md
|
|
|
|
bases:
|
|
- build-on:
|
|
- name: ubuntu
|
|
channel: "18.04"
|
|
architectures:
|
|
- amd64
|
|
run-on:
|
|
- name: ubuntu
|
|
channel: "18.04"
|
|
architectures: [amd64, s390x, ppc64el, arm64]
|