Skip to content

Commit

Permalink
include status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbez committed Jan 10, 2025
1 parent 71937ca commit 1b3f03c
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,26 @@ stages:
pending:
stage: .pre
variables:
STATUS_MESSAGE: "Waiting for manual approval to run on NERSC system..."
extends:
- .report-status
script:
- echo "STATUS_MESSAGE='Waiting for approval to run on NERSC system...'" > .env
artifacts:
reports:
dotenv: .env

success:
stage: .post
variables:
STATUS_MESSAGE: "Successfully passed all tests on NERSC system!"
extends:
- .report-status
script:
- echo "STATUS_MESSAGE='Successfully passed all tests on NERSC system!'" > .env
artifacts:
reports:
dotenv: .env

failure:
stage: .post
variables:
STATUS_MESSAGE: "Failed to pass all tests on NERSC system!"
extends:
- .report-status
rules:
- when: on_failure
script:
- echo "STATUS_MESSAGE='Failed to pass all tests on NERSC system!'" > .env
artifacts:
reports:
dotenv: .env

perlmutter-no-cache-build:
stage: build
Expand Down

0 comments on commit 1b3f03c

Please sign in to comment.