Skip to content

Commit

Permalink
include reporting stage
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbez committed Jan 7, 2025
1 parent b617686 commit 59c2dce
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,25 @@ stages:
variables:
STATUS_PROJECT: hpc-io/pdc
STATUS_NAME: NERSC
tags:
- perlmutter
script:
# For complete details on the GitHub API please see:
# https://developer.github.com/v3/repos/statuses
- curl -X POST -H Authorization: token ${GITHUB_TOKEN} https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}?state=${CI_JOB_NAME}\&context=${STATUS_NAME}\&target_url=${CI_PIPELINE_URL}
- curl -X POST -H "Authorization:token ${GITHUB_TOKEN}" https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}?state=${CI_JOB_NAME}\&context=${STATUS_NAME}\&target_url=${CI_PIPELINE_URL}

pending:
stage: .pre
tags:
- perlmutter
extends:
- .report-status

success:
stage: .post
tags:
- perlmutter
extends:
- .report-status

failure:
stage: .post
tags:
- perlmutter
extends:
- .report-status
rules:
Expand Down

0 comments on commit 59c2dce

Please sign in to comment.