![Alex Kavanagh](/assets/img/avatar_default.png)
- Add 22.04 to charmcraft.yaml - Update metadata to include jammy - Remove impish from metadata - Update osci.yaml to include py3.10 default job - Modify tox.ini to remove py35,py36,py37 tox target and add py310 target. - ensure that the openstack-origin is yoga Change-Id: I3b005253025fa7ba2b0cdb918fe4134c44316cf0
34 lines
876 B
YAML
34 lines
876 B
YAML
type: charm
|
|
|
|
parts:
|
|
charm:
|
|
build-packages:
|
|
- tox
|
|
- git
|
|
- python3-dev
|
|
override-build: |
|
|
apt-get install ca-certificates -y
|
|
tox -e build-reactive
|
|
override-stage: |
|
|
echo "Copying charm to staging area: $CHARMCRAFT_STAGE"
|
|
NAME=$(ls $CHARMCRAFT_PART_BUILD/build/builds)
|
|
cp -r $CHARMCRAFT_PART_BUILD/build/builds/$NAME/* $CHARMCRAFT_STAGE/
|
|
override-prime: |
|
|
# For some reason, the normal priming chokes on the fact that there's a
|
|
# hooks directory.
|
|
cp -r $CHARMCRAFT_STAGE/* .
|
|
|
|
bases:
|
|
- build-on:
|
|
- name: ubuntu
|
|
channel: "20.04"
|
|
architectures:
|
|
- amd64
|
|
run-on:
|
|
- name: ubuntu
|
|
channel: "20.04"
|
|
architectures: [amd64, s390x, ppc64el, arm64]
|
|
- name: ubuntu
|
|
channel: "22.04"
|
|
architectures: [amd64, s390x, ppc64el, arm64]
|