Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbez authored May 16, 2024
1 parent df80e07 commit 3734e7b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ build-perlmutter:
stage: build
when: manual
allow_failure: false
id_tokens:
SITE_ID_TOKEN:
aud: https://software.nersc.gov/
rules:
- if: '$METRICS == null'
tags:
Expand All @@ -36,6 +39,9 @@ build-perlmutter:

test-perlmutter:
stage: test
id_tokens:
SITE_ID_TOKEN:
aud: https://software.nersc.gov/
rules:
- if: '$METRICS == null'
needs: ["build-perlmutter"]
Expand Down Expand Up @@ -77,6 +83,9 @@ test-perlmutter:

build-perlmutter-metrics:
stage: build
id_tokens:
SITE_ID_TOKEN:
aud: https://software.nersc.gov/
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $METRICS == "true"'
tags:
Expand All @@ -102,6 +111,9 @@ build-perlmutter-metrics:

metrics-perlmutter:
stage: metrics
id_tokens:
SITE_ID_TOKEN:
aud: https://software.nersc.gov/
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $METRICS == "true"'
needs: ["build-perlmutter-metrics"]
Expand Down

0 comments on commit 3734e7b

Please sign in to comment.