From cff29726f446f86b7df81ad145b7bf899758bfaa Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 24 Nov 2024 10:59:21 -0600 Subject: [PATCH] JCF: add an option whereby you can manually specify which nightly to run the integration tests on --- .github/workflows/nightly-v5-integtest.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly-v5-integtest.yml b/.github/workflows/nightly-v5-integtest.yml index bd9a7a7a..cd27b1c8 100644 --- a/.github/workflows/nightly-v5-integtest.yml +++ b/.github/workflows/nightly-v5-integtest.yml @@ -10,7 +10,9 @@ on: send-slack-message: description: 'whether to send a message to #daq-release-notifications on completion' default: 'no' - + override-nightly-tag: + description: 'manually specify the nightly tag (optional)' + required: false jobs: make_nightly_tag: @@ -24,8 +26,13 @@ jobs: steps: - id: create_nightly_tag run: | - date_tag=$(date +%y%m%d) - echo "nightly_tag=NFD_DEV_${date_tag}_A9" >> "$GITHUB_OUTPUT" + if [ -n "${{ github.event.inputs.override-nightly-tag }}" ]; then + nightly_tag="${{ github.event.inputs.override-nightly-tag }}" + else + date_tag=$(date +%y%m%d) + nightly_tag="NFD_DEV_${date_tag}_A9" + fi + echo "nightly_tag=${nightly_tag}" >> "$GITHUB_OUTPUT" cat "$GITHUB_OUTPUT" integration_tests: