
This patchset implements the first rewrite of the charm using the operator framework by simply calling into the hooks. This change also includes functional validation about charm upgrades from the previous stable to the locally built charm. Fix tempest breakage for python < 3.8 Co-authored-by: Chris MacNaughton <chris.macnaughton@canonical.com> Change-Id: I61308bb2900134ea163d9e92444066a3cb0de43d func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/849
39 lines
807 B
YAML
39 lines
807 B
YAML
type: charm
|
|
|
|
parts:
|
|
charm:
|
|
prime:
|
|
- actions/*
|
|
- lib/*
|
|
- templates/*
|
|
after:
|
|
- update-certificates
|
|
charm-python-packages:
|
|
# Use the updated version of setuptools (needed by jinja2).
|
|
- setuptools
|
|
build-packages:
|
|
- git
|
|
|
|
update-certificates:
|
|
# Ensure that certificates in the base image are up-to-date.
|
|
plugin: nil
|
|
override-build: |
|
|
apt update
|
|
apt install -y ca-certificates
|
|
update-ca-certificates
|
|
|
|
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]
|
|
|