Skip to content

Commit f7a10a4

Browse files
ci: decouple unstable image promotion (#1591)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent a02be87 commit f7a10a4

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

.github/workflows/nightly_docker_test.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly Server test - Latest build
1+
name: Unstable build tests and promotion
22
on:
33
workflow_dispatch:
44
inputs:
@@ -40,7 +40,7 @@ jobs:
4040
# =================================================================================================
4141

4242
windows-dms-tests:
43-
name: Nightly unstable testing - Windows DMS
43+
name: Windows DMS
4444
if: vars.SKIP_UNSTABLE_CONTAINERS_TEMPORARILY != 1
4545
runs-on: [self-hosted, Windows, pygeometry]
4646
env:
@@ -127,12 +127,12 @@ jobs:
127127
{
128128
"@type": "MessageCard",
129129
"@context": "http://schema.org/extensions",
130-
"summary": "Nightly Tests for Windows DMS failing",
130+
"summary": "Unstable build tests for Windows DMS failing",
131131
"themeColor": "f44336",
132-
"title": "PyAnsys Geometry Nightly Tests - Windows DMS failing",
132+
"title": "PyAnsys Geometry unstable build tests - Windows DMS failing",
133133
"sections": [
134134
{
135-
"activityTitle": "Windows DMS nightly tests are failing",
135+
"activityTitle": "Windows DMS unstable build tests are failing",
136136
"activitySubtitle": "Check the run for more details: https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }}",
137137
"facts": [
138138
{
@@ -145,7 +145,7 @@ jobs:
145145
}
146146
147147
windows-core-tests:
148-
name: Nightly unstable testing - Windows Core Service
148+
name: Windows Core Service
149149
if: vars.SKIP_UNSTABLE_CONTAINERS_TEMPORARILY != 1
150150
# runs-on: [self-hosted, Windows, pygeometry]
151151
runs-on: # TODO: Waiting for ansys-network runner to be updated
@@ -235,12 +235,12 @@ jobs:
235235
{
236236
"@type": "MessageCard",
237237
"@context": "http://schema.org/extensions",
238-
"summary": "Nightly Tests for Windows Core Service failing",
238+
"summary": "Unstable build tests for Windows Core Service failing",
239239
"themeColor": "f44336",
240-
"title": "PyAnsys Geometry Nightly Tests - Windows Core Service failing",
240+
"title": "PyAnsys Geometry unstable build tests - Windows Core Service failing",
241241
"sections": [
242242
{
243-
"activityTitle": "Windows Core Service nightly tests are failing",
243+
"activityTitle": "Windows Core Service unstable build tests are failing",
244244
"activitySubtitle": "Check the run for more details: https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }}",
245245
"facts": [
246246
{
@@ -258,7 +258,7 @@ jobs:
258258
# =================================================================================================
259259

260260
linux-tests:
261-
name: Nightly unstable testing - Linux
261+
name: Linux Core Service
262262
if: vars.SKIP_UNSTABLE_CONTAINERS_TEMPORARILY != 1
263263
runs-on: ubuntu-latest
264264

@@ -300,12 +300,12 @@ jobs:
300300
{
301301
"@type": "MessageCard",
302302
"@context": "http://schema.org/extensions",
303-
"summary": "Nightly Tests for Linux failing",
303+
"summary": "Unstable build tests for Linux Core Service failing",
304304
"themeColor": "f44336",
305-
"title": "PyAnsys Geometry Nightly Tests - Linux failing",
305+
"title": "PyAnsys Geometry unstable build tests - Linux Core Service failing",
306306
"sections": [
307307
{
308-
"activityTitle": "Linux nightly tests are failing",
308+
"activityTitle": "Linux Core Service unstable build tests are failing",
309309
"activitySubtitle": "Check the run for more details: https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }}",
310310
"facts": [
311311
{
@@ -318,9 +318,9 @@ jobs:
318318
}
319319
320320
promote-windows-dms:
321-
needs: [windows-dms-tests, windows-core-tests, linux-tests]
321+
needs: windows-dms-tests
322322
runs-on: windows-latest
323-
name: Promote Windows container
323+
name: Promote Windows DMS container
324324
if: ${{ github.event.inputs.promote == 'true' || github.event_name == 'schedule' }}
325325
env:
326326
WINDOWS_UNSTABLE: ghcr.io/ansys/geometry:windows-latest-unstable
@@ -343,9 +343,9 @@ jobs:
343343
run: docker push ${{ env.WINDOWS_STABLE_GHCR }}
344344

345345
promote-windows-core:
346-
needs: [windows-dms-tests, windows-core-tests, linux-tests]
346+
needs: windows-core-tests
347347
runs-on: windows-latest
348-
name: Promote Windows container
348+
name: Promote Windows Core Service container
349349
if: ${{ github.event.inputs.promote == 'true' || github.event_name == 'schedule' }}
350350
env:
351351
WINDOWS_UNSTABLE: ghcr.io/ansys/geometry:core-windows-latest-unstable
@@ -368,9 +368,9 @@ jobs:
368368
run: docker push ${{ env.WINDOWS_STABLE_GHCR }}
369369

370370
promote-linux:
371-
needs: [windows-dms-tests, windows-core-tests, linux-tests]
371+
needs: linux-tests
372372
runs-on: ubuntu-latest
373-
name: Promote Linux container
373+
name: Promote Linux Core Service container
374374
if: ${{ github.event.inputs.promote == 'true' || github.event_name == 'schedule' }}
375375
env:
376376
LINUX_UNSTABLE: ghcr.io/ansys/geometry:core-linux-latest-unstable
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
decouple unstable image promotion

0 commit comments

Comments
 (0)