3346ed23cd
Update the charmcraft.yaml file to use base and platforms, only allowing noble support. Remove test bundles for older bases. Also modernize build process using the reactive plugin, and modernize tox.ini, update build.lock pins and remove cruft. Change-Id: I5a2a5cf200c32823c7d2a83b8f6afbcddb8cacc9 func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1255
35 lines
664 B
YAML
35 lines
664 B
YAML
type: charm
|
|
|
|
parts:
|
|
charm:
|
|
plugin: reactive
|
|
reactive-charm-build-arguments:
|
|
- --binary-wheels-from-source
|
|
build-packages:
|
|
- tox
|
|
- git
|
|
- python3-dev
|
|
- libffi-dev
|
|
source: src/
|
|
build-snaps:
|
|
- charm/latest/edge
|
|
build-environment:
|
|
- CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/
|
|
- CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/
|
|
|
|
base: ubuntu@24.04
|
|
build-base: ubuntu@24.04
|
|
platforms:
|
|
amd64:
|
|
build-on: amd64
|
|
build-for: amd64
|
|
arm64:
|
|
build-on: arm64
|
|
build-for: arm64
|
|
s390x:
|
|
build-on: s390x
|
|
build-for: s390x
|
|
ppc64el:
|
|
build-on: ppc64el
|
|
build-for: ppc64el
|