From 3734e7b388b151be3d2f8d6ad0d454360efaddbb Mon Sep 17 00:00:00 2001 From: Jean Luca Bez Date: Thu, 16 May 2024 13:44:13 -0700 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 114b28d7..fcbf5f9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: @@ -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"] @@ -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: @@ -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"]