Skip to content

Commit

Permalink
JCF: add an option whereby you can manually specify which nightly to …
Browse files Browse the repository at this point in the history
…run the integration tests on
  • Loading branch information
John Freeman committed Nov 24, 2024
1 parent 17e559b commit cff2972
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/nightly-v5-integtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit cff2972

Please sign in to comment.