Enable magnum CI
Update references and enable magnum CI. Change-Id: I3ae48a5c75f262908d530c3efb7a289f5213a14e
This commit is contained in:
parent
697623da07
commit
e8af24a66e
11
charms/magnum-k8s/.zuul.yaml
Normal file
11
charms/magnum-k8s/.zuul.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-python3-charm-yoga-jobs
|
||||
- openstack-cover-jobs
|
||||
- microk8s-func-test
|
||||
vars:
|
||||
charm_build_name: magnum-k8s
|
||||
juju_channel: 3.1/stable
|
||||
juju_classic_mode: false
|
||||
microk8s_channel: 1.26-strict/stable
|
||||
microk8s_classic_mode: false
|
@ -26,13 +26,13 @@ resources:
|
||||
magnum-api-image:
|
||||
type: oci-image
|
||||
description: OCI image for OpenStack magnum
|
||||
# ghcr.io/openstack-snaps/magnum-consolidated:2023.1
|
||||
upstream-source: ghcr.io/openstack-snaps/magnum-consolidated:2023.1
|
||||
# ghcr.io/canonical/magnum-consolidated:2023.1
|
||||
upstream-source: ghcr.io/canonical/magnum-consolidated:2023.1
|
||||
magnum-conductor-image:
|
||||
type: oci-image
|
||||
description: OCI image for OpenStack magnum
|
||||
# ghcr.io/openstack-snaps/magnum-consolidated:2023.1
|
||||
upstream-source: ghcr.io/openstack-snaps/magnum-consolidated:2023.1
|
||||
# ghcr.io/canonical/magnum-consolidated:2023.1
|
||||
upstream-source: ghcr.io/canonical/magnum-consolidated:2023.1
|
||||
|
||||
requires:
|
||||
database:
|
||||
|
@ -1,17 +1,17 @@
|
||||
# This file is managed centrally. If you find the need to modify this as a
|
||||
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
||||
# requirements management in charms via bot-control. Thank you.
|
||||
charm-tools>=2.4.4
|
||||
coverage>=3.6
|
||||
mock>=1.2
|
||||
flake8>=2.2.4,<=2.4.1
|
||||
pyflakes==2.1.1
|
||||
stestr>=2.2.0
|
||||
requests>=2.18.4
|
||||
psutil
|
||||
# oslo.i18n dropped py35 support
|
||||
oslo.i18n<4.0.0
|
||||
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
|
||||
# This file is managed centrally by release-tools and should not be modified
|
||||
# within individual charm repos. See the 'global' dir contents for available
|
||||
# choices of *requirements.txt files for OpenStack Charms:
|
||||
# https://github.com/openstack-charmers/release-tools
|
||||
#
|
||||
|
||||
pwgen
|
||||
coverage
|
||||
mock
|
||||
flake8
|
||||
stestr
|
||||
git+https://github.com/openstack-charmers/zaza.git@libjuju-3.1#egg=zaza
|
||||
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
|
||||
pytz # workaround for 14.04 pip/tox
|
||||
pyudev # for ceph-* charm unit tests (not mocked?)
|
||||
git+https://opendev.org/openstack/tempest.git#egg=tempest
|
||||
ops
|
||||
# Subunit 1.4.3+ requires extras
|
||||
extras
|
||||
|
@ -16,7 +16,7 @@ applications:
|
||||
options:
|
||||
kubernetes-service-annotations: metallb.universe.tf/address-pool=public
|
||||
|
||||
# required for barbican and magnum
|
||||
# required for magnum
|
||||
rabbitmq:
|
||||
charm: ch:rabbitmq-k8s
|
||||
channel: 3.9/edge
|
||||
@ -34,15 +34,13 @@ applications:
|
||||
fernet-keys: 5M
|
||||
credential-keys: 5M
|
||||
|
||||
vault:
|
||||
charm: ch:vault-k8s
|
||||
scale: 1
|
||||
trust: false
|
||||
|
||||
barbican:
|
||||
charm: ch:barbican-k8s
|
||||
glance:
|
||||
charm: ch:glance-k8s
|
||||
channel: 2023.1/edge
|
||||
scale: 1
|
||||
trust: false
|
||||
storage:
|
||||
local-repository: 5G
|
||||
|
||||
magnum:
|
||||
charm: ../../magnum-k8s.charm
|
||||
@ -62,19 +60,14 @@ relations:
|
||||
- - mysql:database
|
||||
- keystone:database
|
||||
|
||||
- - mysql:database
|
||||
- barbican:database
|
||||
- - rabbitmq:amqp
|
||||
- barbican:amqp
|
||||
- glance:amqp
|
||||
- - keystone:identity-service
|
||||
- barbican:identity-service
|
||||
- glance:identity-service
|
||||
- - traefik:ingress
|
||||
- barbican:ingress-internal
|
||||
- - traefik:ingress
|
||||
- barbican:ingress-public
|
||||
|
||||
- - vault:secrets
|
||||
- barbican:secrets
|
||||
- glance:ingress-public
|
||||
- - mysql:database
|
||||
- glance:database
|
||||
|
||||
- - mysql:database
|
||||
- magnum:database
|
||||
@ -82,6 +75,8 @@ relations:
|
||||
- magnum:amqp
|
||||
- - keystone:identity-service
|
||||
- magnum:identity-service
|
||||
- - keystone:identity-ops
|
||||
- magnum:identity-ops
|
||||
- - traefik:ingress
|
||||
- magnum:ingress-internal
|
||||
- - traefik:ingress
|
||||
|
@ -4,9 +4,9 @@ smoke_bundles:
|
||||
- smoke
|
||||
# There is no storage provider at the moment so cannot run tests.
|
||||
configure:
|
||||
- zaza.charm_tests.noop.setup.basic_setup
|
||||
- zaza.openstack.charm_tests.keystone.setup.add_tempest_roles
|
||||
tests:
|
||||
- zaza.openstack.charm_tests.magnum.tests.magnumTempestTestK8S
|
||||
- zaza.openstack.charm_tests.magnum.tests.MagnumTempestTestK8S
|
||||
tests_options:
|
||||
trust:
|
||||
- smoke
|
||||
@ -30,15 +30,12 @@ target_deploy_status:
|
||||
keystone:
|
||||
workload-status: active
|
||||
workload-status-message-regex: '^$'
|
||||
glance:
|
||||
workload-status: active
|
||||
workload-status-message-regex: '^$'
|
||||
mysql:
|
||||
workload-status: active
|
||||
workload-status-message-regex: '^.*$'
|
||||
barbican:
|
||||
workload-status: active
|
||||
workload-status-message-regex: '^$'
|
||||
vault:
|
||||
workload-status: active
|
||||
workload-status-message-regex: '^$'
|
||||
magnum:
|
||||
workload-status: active
|
||||
workload-status-message-regex: '^$'
|
||||
|
Loading…
Reference in New Issue
Block a user