Skip to content

Commit

Permalink
Allow repeating Digital Twin test to increase pass rate
Browse files Browse the repository at this point in the history
  • Loading branch information
wagmarcel authored and oguzcankirmemis committed Nov 28, 2022
1 parent 4e3db48 commit 20336dc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/makefile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,20 @@ jobs:
- name: Install Digital Twin from local registry
shell: bash
run: |
cd ./DigitalTwin/test && bash install-local-platform.sh
cd ./DigitalTwin/test
retval=2
loops=0
until bash install-local-platform.sh || [ ${loops} -gt 3 ]; do
loops=$((loops+1))
echo loop: ${loops}
k3d cluster delete iff-cluster
if [ -z "${SELF_HOSTED_RUNNER}" ]; then
bash ./prepare-platform.sh
else
bash ./prepare-platform-for-self-hosted-runner.sh
fi
done
if [ ${loops} -gt 3 ]; then exit 1; fi
- name: Setup subrepos
shell: bash
run: |
Expand Down

0 comments on commit 20336dc

Please sign in to comment.