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: Ib5417aee76e3d0b110f58db9ef8dd45c6820b104
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
charm_name: ovn-chassis
|
|
|
|
gate_bundles:
|
|
- focal-xena
|
|
- impish-xena
|
|
|
|
smoke_bundles:
|
|
- focal-xena
|
|
|
|
dev_bundles:
|
|
- focal-yoga
|
|
- jammy-yoga
|
|
|
|
target_deploy_status:
|
|
magpie:
|
|
workload-status-message: icmp ok
|
|
ovn-central:
|
|
workload-status: waiting
|
|
workload-status-message-prefix: "'ovsdb-peer' incomplete, 'certificates' awaiting server certificate data"
|
|
ovn-chassis:
|
|
workload-status: waiting
|
|
workload-status-message-prefix: "'certificates' awaiting server certificate data"
|
|
vault:
|
|
workload-status: blocked
|
|
workload-status-message-prefix: Vault needs to be initialized
|
|
nrpe:
|
|
workload-status: blocked
|
|
workload-status-message-prefix: "Nagios server not configured or related"
|
|
|
|
# Note that full end to end tests are performed with OVN in the
|
|
# neutron-api-plugin-ovn and octavia charm gates
|
|
configure:
|
|
- zaza.openstack.charm_tests.vault.setup.auto_initialize_no_validation
|
|
|
|
tests:
|
|
- zaza.openstack.charm_tests.ovn.tests.OVNChassisDeferredRestartTest
|
|
- zaza.openstack.charm_tests.ovn.tests.ChassisCharmOperationTest
|
|
|
|
tests_options:
|
|
force_deploy:
|
|
- impish-xena # as nrpe is deployed, and nrpe only supports LTS releases
|
|
- jammy-yoga
|