Skip to content

Commit

Permalink
refactor: using env block instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce-Soghigian committed Feb 19, 2025
1 parent 7bb2017 commit c3ef3db
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,17 @@ jobs:
location: ${{ inputs.location }}
- name: run the ${{ inputs.suite }} test suite
if: inputs.suite != 'Nonbehavioral'
env:
AZURE_CLUSTER_NAME: ${{ env.CLUSTER_NAME }}
AZURE_RESOURCE_GROUP: ${{ env.RG_NAME }}
AZURE_LOCATION: ${{ inputs.location }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}
AZURE_ACR_NAME: ${{ env.ACR_NAME }}
TEST_SUITE: ${{ inputs.suite }}
GIT_REF: ${{ github.sha }}
run: |
AZURE_CLUSTER_NAME=${{ env.CLUSTER_NAME }} AZURE_RESOURCE_GROUP=${{ env.RG_NAME }} make az-creds
AZURE_LOCATION=${{ inputs.location }} AZURE_SUBSCRIPTION_ID=${{ secrets.E2E_SUBSCRIPTION_ID }} AZURE_RESOURCE_GROUP=${{ env.RG_NAME }} AZURE_CLUSTER_NAME=${{ env.CLUSTER_NAME }} AZURE_ACR_NAME=${{ env.ACR_NAME}} TEST_SUITE="${{ inputs.suite }}" GIT_REF="$(git rev-parse HEAD)" make e2etests
make az-creds
make e2etests
- name: dump logs on failure
uses: ./.github/actions/e2e/dump-logs
if: failure() || cancelled()
Expand Down

0 comments on commit c3ef3db

Please sign in to comment.