Skip to content

Commit

Permalink
Show which ranch was selected. See #276
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Feb 27, 2024
1 parent f461efa commit 77947a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/testing-farm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ jobs:
# RHEL and some architectures can only be tested internally.
echo ${{ matrix.os-version }} | grep -P '(x86_64|aarch64)$' > /dev/null \
&& export TESTING_FARM_API_TOKEN=${{ env.TESTING_FARM_API_TOKEN_PUBLIC_RANCH }}
&& (ranch=public; export TESTING_FARM_API_TOKEN=${{ env.TESTING_FARM_API_TOKEN_PUBLIC_RANCH }})
echo ${{ matrix.os-version }} | grep -P '(^rhel|(ppc64le|s390x|i386)$)' > /dev/null \
&& export TESTING_FARM_API_TOKEN=${{ env.TESTING_FARM_API_TOKEN_REDHAT_RANCH }}
&& (ranch=redhat; export TESTING_FARM_API_TOKEN=${{ env.TESTING_FARM_API_TOKEN_REDHAT_RANCH }})
name=`echo ${{ matrix.os-version }} | grep -oP "^[^-]+"`
arch=`echo ${{ matrix.os-version }} | grep -oP "[^-]+$"`
Expand All @@ -192,6 +192,7 @@ jobs:
>&2 echo "name = $name"
>&2 echo "arch = $arch"
>&2 echo "version = $version"
>&2 echo "ranch = $ranch"
dry_run_option=
if [[ "${{ github.event_name }}" == "workflow_dispatch" && ${{ github.event.inputs.dry-run }} ]]; then
Expand Down

0 comments on commit 77947a4

Please sign in to comment.