
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 Change-Id: I7e48c6515f48e77a4045bc5f899e8ca963e1671a
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
- project:
|
|
templates:
|
|
- charm-unit-jobs-py38
|
|
- charm-unit-jobs-py39
|
|
check:
|
|
jobs:
|
|
# Wallaby is currently broken because of a change in the default token
|
|
# type requirements in manila's policy.json that the charm / tests need
|
|
# to learn to handle
|
|
- ganesha-focal-xena
|
|
- ganesha-focal-yoga:
|
|
voting: false
|
|
- ganesha-impish-xena:
|
|
voting: false
|
|
- ganesha-jammy-yoga:
|
|
voting: false
|
|
vars:
|
|
needs_charm_build: true
|
|
charm_build_name: manila
|
|
build_type: charmcraft
|
|
|
|
- job:
|
|
name: ganesha-focal-xena
|
|
parent: func-target
|
|
dependencies:
|
|
- osci-lint
|
|
- tox-py38
|
|
- tox-py39
|
|
- charm-build
|
|
vars:
|
|
tox_extra_args: ganesha:focal-xena
|
|
- job:
|
|
name: ganesha-focal-yoga
|
|
parent: func-target
|
|
dependencies:
|
|
- ganesha-focal-xena
|
|
vars:
|
|
tox_extra_args: ganesha:focal-yoga
|
|
- job:
|
|
name: ganesha-impish-xena
|
|
parent: func-target
|
|
dependencies:
|
|
- ganesha-focal-xena
|
|
vars:
|
|
tox_extra_args: ganesha:impish-xena
|
|
- job:
|
|
name: ganesha-jammy-yoga
|
|
parent: func-target
|
|
dependencies:
|
|
- ganesha-focal-xena
|
|
vars:
|
|
tox_extra_args: ganesha:jammy-yoga
|