File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 55 inputs :
66 timeout :
77 description : " Timeout in minutes for each job"
8- required : true
8+ type : string
99 default : 30
1010 secrets :
1111 DATAVISYN_BOT_REPO_TOKEN :
9494 time_zone : ${{ env.TIME_ZONE }}
9595 build-single :
9696 needs : prepare-build
97- timeout-minutes : ${{ fromJSON(github.event.inputs.timeout) }}
9897 if : ${{ needs.prepare-build.outputs.create_workspace != 'true' && needs.prepare-build.outputs.components != '[]' && needs.prepare-build.outputs.components != ''}}
9998 strategy :
10099 fail-fast : true
@@ -107,10 +106,10 @@ jobs:
107106 image_tag2 : ${{ needs.prepare-build.outputs.image_tag2 }}
108107 build_time : ${{ needs.prepare-build.outputs.build_time }}
109108 stage : ${{ needs.prepare-build.outputs.stage }}
109+ timeout : ${{ inputs.timeout }}
110110 secrets : inherit
111111 build-workspace :
112112 needs : prepare-build
113- timeout-minutes : ${{ fromJSON(github.event.inputs.timeout) }}
114113 if : ${{ needs.prepare-build.outputs.create_workspace == 'true' && needs.prepare-build.outputs.components != '[]' && needs.prepare-build.outputs.components != ''}}
115114 strategy :
116115 fail-fast : true
@@ -123,6 +122,7 @@ jobs:
123122 image_tag2 : ${{ needs.prepare-build.outputs.image_tag2 }}
124123 build_time : ${{ needs.prepare-build.outputs.build_time }}
125124 stage : ${{ needs.prepare-build.outputs.stage }}
125+ timeout : ${{ inputs.timeout }}
126126 secrets : inherit
127127 post-build :
128128 needs : [prepare-build, build-single, build-workspace]
Original file line number Diff line number Diff line change 4444 description : " stage for the image (develop or production) depending on the branch name"
4545 required : true
4646 type : string
47+ timeout :
48+ description : " Timeout in minutes for each job"
49+ type : string
50+ default : 30
4751env :
4852 TIME_ZONE : " Europe/Vienna"
4953 NODE_VERSION : " 16.16"
@@ -60,6 +64,7 @@ permissions:
6064jobs :
6165 build-components :
6266 runs-on : ubuntu-20.04
67+ timeout-minutes : ${{ fromJSON(github.event.inputs.timeout) }}
6368 steps :
6469 # checkout specific repository
6570 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 4444 description : " stage for the image (develop or production) depending on the branch name"
4545 required : true
4646 type : string
47+ timeout :
48+ description : " Timeout in minutes for each job"
49+ type : string
50+ default : 30
4751env :
4852 VISYN_SCRIPTS_VERSION : " develop"
4953 TIME_ZONE : " Europe/Vienna"
@@ -61,6 +65,7 @@ permissions:
6165jobs :
6266 build-components :
6367 runs-on : ubuntu-20.04
68+ timeout-minutes : ${{ fromJSON(github.event.inputs.timeout) }}
6469 steps :
6570 # checkout specific repository
6671 - uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments