Skip to content

Commit 209d29d

Browse files
committed
DNM: reduce jobs
1 parent d93262e commit 209d29d

File tree

1 file changed

+11
-43
lines changed

1 file changed

+11
-43
lines changed

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

Lines changed: 11 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -89,25 +89,10 @@ jobs:
8989
secrets: inherit
9090
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
9191

92-
all-in-one-ubuntu-jammy-ovs:
93-
name: aio (Ubuntu Jammy OVS)
94-
needs:
95-
- check-changes
96-
- build-kayobe-image
97-
uses: ./.github/workflows/stackhpc-all-in-one.yml
98-
with:
99-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
100-
os_distribution: ubuntu
101-
os_release: jammy
102-
ssh_username: ubuntu
103-
neutron_plugin: ovs
104-
OS_CLOUD: openstack
105-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
106-
secrets: inherit
107-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
92+
# Test two upgrade scenarios: Ubuntu Jammy OVS and Rocky 9 OVN.
10893

109-
all-in-one-ubuntu-jammy-ovn:
110-
name: aio (Ubuntu Jammy OVN)
94+
all-in-one-upgrade-ubuntu-jammy-ovs:
95+
name: aio upgrade (Ubuntu Jammy OVS)
11196
needs:
11297
- check-changes
11398
- build-kayobe-image
@@ -117,31 +102,15 @@ jobs:
117102
os_distribution: ubuntu
118103
os_release: jammy
119104
ssh_username: ubuntu
120-
neutron_plugin: ovn
121-
OS_CLOUD: openstack
122-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
123-
secrets: inherit
124-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
125-
126-
all-in-one-rocky-9-ovs:
127-
name: aio (Rocky 9 OVS)
128-
needs:
129-
- check-changes
130-
- build-kayobe-image
131-
uses: ./.github/workflows/stackhpc-all-in-one.yml
132-
with:
133-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
134-
os_distribution: rocky
135-
os_release: "9"
136-
ssh_username: cloud-user
137105
neutron_plugin: ovs
138106
OS_CLOUD: openstack
139107
if: ${{ needs.check-changes.outputs.aio == 'true' }}
108+
upgrade: true
140109
secrets: inherit
141110
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
142111

143-
all-in-one-rocky-9-ovn:
144-
name: aio (Rocky 9 OVN)
112+
all-in-one-upgrade-rocky-9-ovn:
113+
name: aio upgrade (Rocky 9 OVN)
145114
needs:
146115
- check-changes
147116
- build-kayobe-image
@@ -154,12 +123,11 @@ jobs:
154123
neutron_plugin: ovn
155124
OS_CLOUD: openstack
156125
if: ${{ needs.check-changes.outputs.aio == 'true' }}
126+
upgrade: true
157127
secrets: inherit
158128
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
159129

160-
# Test two upgrade scenarios: Ubuntu Jammy OVS and Rocky 9 OVN.
161-
162-
all-in-one-upgrade-ubuntu-jammy-ovs:
130+
all-in-one-upgrade-ubuntu-jammy-ovn:
163131
name: aio upgrade (Ubuntu Jammy OVS)
164132
needs:
165133
- check-changes
@@ -170,14 +138,14 @@ jobs:
170138
os_distribution: ubuntu
171139
os_release: jammy
172140
ssh_username: ubuntu
173-
neutron_plugin: ovs
141+
neutron_plugin: ovn
174142
OS_CLOUD: openstack
175143
if: ${{ needs.check-changes.outputs.aio == 'true' }}
176144
upgrade: true
177145
secrets: inherit
178146
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
179147

180-
all-in-one-upgrade-rocky-9-ovn:
148+
all-in-one-upgrade-rocky-9-ovs:
181149
name: aio upgrade (Rocky 9 OVN)
182150
needs:
183151
- check-changes
@@ -188,7 +156,7 @@ jobs:
188156
os_distribution: rocky
189157
os_release: "9"
190158
ssh_username: cloud-user
191-
neutron_plugin: ovn
159+
neutron_plugin: ovs
192160
OS_CLOUD: openstack
193161
if: ${{ needs.check-changes.outputs.aio == 'true' }}
194162
upgrade: true

0 commit comments

Comments
 (0)