charm-mysql-innodb-cluster/osci.yaml
Alex Kavanagh af690f28af Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft.  Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/708
Change-Id: I4652834f5a4dd681563488cd340dac27dbf70075
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-21 12:12:43 +00:00

39 lines
853 B
YAML

- project:
templates:
- charm-unit-jobs-py38
- charm-unit-jobs-py39
check:
jobs:
- focal
- full_model-focal-full-ha
- full_model-impish-full-ha:
voting: false
- full_model-jammy-full-ha:
voting: false
vars:
needs_charm_build: true
charm_build_name: mysql-innodb-cluster
build_type: charmcraft
- job:
name: full_model-focal-full-ha
parent: func-target
dependencies:
- focal
vars:
tox_extra_args: full_model:focal-full-ha
- job:
name: full_model-impish-full-ha
parent: func-target
dependencies:
- focal
vars:
tox_extra_args: full_model:impish-full-ha
- job:
name: full_model-jammy-full-ha
parent: func-target
dependencies:
- focal
vars:
tox_extra_args: full_model:jammy-full-ha