Skip to content

Commit 1b3f03c

Browse files
committed
include status messages
1 parent 71937ca commit 1b3f03c

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.gitlab-ci.yml

+6-15
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,26 @@ stages:
2626
2727
pending:
2828
stage: .pre
29+
variables:
30+
STATUS_MESSAGE: "Waiting for manual approval to run on NERSC system..."
2931
extends:
3032
- .report-status
31-
script:
32-
- echo "STATUS_MESSAGE='Waiting for approval to run on NERSC system...'" > .env
33-
artifacts:
34-
reports:
35-
dotenv: .env
3633

3734
success:
3835
stage: .post
36+
variables:
37+
STATUS_MESSAGE: "Successfully passed all tests on NERSC system!"
3938
extends:
4039
- .report-status
41-
script:
42-
- echo "STATUS_MESSAGE='Successfully passed all tests on NERSC system!'" > .env
43-
artifacts:
44-
reports:
45-
dotenv: .env
4640

4741
failure:
4842
stage: .post
43+
variables:
44+
STATUS_MESSAGE: "Failed to pass all tests on NERSC system!"
4945
extends:
5046
- .report-status
5147
rules:
5248
- when: on_failure
53-
script:
54-
- echo "STATUS_MESSAGE='Failed to pass all tests on NERSC system!'" > .env
55-
artifacts:
56-
reports:
57-
dotenv: .env
5849

5950
perlmutter-no-cache-build:
6051
stage: build

0 commit comments

Comments
 (0)