Skip to content

Commit 2cd12a9

Browse files
committed
Tidy up and check against stackhpc/2024.1 to ensure we don't erroneously remove anything.
1 parent ff9818a commit 2cd12a9

File tree

3 files changed

+92
-12
lines changed

3 files changed

+92
-12
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ jobs:
505505
rc=1
506506
fi
507507
if [[ $(wc -l < sct-results/failed-tests) -ne 0 ]]; then
508-
echo "Some StackHPC OpenStack tests failed."
508+
echo "Some StackHPC Cloud tests failed."
509509
echo "See HTML results artifact (sct-results) for details."
510510
rc=1
511511
fi

.github/workflows/stackhpc-pull-request.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,92 @@ jobs:
145145
if: ${{ needs.check-changes.outputs.aio == 'true' }}
146146
secrets: inherit
147147
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
148+
149+
all-in-one-ubuntu-jammy-ovn:
150+
name: aio (Ubuntu Jammy OVN)
151+
needs:
152+
- check-changes
153+
- build-kayobe-image
154+
uses: ./.github/workflows/stackhpc-all-in-one.yml
155+
with:
156+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
157+
os_distribution: ubuntu
158+
os_release: jammy
159+
ssh_username: ubuntu
160+
neutron_plugin: ovn
161+
OS_CLOUD: openstack
162+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
163+
secrets: inherit
164+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
165+
166+
all-in-one-rocky-9-ovs:
167+
name: aio (Rocky 9 OVS)
168+
needs:
169+
- check-changes
170+
- build-kayobe-image
171+
uses: ./.github/workflows/stackhpc-all-in-one.yml
172+
with:
173+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
174+
os_distribution: rocky
175+
os_release: "9"
176+
ssh_username: cloud-user
177+
neutron_plugin: ovs
178+
OS_CLOUD: openstack
179+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
180+
secrets: inherit
181+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
182+
183+
all-in-one-rocky-9-ovn:
184+
name: aio (Rocky 9 OVN)
185+
needs:
186+
- check-changes
187+
- build-kayobe-image
188+
uses: ./.github/workflows/stackhpc-all-in-one.yml
189+
with:
190+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
191+
os_distribution: rocky
192+
os_release: "9"
193+
ssh_username: cloud-user
194+
neutron_plugin: ovn
195+
OS_CLOUD: openstack
196+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
197+
secrets: inherit
198+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
199+
200+
# Test two upgrade scenarios: Ubuntu Jammy OVS and Rocky 9 OVN.
201+
202+
all-in-one-upgrade-ubuntu-jammy-ovs:
203+
name: aio upgrade (Ubuntu Jammy OVS)
204+
needs:
205+
- check-changes
206+
- build-kayobe-image
207+
uses: ./.github/workflows/stackhpc-all-in-one.yml
208+
with:
209+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
210+
os_distribution: ubuntu
211+
os_release: jammy
212+
ssh_username: ubuntu
213+
neutron_plugin: ovs
214+
OS_CLOUD: openstack
215+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
216+
upgrade: true
217+
secrets: inherit
218+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
219+
220+
all-in-one-upgrade-rocky-9-ovn:
221+
name: aio upgrade (Rocky 9 OVN)
222+
needs:
223+
- check-changes
224+
- build-kayobe-image
225+
uses: ./.github/workflows/stackhpc-all-in-one.yml
226+
with:
227+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
228+
os_distribution: rocky
229+
os_release: "9"
230+
ssh_username: cloud-user
231+
neutron_plugin: ovn
232+
OS_CLOUD: openstack
233+
if: ${{ needs.check-changes.outputs.aio == 'true' }}
234+
upgrade: true
235+
secrets: inherit
236+
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

etc/kayobe/ansible/stackhpc-cloud-tests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88
sct_repo: https://github.com/stackhpc/stackhpc-cloud-tests
99
# Define the version of SCT used for testing, the github workflow overrides this with
1010
# stackhpc_cloud_tests_version so this is only used if running "locally".
11-
sct_version: "main"
12-
# TODO: REMOVE THIS
13-
#sct_version_override: "docker-selinux"
14-
sct_version_override: "prometheus-alerts"
11+
sct_version: main
1512
sct_timeout: 30
1613
results_path_local: "{{ lookup('env', 'HOME') }}/sct-results"
1714
tasks:
@@ -37,7 +34,7 @@
3734
- name: Clone the StackHPC Cloud tests repository
3835
ansible.builtin.git:
3936
repo: "{{ sct_repo }}"
40-
version: "{{ sct_version_override }}"
37+
version: "{{ sct_version }}"
4138
dest: "{{ repo_tmpdir.path }}"
4239
depth: 1
4340
single_branch: true
@@ -69,12 +66,6 @@
6966
file: "{{ kayobe_env_config_path }}/kolla/passwords.yml"
7067
name: kolla_passwords
7168

72-
- name: Print CWD
73-
ansible.builtin.command:
74-
cmd: >
75-
/usr/bin/pwd
76-
register: debug_working_dir
77-
7869
# Monitoring tests should run once, executed on the host in the
7970
# tempest_runner group.
8071
- name: Check for StackHPC Cloud monitoring tests

0 commit comments

Comments
 (0)