ci(azure-pipelines): add job timeout param
This commit is contained in:
parent
53226e6c6f
commit
3416942591
@ -14,6 +14,9 @@ parameters:
|
||||
- name: servicePool
|
||||
type: string
|
||||
default: 'Prod Private Agent Pool'
|
||||
- name: serviceTimeout
|
||||
type: number
|
||||
default: 60
|
||||
# extraBuildOptions: ''
|
||||
- name: serviceArtifacts
|
||||
type: string
|
||||
@ -31,6 +34,7 @@ jobs:
|
||||
displayName: Build ${{parameters.serviceName}} image
|
||||
condition: or(eq(variables.forcePushLatest, true), eq(variables.onMasterBranch, true), eq(variables.onUpdateBranch, true))
|
||||
pool: '${{ parameters.servicePool }}'
|
||||
timeoutInMinutes: ${{ parameters.serviceTimeout }}
|
||||
container:
|
||||
image: devfra.azurecr.io/de.fraport.build/tools:1.1.0
|
||||
endpoint: devfra
|
||||
|
||||
@ -13,6 +13,7 @@ parameters:
|
||||
# extraBuildOptions: |
|
||||
# --build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/
|
||||
pool: 'Prod Private Agent Pool'
|
||||
timeout: 60
|
||||
artifacts: |
|
||||
assets/icons
|
||||
assets/favicons
|
||||
@ -25,6 +26,7 @@ parameters:
|
||||
image: devfra.azurecr.io/de.fraport.build/haskell
|
||||
tag: 8.10.4
|
||||
pool: 'Prod Private Agent Pool DS3'
|
||||
timeout: 1440
|
||||
dependencies: []
|
||||
artifacts: |
|
||||
.stack/
|
||||
@ -44,4 +46,5 @@ jobs:
|
||||
serviceName: ${{ service.name }}
|
||||
serviceBase: ${{ service.base }}
|
||||
servicePool: ${{ service.pool }}
|
||||
serviceTimeout: ${{ service.timeout }}
|
||||
serviceArtifacts: ${{ service.artifacts }}
|
||||
Loading…
Reference in New Issue
Block a user