File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ jobs:
3434 - name : Checkout
3535 uses : actions/checkout@v4
3636
37- - name : Run setup-k8s test
37+ - name : Run setup-k8s test (online)
3838 working-directory : test
3939 env :
4040 BASH_DEBUG : ' 0'
4141 run : |
4242 set -euo pipefail
43- ./run-test.sh ${{ matrix.distro }}
43+ ./run-test.sh --online ${{ matrix.distro }}
4444
4545 - name : Upload logs
4646 if : always()
5151 test/results/logs
5252 test/results/test-result.json
5353 if-no-files-found : ignore
54+
55+ - name : Cleanup workspace artifacts
56+ if : always()
57+ run : |
58+ sudo rm -rf test/images || true
59+ sudo rm -rf test/results || true
Original file line number Diff line number Diff line change 6666 DISTRO : ${{ matrix.distro }}
6767 run : |
6868 set -euo pipefail
69- mode_flag=""
70- if [ "$MODE" = "online" ]; then
71- mode_flag="--online"
72- else
73- mode_flag="--offline"
74- fi
69+ mode_flag="--online"
7570
7671 k8s_flag=""
7772 if [ -n "$K8S_VERSION" ]; then
9489 test/results/logs
9590 test/results/test-result.json
9691 if-no-files-found : ignore
92+
93+ - name : Cleanup workspace artifacts
94+ if : always()
95+ run : |
96+ sudo rm -rf test/images || true
97+ sudo rm -rf test/results || true
You can’t perform that action at this time.
0 commit comments