@@ -3,6 +3,16 @@ name: Integration Test
33run-name : | 
44  Integration Test on ${{ inputs.test-platform }}-${{ inputs.test-architecture }} (${{ inputs.test-run == 'all' && 'all' || format('{0}={1}', inputs.test-run, inputs.test-parameter) }}) 
55
6+ env :
7+   DEFAULT_TEST_PLATFORM : kind-1.31.0 
8+   DEFAULT_TEST_ARCHITECTURE : amd64 
9+   DEFAULT_TEST_RUN : all 
10+   DEFAULT_TEST_PARAMETER : " " #  Unused when the test-run is 'all'
11+   TEST_PLATFORM : ${{ inputs.test-platform }} 
12+   TEST_ARCHITECTURE : ${{ inputs.test-architecture }} 
13+   TEST_RUN : ${{ inputs.test-run }} 
14+   TEST_PARAMETER : ${{ inputs.test-parameter }} 
15+ 
616on :
717  schedule :
818    #  At 00:00 on Sunday. See: https://crontab.guru/#0_0_*_*_0
5464    name : Run Integration Test 
5565    runs-on : ubuntu-latest 
5666    steps :
67+       - name : Override integration test options for scheduled run 
68+         if : github.event_name == 'schedule' 
69+         shell : bash 
70+         run : | 
71+           set -euo pipefail 
72+ 
73+           echo "TEST_PLATFORM=$DEFAULT_TEST_PLATFORM" | tee -a "$GITHUB_ENV" 
74+           echo "TEST_ARCHITECTURE=$DEFAULT_TEST_ARCHITECTURE" | tee -a "$GITHUB_ENV" 
75+           echo "TEST_RUN=$DEFAULT_TEST_RUN" | tee -a "$GITHUB_ENV" 
76+           echo "TEST_PARAMETER=$DEFAULT_TEST_PARAMETER" | tee -a "$GITHUB_ENV" 
77+ 
5778uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332  #  v4.1.7
5879        with :
5980          submodules : recursive 
6283        id : test 
6384        uses : stackabletech/actions/run-integration-test@5b66858af3597c4ea34f9b33664b8034a1d28427  #  v0.3.0
6485        with :
65-           test-platform : ${{ inputs.test-platform  }}-${{ inputs.test-architecture  }} 
66-           test-run : ${{ inputs.test-run  }} 
67-           test-parameter : ${{ inputs.test-parameter  }} 
86+           test-platform : ${{ env.TEST_PLATFORM  }}-${{ env.TEST_ARCHITECTURE  }} 
87+           test-run : ${{ env.TEST_RUN  }} 
88+           test-parameter : ${{ env.TEST_PARAMETER  }} 
6889          replicated-api-token : ${{ secrets.REPLICATED_API_TOKEN }} 
6990
7091      - name : Send Notification 
0 commit comments