Skip to content

Commit

Permalink
Merge pull request #328 from hemanthnakkina/main
Browse files Browse the repository at this point in the history
Use new manifest in test-snap workflow
  • Loading branch information
gboutry authored Sep 23, 2024
2 parents ab20b6f + 0073f53 commit 345b17e
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 67 deletions.
134 changes: 68 additions & 66 deletions .github/assets/testing/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,68 @@
software:
charms:
aodh-k8s:
channel: OS_CHARM
barbican-k8s:
channel: OS_CHARM
ceilometer-k8s:
channel: OS_CHARM
cinder-ceph-k8s:
channel: OS_CHARM
cinder-k8s:
channel: OS_CHARM
designate-bind-k8s:
# Is that interesting to switch ?
channel: 9/edge
designate-k8s:
channel: OS_CHARM
glance-k8s:
channel: OS_CHARM
gnocchi-k8s:
channel: OS_CHARM
heat-k8s:
channel: OS_CHARM
horizon-k8s:
channel: OS_CHARM
keystone-k8s:
channel: OS_CHARM
keystone-ldap-k8s:
channel: OS_CHARM
magnum-k8s:
channel: OS_CHARM
neutron-k8s:
channel: OS_CHARM
nova-k8s:
channel: OS_CHARM
octavia-k8s:
channel: OS_CHARM
openstack-exporter-k8s:
channel: OS_CHARM
openstack-hypervisor:
channel: OS_CHARM
# removed as not present in 2023.2
# openstack-images-sync-k8s:
# channel: OS_CHARM
ovn-central-k8s:
channel: OVN_CHARM
ovn-relay-k8s:
channel: OVN_CHARM
placement-k8s:
channel: OS_CHARM
sunbeam-clusterd:
channel: OS_CHARM
sunbeam-machine:
channel: OS_CHARM
tempest-k8s:
channel: OS_CHARM
microceph:
channel: MICROCEPH_CHARM
config:
snap-channel: MICROCEPH_SNAP
rabbitmq-k8s:
channel: RABBITMQ_CHARM
mysql-k8s:
channel: MYSQL_CHARM
mysql-router-k8s:
channel: MYSQL_ROUTER_CHARM
core:
software:
charms:
aodh-k8s:
channel: OS_CHARM
barbican-k8s:
channel: OS_CHARM
ceilometer-k8s:
channel: OS_CHARM
cinder-ceph-k8s:
channel: OS_CHARM
cinder-k8s:
channel: OS_CHARM
designate-bind-k8s:
# Is that interesting to switch ?
channel: 9/edge
designate-k8s:
channel: OS_CHARM
glance-k8s:
channel: OS_CHARM
gnocchi-k8s:
channel: OS_CHARM
heat-k8s:
channel: OS_CHARM
horizon-k8s:
channel: OS_CHARM
keystone-k8s:
channel: OS_CHARM
keystone-ldap-k8s:
channel: OS_CHARM
magnum-k8s:
channel: OS_CHARM
neutron-k8s:
channel: OS_CHARM
nova-k8s:
channel: OS_CHARM
octavia-k8s:
channel: OS_CHARM
openstack-exporter-k8s:
channel: OS_CHARM
openstack-hypervisor:
channel: OS_CHARM
openstack-images-sync-k8s:
channel: OS_CHARM
watcher-k8s:
channel: OS_CHARM
ovn-central-k8s:
channel: OVN_CHARM
ovn-relay-k8s:
channel: OVN_CHARM
placement-k8s:
channel: OS_CHARM
sunbeam-clusterd:
channel: OS_CHARM
sunbeam-machine:
channel: OS_CHARM
tempest-k8s:
channel: OS_CHARM
microceph:
channel: MICROCEPH_CHARM
config:
snap-channel: MICROCEPH_SNAP
rabbitmq-k8s:
channel: RABBITMQ_CHARM
mysql-k8s:
channel: MYSQL_CHARM
mysql-router-k8s:
channel: MYSQL_ROUTER_CHARM
66 changes: 66 additions & 0 deletions .github/assets/testing/manifest_2023.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
software:
charms:
aodh-k8s:
channel: OS_CHARM
barbican-k8s:
channel: OS_CHARM
ceilometer-k8s:
channel: OS_CHARM
cinder-ceph-k8s:
channel: OS_CHARM
cinder-k8s:
channel: OS_CHARM
designate-bind-k8s:
# Is that interesting to switch ?
channel: 9/edge
designate-k8s:
channel: OS_CHARM
glance-k8s:
channel: OS_CHARM
gnocchi-k8s:
channel: OS_CHARM
heat-k8s:
channel: OS_CHARM
horizon-k8s:
channel: OS_CHARM
keystone-k8s:
channel: OS_CHARM
keystone-ldap-k8s:
channel: OS_CHARM
magnum-k8s:
channel: OS_CHARM
neutron-k8s:
channel: OS_CHARM
nova-k8s:
channel: OS_CHARM
octavia-k8s:
channel: OS_CHARM
openstack-exporter-k8s:
channel: OS_CHARM
openstack-hypervisor:
channel: OS_CHARM
# removed as not present in 2023.2
# openstack-images-sync-k8s:
# channel: OS_CHARM
ovn-central-k8s:
channel: OVN_CHARM
ovn-relay-k8s:
channel: OVN_CHARM
placement-k8s:
channel: OS_CHARM
sunbeam-clusterd:
channel: OS_CHARM
sunbeam-machine:
channel: OS_CHARM
tempest-k8s:
channel: OS_CHARM
microceph:
channel: MICROCEPH_CHARM
config:
snap-channel: MICROCEPH_SNAP
rabbitmq-k8s:
channel: RABBITMQ_CHARM
mysql-k8s:
channel: MYSQL_CHARM
mysql-router-k8s:
channel: MYSQL_ROUTER_CHARM
13 changes: 12 additions & 1 deletion .github/workflows/test-snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,20 @@ jobs:
run: |
export COLUMNS=256
set +x
# 2023.x, 2024.1/beta does not support k8s provider
if [ ! ${{ inputs.snap-channel }} =~ "2024.1/edge" && ${{ inputs.k8s-provider }} == "k8s" ]; then echo "k8s provider not supported"; exit 1; fi
sudo snap install openstack --channel ${{ inputs.snap-channel }}
sudo snap set openstack k8s.provider=${{ inputs.k8s-provider }}
cp .github/assets/testing/manifest.yml .
# New manifest is applicable from 2024.1/edge
# Change this condition once 2024.1/edge is released to beta
if [ ${{ inputs.snap-channel }} =~ "2024.1/edge" ];
then
cp .github/assets/testing/manifest.yml manifest.yml
else
cp .github/assets/testing/manifest_2023.x.yml manifest.yml
fi
sed -i 's|OS_CHARM|${{ inputs.os-charm-channel }}|' manifest.yml
sed -i 's|OVN_CHARM|${{ inputs.ovn-charm-channel }}|' manifest.yml
sed -i 's|MICROCEPH_CHARM|${{ inputs.microceph-charm-channel }}|' manifest.yml
Expand Down

0 comments on commit 345b17e

Please sign in to comment.