ci(azure-pipelines): move variables decl to main yaml
This commit is contained in:
parent
3122a36ac8
commit
60626cd841
@ -11,11 +11,6 @@ parameters:
|
|||||||
baseImageTag: baseImageTag
|
baseImageTag: baseImageTag
|
||||||
extraBuildOptions: '\'
|
extraBuildOptions: '\'
|
||||||
|
|
||||||
variables:
|
|
||||||
imageUpstream: devfra.azurecr.io/de.fraport.fradrive.build
|
|
||||||
onMasterBranch: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
|
|
||||||
onUpdateBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/update')]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: ImageBuild_${{parameters.service.name}}
|
- job: ImageBuild_${{parameters.service.name}}
|
||||||
displayName: Build ${{parameters.service.name}} image
|
displayName: Build ${{parameters.service.name}} image
|
||||||
|
|||||||
@ -12,6 +12,11 @@ parameters:
|
|||||||
extraBuildOptions: |
|
extraBuildOptions: |
|
||||||
--build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/ \
|
--build-arg NPM_CUSTOM_REGISTRY=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/ \
|
||||||
|
|
||||||
|
variables:
|
||||||
|
imageUpstream: devfra.azurecr.io/de.fraport.fradrive.build
|
||||||
|
onMasterBranch: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
|
||||||
|
onUpdateBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/update')]
|
||||||
|
|
||||||
pool: 'Prod Private Agent Pool'
|
pool: 'Prod Private Agent Pool'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user