Updates for caracal testing support

These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal.  They do NOT lock the charms
down, and don't change the testing branches to stable branches.

Change-Id: I319489688138911b6b77bdb7b3560bc3071e8e08
This commit is contained in:
Alex Kavanagh 2024-02-09 18:15:47 +00:00
parent 3c19c22b4a
commit ff2fb55d20
10 changed files with 38 additions and 97 deletions

View File

@ -53,67 +53,3 @@ bases:
- name: ubuntu - name: ubuntu
channel: "22.04" channel: "22.04"
architectures: [arm64] architectures: [arm64]
- build-on:
- name: ubuntu
channel: "23.04"
architectures: [amd64]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [amd64]
- build-on:
- name: ubuntu
channel: "23.04"
architectures: [s390x]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [s390x]
- build-on:
- name: ubuntu
channel: "23.04"
architectures: [ppc64el]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "23.04"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [arm64]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [amd64]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [amd64]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [s390x]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [s390x]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [ppc64el]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [arm64]

View File

@ -6,4 +6,4 @@
needs_charm_build: true needs_charm_build: true
charm_build_name: cinder-purestorage charm_build_name: cinder-purestorage
build_type: charmcraft build_type: charmcraft
charmcraft_channel: 2.x/edge charmcraft_channel: 2.x/stable

View File

@ -6,14 +6,12 @@ description: |
. .
This charm provides a purestorage backend for Cinder This charm provides a purestorage backend for Cinder
tags: tags:
- openstack - openstack
- storage - storage
- file-servers - file-servers
- misc - misc
series: series:
- jammy - jammy
- lunar
- mantic
subordinate: true subordinate: true
provides: provides:
storage-backend: storage-backend:

View File

@ -63,7 +63,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: latest/edge channel: 2024.1/edge
cinder: cinder:
charm: ch:cinder charm: ch:cinder
num_units: 1 num_units: 1
@ -71,7 +71,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '4' - '4'
channel: latest/edge channel: 2024.1/edge
cinder-purestorage: cinder-purestorage:
charm: ../../../cinder-purestorage_ubuntu-22.04-amd64.charm charm: ../../../cinder-purestorage_ubuntu-22.04-amd64.charm
options: options:

View File

@ -63,7 +63,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: latest/edge channel: 2024.1/edge
cinder: cinder:
charm: ch:cinder charm: ch:cinder
num_units: 1 num_units: 1
@ -71,7 +71,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '4' - '4'
channel: latest/edge channel: 2024.1/edge
cinder-purestorage: cinder-purestorage:
charm: ../../../cinder-purestorage_ubuntu-22.04-amd64.charm charm: ../../../cinder-purestorage_ubuntu-22.04-amd64.charm
options: options:

View File

@ -1,9 +1,9 @@
variables: variables:
openstack-origin: &openstack-origin distro openstack-origin: &openstack-origin cloud:jammy-caracal
local_overlay_enabled: False local_overlay_enabled: False
series: mantic series: jammy
comment: comment:
- 'machines section to decide order of deployment. database sooner = faster' - 'machines section to decide order of deployment. database sooner = faster'
@ -63,7 +63,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: latest/edge channel: 2024.1/edge
cinder: cinder:
charm: ch:cinder charm: ch:cinder
num_units: 1 num_units: 1
@ -71,9 +71,9 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '4' - '4'
channel: latest/edge channel: 2024.1/edge
cinder-purestorage: cinder-purestorage:
charm: ../../../cinder-purestorage_ubuntu-23.10-amd64.charm charm: ../../../cinder-purestorage_ubuntu-22.04-amd64.charm
options: options:
# Add config options here # Add config options here
driver-source: ppa:openstack-charmers/purestorage-stable driver-source: ppa:openstack-charmers/purestorage-stable

View File

@ -3,7 +3,7 @@ variables:
local_overlay_enabled: False local_overlay_enabled: False
series: lunar series: noble
comment: comment:
- 'machines section to decide order of deployment. database sooner = faster' - 'machines section to decide order of deployment. database sooner = faster'
@ -63,7 +63,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: latest/edge channel: 2024.1/edge
cinder: cinder:
charm: ch:cinder charm: ch:cinder
num_units: 1 num_units: 1
@ -71,9 +71,9 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '4' - '4'
channel: latest/edge channel: 2024.1/edge
cinder-purestorage: cinder-purestorage:
charm: ../../../cinder-purestorage_ubuntu-23.04-amd64.charm charm: ../../../cinder-purestorage_ubuntu-22.04-amd64.charm
options: options:
# Add config options here # Add config options here
driver-source: ppa:openstack-charmers/purestorage-stable driver-source: ppa:openstack-charmers/purestorage-stable

View File

@ -6,14 +6,13 @@ tests:
configure: configure:
- zaza.openstack.charm_tests.keystone.setup.add_demo_user - zaza.openstack.charm_tests.keystone.setup.add_demo_user
gate_bundles: gate_bundles:
- focal-xena - jammy-antelope
smoke_bundles:
- focal-xena
dev_bundles:
- focal-yoga
- jammy-yoga
- jammy-bobcat - jammy-bobcat
- mantic-bobcat - jammy-caracal
smoke_bundles:
- jammy-caracal
dev_bundles:
- noble-caracal
tests_options: tests_options:
force_deploy: force_deploy:
- jammy-yoga - noble-caracal

View File

@ -25,7 +25,9 @@ passenv =
CS_* CS_*
OS_* OS_*
TEST_* TEST_*
deps = -r{toxinidir}/test-requirements.txt deps =
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
-r{toxinidir}/test-requirements.txt
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3

12
tox.ini
View File

@ -60,12 +60,16 @@ commands =
[testenv:py3] [testenv:py3]
basepython = python3 basepython = python3
deps = -r{toxinidir}/test-requirements.txt deps =
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs} commands = stestr run --slowest {posargs}
[testenv:py310] [testenv:py310]
basepython = python3.10 basepython = python3.10
deps = -r{toxinidir}/test-requirements.txt deps =
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs} commands = stestr run --slowest {posargs}
[testenv:pep8] [testenv:pep8]
@ -78,7 +82,9 @@ commands = flake8 {posargs} src unit_tests
# Technique based heavily upon # Technique based heavily upon
# https://github.com/openstack/nova/blob/master/tox.ini # https://github.com/openstack/nova/blob/master/tox.ini
basepython = python3 basepython = python3
deps = -r{toxinidir}/requirements.txt deps =
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
setenv = setenv =
{[testenv]setenv} {[testenv]setenv}