Add charmcraft 3 support
Summary of changes: - Update the charmcraft.yaml file to use base and platforms, only allowing noble support. - Update config to default to caracal. - Update osci.yaml to use the charmcraft 3.x/beta - Drop non-noble tests - Update constraints file from -2024.1.txt to -noble.txt - Removed setuptools pinning in wheelhouse.txt - Add charmbuild to .zuul.yaml - Add rename.sh to build process Change-Id: Id4f27a1eea470397ddebee2db7be76bcf5f37466
This commit is contained in:
parent
a2da50a903
commit
a2e57445dc
@ -2,3 +2,8 @@
|
|||||||
templates:
|
templates:
|
||||||
- openstack-python3-charm-jobs
|
- openstack-python3-charm-jobs
|
||||||
- openstack-cover-jobs
|
- openstack-cover-jobs
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- charmbuild
|
||||||
|
vars:
|
||||||
|
charm_build_name: designate-bind
|
||||||
|
@ -19,36 +19,18 @@ parts:
|
|||||||
build-environment:
|
build-environment:
|
||||||
- CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/
|
- CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/
|
||||||
- CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/
|
- CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/
|
||||||
bases:
|
|
||||||
- build-on:
|
base: ubuntu@24.04
|
||||||
- name: ubuntu
|
platforms:
|
||||||
channel: "22.04"
|
amd64:
|
||||||
architectures: [amd64]
|
build-on: amd64
|
||||||
run-on:
|
build-for: amd64
|
||||||
- name: ubuntu
|
arm64:
|
||||||
channel: "22.04"
|
build-on: arm64
|
||||||
architectures: [amd64]
|
build-for: arm64
|
||||||
- build-on:
|
ppc64el:
|
||||||
- name: ubuntu
|
build-on: ppc64el
|
||||||
channel: "22.04"
|
build-for: ppc64el
|
||||||
architectures: [s390x]
|
s390x:
|
||||||
run-on:
|
build-on: s390x
|
||||||
- name: ubuntu
|
build-for: s390x
|
||||||
channel: "22.04"
|
|
||||||
architectures: [s390x]
|
|
||||||
- build-on:
|
|
||||||
- name: ubuntu
|
|
||||||
channel: "22.04"
|
|
||||||
architectures: [ppc64el]
|
|
||||||
run-on:
|
|
||||||
- name: ubuntu
|
|
||||||
channel: "22.04"
|
|
||||||
architectures: [ppc64el]
|
|
||||||
- build-on:
|
|
||||||
- name: ubuntu
|
|
||||||
channel: "22.04"
|
|
||||||
architectures: [arm64]
|
|
||||||
run-on:
|
|
||||||
- name: ubuntu
|
|
||||||
channel: "22.04"
|
|
||||||
architectures: [arm64]
|
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
needs_charm_build: true
|
needs_charm_build: true
|
||||||
charm_build_name: designate-bind
|
charm_build_name: designate-bind
|
||||||
build_type: charmcraft
|
build_type: charmcraft
|
||||||
charmcraft_channel: 2.x/stable
|
charmcraft_channel: 3.x/stable
|
||||||
|
13
rename.sh
Executable file
13
rename.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}')
|
||||||
|
echo "renaming ${charm}_*.charm to ${charm}.charm"
|
||||||
|
echo -n "pwd: "
|
||||||
|
pwd
|
||||||
|
ls -al
|
||||||
|
echo "Removing bad downloaded charm maybe?"
|
||||||
|
if [[ -e "${charm}.charm" ]];
|
||||||
|
then
|
||||||
|
rm "${charm}.charm"
|
||||||
|
fi
|
||||||
|
echo "Renaming charm here."
|
||||||
|
mv ${charm}_*.charm ${charm}.charm
|
@ -11,8 +11,6 @@ description: |
|
|||||||
tags:
|
tags:
|
||||||
- openstack
|
- openstack
|
||||||
- dns
|
- dns
|
||||||
series:
|
|
||||||
- jammy
|
|
||||||
subordinate: false
|
subordinate: false
|
||||||
extra-bindings:
|
extra-bindings:
|
||||||
dns-frontend:
|
dns-frontend:
|
||||||
|
@ -1,148 +0,0 @@
|
|||||||
variables:
|
|
||||||
openstack-origin: &openstack-origin cloud:jammy-antelope
|
|
||||||
|
|
||||||
local_overlay_enabled: False
|
|
||||||
|
|
||||||
series: jammy
|
|
||||||
|
|
||||||
machines:
|
|
||||||
'0':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'1':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'2':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'3':
|
|
||||||
'4':
|
|
||||||
'5':
|
|
||||||
'6':
|
|
||||||
'7':
|
|
||||||
series: focal
|
|
||||||
'8':
|
|
||||||
|
|
||||||
applications:
|
|
||||||
|
|
||||||
keystone-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
designate-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
neutron-api-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
mysql-innodb-cluster:
|
|
||||||
charm: ch:mysql-innodb-cluster
|
|
||||||
num_units: 3
|
|
||||||
to:
|
|
||||||
- '0'
|
|
||||||
- '1'
|
|
||||||
- '2'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
rabbitmq-server:
|
|
||||||
charm: ch:rabbitmq-server
|
|
||||||
num_units: 1
|
|
||||||
to:
|
|
||||||
- '3'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
keystone:
|
|
||||||
charm: ch:keystone
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '4'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
neutron-api:
|
|
||||||
charm: ch:neutron-api
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
manage-neutron-plugin-legacy-mode: true
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '5'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
designate-bind:
|
|
||||||
charm: ../../../designate-bind_ubuntu-22.04-amd64.charm
|
|
||||||
num_units: 1
|
|
||||||
# NOTE(ajkavanagh) apparently it has no openstack origin!
|
|
||||||
#options:
|
|
||||||
#openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '6'
|
|
||||||
|
|
||||||
memcached:
|
|
||||||
charm: ch:memcached
|
|
||||||
num_units: 1
|
|
||||||
# Note that holding memcached at focal as it's not available at jammy yet.
|
|
||||||
series: focal
|
|
||||||
to:
|
|
||||||
- '7'
|
|
||||||
|
|
||||||
designate:
|
|
||||||
charm: ch:designate
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '8'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
nrpe:
|
|
||||||
charm: ch:nrpe
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
designate-bind-hacluster:
|
|
||||||
charm: ch:hacluster
|
|
||||||
options:
|
|
||||||
cluster_count: 1
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
relations:
|
|
||||||
- - 'keystone:shared-db'
|
|
||||||
- 'keystone-mysql-router:shared-db'
|
|
||||||
- - 'keystone-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'designate:shared-db'
|
|
||||||
- 'designate-mysql-router:shared-db'
|
|
||||||
- - 'designate-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'designate:amqp'
|
|
||||||
- 'rabbitmq-server:amqp'
|
|
||||||
|
|
||||||
- - 'designate:identity-service'
|
|
||||||
- 'keystone:identity-service'
|
|
||||||
|
|
||||||
- - 'designate:dns-backend'
|
|
||||||
- 'designate-bind:dns-backend'
|
|
||||||
|
|
||||||
- - 'designate:coordinator-memcached'
|
|
||||||
- 'memcached:cache'
|
|
||||||
|
|
||||||
- - 'designate:dnsaas'
|
|
||||||
- 'neutron-api:external-dns'
|
|
||||||
|
|
||||||
- - 'neutron-api:identity-service'
|
|
||||||
- 'keystone:identity-service'
|
|
||||||
|
|
||||||
- - 'neutron-api:shared-db'
|
|
||||||
- 'neutron-api-mysql-router:shared-db'
|
|
||||||
- - 'neutron-api-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'neutron-api:amqp'
|
|
||||||
- 'rabbitmq-server:amqp'
|
|
||||||
|
|
||||||
- - 'designate:nrpe-external-master'
|
|
||||||
- 'nrpe:nrpe-external-master'
|
|
||||||
|
|
||||||
- - 'designate-bind'
|
|
||||||
- 'designate-bind-hacluster'
|
|
@ -1,148 +0,0 @@
|
|||||||
variables:
|
|
||||||
openstack-origin: &openstack-origin cloud:jammy-bobcat
|
|
||||||
|
|
||||||
local_overlay_enabled: False
|
|
||||||
|
|
||||||
series: jammy
|
|
||||||
|
|
||||||
machines:
|
|
||||||
'0':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'1':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'2':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'3':
|
|
||||||
'4':
|
|
||||||
'5':
|
|
||||||
'6':
|
|
||||||
'7':
|
|
||||||
series: focal
|
|
||||||
'8':
|
|
||||||
|
|
||||||
applications:
|
|
||||||
|
|
||||||
keystone-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
designate-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
neutron-api-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
mysql-innodb-cluster:
|
|
||||||
charm: ch:mysql-innodb-cluster
|
|
||||||
num_units: 3
|
|
||||||
to:
|
|
||||||
- '0'
|
|
||||||
- '1'
|
|
||||||
- '2'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
rabbitmq-server:
|
|
||||||
charm: ch:rabbitmq-server
|
|
||||||
num_units: 1
|
|
||||||
to:
|
|
||||||
- '3'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
keystone:
|
|
||||||
charm: ch:keystone
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '4'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
neutron-api:
|
|
||||||
charm: ch:neutron-api
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
manage-neutron-plugin-legacy-mode: true
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '5'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
designate-bind:
|
|
||||||
charm: ../../../designate-bind_ubuntu-22.04-amd64.charm
|
|
||||||
num_units: 1
|
|
||||||
# NOTE(ajkavanagh) apparently it has no openstack origin!
|
|
||||||
#options:
|
|
||||||
#openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '6'
|
|
||||||
|
|
||||||
memcached:
|
|
||||||
charm: ch:memcached
|
|
||||||
num_units: 1
|
|
||||||
# Note that holding memcached at focal as it's not available at jammy yet.
|
|
||||||
series: focal
|
|
||||||
to:
|
|
||||||
- '7'
|
|
||||||
|
|
||||||
designate:
|
|
||||||
charm: ch:designate
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '8'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
nrpe:
|
|
||||||
charm: ch:nrpe
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
designate-bind-hacluster:
|
|
||||||
charm: ch:hacluster
|
|
||||||
options:
|
|
||||||
cluster_count: 1
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
relations:
|
|
||||||
- - 'keystone:shared-db'
|
|
||||||
- 'keystone-mysql-router:shared-db'
|
|
||||||
- - 'keystone-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'designate:shared-db'
|
|
||||||
- 'designate-mysql-router:shared-db'
|
|
||||||
- - 'designate-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'designate:amqp'
|
|
||||||
- 'rabbitmq-server:amqp'
|
|
||||||
|
|
||||||
- - 'designate:identity-service'
|
|
||||||
- 'keystone:identity-service'
|
|
||||||
|
|
||||||
- - 'designate:dns-backend'
|
|
||||||
- 'designate-bind:dns-backend'
|
|
||||||
|
|
||||||
- - 'designate:coordinator-memcached'
|
|
||||||
- 'memcached:cache'
|
|
||||||
|
|
||||||
- - 'designate:dnsaas'
|
|
||||||
- 'neutron-api:external-dns'
|
|
||||||
|
|
||||||
- - 'neutron-api:identity-service'
|
|
||||||
- 'keystone:identity-service'
|
|
||||||
|
|
||||||
- - 'neutron-api:shared-db'
|
|
||||||
- 'neutron-api-mysql-router:shared-db'
|
|
||||||
- - 'neutron-api-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'neutron-api:amqp'
|
|
||||||
- 'rabbitmq-server:amqp'
|
|
||||||
|
|
||||||
- - 'designate:nrpe-external-master'
|
|
||||||
- 'nrpe:nrpe-external-master'
|
|
||||||
|
|
||||||
- - 'designate-bind'
|
|
||||||
- 'designate-bind-hacluster'
|
|
@ -1,148 +0,0 @@
|
|||||||
variables:
|
|
||||||
openstack-origin: &openstack-origin cloud:jammy-caracal
|
|
||||||
|
|
||||||
local_overlay_enabled: False
|
|
||||||
|
|
||||||
series: jammy
|
|
||||||
|
|
||||||
machines:
|
|
||||||
'0':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'1':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'2':
|
|
||||||
constraints: mem=3072M
|
|
||||||
'3':
|
|
||||||
'4':
|
|
||||||
'5':
|
|
||||||
'6':
|
|
||||||
'7':
|
|
||||||
series: focal
|
|
||||||
'8':
|
|
||||||
|
|
||||||
applications:
|
|
||||||
|
|
||||||
keystone-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
designate-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
neutron-api-mysql-router:
|
|
||||||
charm: ch:mysql-router
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
mysql-innodb-cluster:
|
|
||||||
charm: ch:mysql-innodb-cluster
|
|
||||||
num_units: 3
|
|
||||||
to:
|
|
||||||
- '0'
|
|
||||||
- '1'
|
|
||||||
- '2'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
rabbitmq-server:
|
|
||||||
charm: ch:rabbitmq-server
|
|
||||||
num_units: 1
|
|
||||||
to:
|
|
||||||
- '3'
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
keystone:
|
|
||||||
charm: ch:keystone
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '4'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
neutron-api:
|
|
||||||
charm: ch:neutron-api
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
manage-neutron-plugin-legacy-mode: true
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '5'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
designate-bind:
|
|
||||||
charm: ../../../designate-bind_ubuntu-22.04-amd64.charm
|
|
||||||
num_units: 1
|
|
||||||
# NOTE(ajkavanagh) apparently it has no openstack origin!
|
|
||||||
#options:
|
|
||||||
#openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '6'
|
|
||||||
|
|
||||||
memcached:
|
|
||||||
charm: ch:memcached
|
|
||||||
num_units: 1
|
|
||||||
# Note that holding memcached at focal as it's not available at jammy yet.
|
|
||||||
series: focal
|
|
||||||
to:
|
|
||||||
- '7'
|
|
||||||
|
|
||||||
designate:
|
|
||||||
charm: ch:designate
|
|
||||||
num_units: 1
|
|
||||||
options:
|
|
||||||
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
|
|
||||||
openstack-origin: *openstack-origin
|
|
||||||
to:
|
|
||||||
- '8'
|
|
||||||
channel: 2024.1/edge
|
|
||||||
|
|
||||||
nrpe:
|
|
||||||
charm: ch:nrpe
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
designate-bind-hacluster:
|
|
||||||
charm: ch:hacluster
|
|
||||||
options:
|
|
||||||
cluster_count: 1
|
|
||||||
channel: latest/edge
|
|
||||||
|
|
||||||
relations:
|
|
||||||
- - 'keystone:shared-db'
|
|
||||||
- 'keystone-mysql-router:shared-db'
|
|
||||||
- - 'keystone-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'designate:shared-db'
|
|
||||||
- 'designate-mysql-router:shared-db'
|
|
||||||
- - 'designate-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'designate:amqp'
|
|
||||||
- 'rabbitmq-server:amqp'
|
|
||||||
|
|
||||||
- - 'designate:identity-service'
|
|
||||||
- 'keystone:identity-service'
|
|
||||||
|
|
||||||
- - 'designate:dns-backend'
|
|
||||||
- 'designate-bind:dns-backend'
|
|
||||||
|
|
||||||
- - 'designate:coordinator-memcached'
|
|
||||||
- 'memcached:cache'
|
|
||||||
|
|
||||||
- - 'designate:dnsaas'
|
|
||||||
- 'neutron-api:external-dns'
|
|
||||||
|
|
||||||
- - 'neutron-api:identity-service'
|
|
||||||
- 'keystone:identity-service'
|
|
||||||
|
|
||||||
- - 'neutron-api:shared-db'
|
|
||||||
- 'neutron-api-mysql-router:shared-db'
|
|
||||||
- - 'neutron-api-mysql-router:db-router'
|
|
||||||
- 'mysql-innodb-cluster:db-router'
|
|
||||||
|
|
||||||
- - 'neutron-api:amqp'
|
|
||||||
- 'rabbitmq-server:amqp'
|
|
||||||
|
|
||||||
- - 'designate:nrpe-external-master'
|
|
||||||
- 'nrpe:nrpe-external-master'
|
|
||||||
|
|
||||||
- - 'designate-bind'
|
|
||||||
- 'designate-bind-hacluster'
|
|
@ -17,7 +17,8 @@ machines:
|
|||||||
'5':
|
'5':
|
||||||
'6':
|
'6':
|
||||||
'7':
|
'7':
|
||||||
series: focal
|
# Note: memcached locked to jammy
|
||||||
|
series: jammy
|
||||||
'8':
|
'8':
|
||||||
|
|
||||||
applications:
|
applications:
|
||||||
@ -55,7 +56,7 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '4'
|
- '4'
|
||||||
channel: 2024.1/edge
|
channel: latest/edge
|
||||||
|
|
||||||
neutron-api:
|
neutron-api:
|
||||||
charm: ch:neutron-api
|
charm: ch:neutron-api
|
||||||
@ -65,10 +66,10 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '5'
|
- '5'
|
||||||
channel: 2024.1/edge
|
channel: latest/edge
|
||||||
|
|
||||||
designate-bind:
|
designate-bind:
|
||||||
charm: ../../../designate-bind_ubuntu-22.04-amd64.charm
|
charm: ../../../designate-bind.charm
|
||||||
num_units: 1
|
num_units: 1
|
||||||
# NOTE(ajkavanagh) apparently it has no openstack origin!
|
# NOTE(ajkavanagh) apparently it has no openstack origin!
|
||||||
#options:
|
#options:
|
||||||
@ -79,8 +80,8 @@ applications:
|
|||||||
memcached:
|
memcached:
|
||||||
charm: ch:memcached
|
charm: ch:memcached
|
||||||
num_units: 1
|
num_units: 1
|
||||||
# Note that holding memcached at focal as it's not available at jammy yet.
|
# Note that holding memcached at jammy as it's not available at jammy yet.
|
||||||
series: focal
|
series: jammy
|
||||||
to:
|
to:
|
||||||
- '7'
|
- '7'
|
||||||
|
|
||||||
@ -92,7 +93,7 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '8'
|
- '8'
|
||||||
channel: 2024.1/edge
|
channel: latest/edge
|
||||||
|
|
||||||
nrpe:
|
nrpe:
|
||||||
charm: ch:nrpe
|
charm: ch:nrpe
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
charm_name: designate-bind
|
charm_name: designate-bind
|
||||||
|
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- jammy-caracal
|
- noble-caracal
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- jammy-antelope
|
- noble-caracal
|
||||||
- jammy-bobcat
|
|
||||||
- jammy-caracal
|
|
||||||
dev_bundles:
|
dev_bundles:
|
||||||
- noble-caracal
|
- noble-caracal
|
||||||
tests:
|
tests:
|
||||||
|
@ -26,7 +26,7 @@ passenv =
|
|||||||
OS_*
|
OS_*
|
||||||
TEST_*
|
TEST_*
|
||||||
deps =
|
deps =
|
||||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
|
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-noble.txt}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
psutil
|
psutil
|
||||||
setuptools < 50.0
|
|
||||||
|
|
||||||
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
|
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
|
||||||
|
|
||||||
|
10
tox.ini
10
tox.ini
@ -33,6 +33,7 @@ allowlist_externals =
|
|||||||
charmcraft
|
charmcraft
|
||||||
bash
|
bash
|
||||||
tox
|
tox
|
||||||
|
{toxinidir}/rename.sh
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
|
||||||
@ -45,6 +46,7 @@ basepython = python3
|
|||||||
commands =
|
commands =
|
||||||
charmcraft clean
|
charmcraft clean
|
||||||
charmcraft -v pack
|
charmcraft -v pack
|
||||||
|
{toxinidir}/rename.sh
|
||||||
charmcraft clean
|
charmcraft clean
|
||||||
|
|
||||||
[testenv:build-reactive]
|
[testenv:build-reactive]
|
||||||
@ -60,21 +62,21 @@ commands =
|
|||||||
[testenv:py3]
|
[testenv:py3]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
|
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-noble.txt}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run --slowest {posargs}
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:py312]
|
[testenv:py312]
|
||||||
basepython = python3.12
|
basepython = python3.12
|
||||||
deps =
|
deps =
|
||||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
|
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-noble.txt}
|
||||||
-r{toxinidir}/test-requirements.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 =
|
deps =
|
||||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
|
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-noble.txt}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run --slowest {posargs}
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
@ -89,7 +91,7 @@ commands = flake8 {posargs} src unit_tests
|
|||||||
# https://github.com/openstack/nova/blob/master/tox.ini
|
# https://github.com/openstack/nova/blob/master/tox.ini
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-2024.1.txt}
|
-c {env:TEST_CONSTRAINTS_FILE:https://raw.githubusercontent.com/openstack-charmers/zaza-openstack-tests/master/constraints/constraints-noble.txt}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
setenv =
|
setenv =
|
||||||
|
Loading…
Reference in New Issue
Block a user