
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: Ie422d578412fd3131814c2fe402fd9890b1f2232
43 lines
951 B
YAML
43 lines
951 B
YAML
- project:
|
|
templates:
|
|
- charm-unit-jobs-py38
|
|
- charm-unit-jobs-py39
|
|
check:
|
|
jobs:
|
|
- focal
|
|
- impish:
|
|
voting: false
|
|
- jammy:
|
|
voting: false
|
|
- full_model_ha-focal-full-ha
|
|
- full_model_ha-impish-full-ha:
|
|
voting: false
|
|
- full_model_ha-jammy-full-ha:
|
|
voting: false
|
|
vars:
|
|
needs_charm_build: true
|
|
charm_build_name: mysql-router
|
|
build_type: charmcraft
|
|
|
|
- job:
|
|
name: full_model_ha-focal-full-ha
|
|
parent: func-target
|
|
dependencies:
|
|
- focal
|
|
vars:
|
|
tox_extra_args: full_model_ha:focal-full-ha
|
|
- job:
|
|
name: full_model_ha-impish-full-ha
|
|
parent: func-target
|
|
dependencies:
|
|
- focal
|
|
vars:
|
|
tox_extra_args: full_model_ha:impish-full-ha
|
|
- job:
|
|
name: full_model_ha-jammy-full-ha
|
|
parent: func-target
|
|
dependencies:
|
|
- focal
|
|
vars:
|
|
tox_extra_args: full_model_ha:jammy-full-ha
|