3333 winbuild :
3434 name : Windows Build
3535 runs-on : windows-latest
36+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
3637 steps :
3738
3839 - name : Get rid of disruptive line endings before checkout
7879 - name : Set up mingw
7980 uses : egor-tensin/setup-mingw@v2.2.0
8081 id : gccsetup
81- timeout-minutes : 20
82+ timeout-minutes : ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && '20' || vars.DEFAULT_STEP_TIMEOUT_MIN }}
8283 with :
8384 version : ' 8.1.0'
8485
@@ -93,13 +94,13 @@ jobs:
9394
9495 - name : Choco install openssl
9596 uses : crazy-max/ghaction-chocolatey@v3.0.0
96- timeout-minutes : 40
97+ timeout-minutes : ${{ vars.DEFAULT_LONG_STEP_TIMEOUT_MIN == '' && '40' || vars.DEFAULT_LONG_STEP_TIMEOUT_MIN }}
9798 with :
9899 args : " install --force openssl --version 3.1.1"
99100
100101 - name : Choco install packages
101102 uses : crazy-max/ghaction-chocolatey@v3.0.0
102- timeout-minutes : 40
103+ timeout-minutes : ${{ vars.DEFAULT_LONG_STEP_TIMEOUT_MIN == '' && '40' || vars.DEFAULT_LONG_STEP_TIMEOUT_MIN }}
103104 with :
104105 args : " install --force postgresql13 sqlite"
105106
@@ -206,6 +207,7 @@ jobs:
206207 linuxbuild :
207208 name : Linux Build
208209 runs-on : ubuntu-latest
210+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
209211 steps :
210212
211213 - name : Check out code into the Go module directory
@@ -463,6 +465,7 @@ jobs:
463465 linuxarmbuild :
464466 name : Linux arm64 Build
465467 runs-on : arm-ubuntu-22-04-runner-one
468+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
466469 steps :
467470
468471 - name : Check out code into the Go module directory
@@ -746,6 +749,7 @@ jobs:
746749 name : WSL Test
747750 runs-on : windows-latest
748751 needs : linuxbuild
752+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
749753 steps :
750754
751755 - name : Get rid of disruptive line endings before checkout
@@ -860,6 +864,7 @@ jobs:
860864 macosbuild :
861865 name : MacOS Build
862866 runs-on : macos-12
867+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
863868 steps :
864869 - name : Check out code into the Go module directory
865870 uses : actions/checkout@v4.1.1
@@ -998,6 +1003,7 @@ jobs:
9981003 macosarmbuild :
9991004 name : MacOS ARM Build
10001005 runs-on : macos-latest
1006+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
10011007 steps :
10021008
10031009 - name : Check out code into the Go module directory
@@ -1075,6 +1081,7 @@ jobs:
10751081 dockerbuild :
10761082 name : Docker Build
10771083 runs-on : ubuntu-latest-m
1084+ timeout-minutes : ${{ vars.DEFAULT_JOB_TIMEOUT_MIN == '' && '120' || vars.DEFAULT_JOB_TIMEOUT_MIN }}
10781085 steps :
10791086
10801087 - name : Check out code into the Go module directory
@@ -1227,13 +1234,13 @@ jobs:
12271234
12281235 - name : Run robot mocked functional tests
12291236 if : success()
1230- timeout-minutes : 20
1237+ timeout-minutes : ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && '20' || vars.DEFAULT_STEP_TIMEOUT_MIN }}
12311238 run : |
12321239 python cicd/python/build.py --robot-test --config='{ "variables": { "EXECUTION_PLATFORM": "docker" } }'
12331240
12341241 - name : Run POSTGRES BACKEND robot mocked functional tests
12351242 if : success()
1236- timeout-minutes : 20
1243+ timeout-minutes : ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && '20' || vars.DEFAULT_STEP_TIMEOUT_MIN }}
12371244 run : |
12381245 echo "## Stray docker containers before postgres robot tests ##"
12391246 docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a
0 commit comments