ci: fix level of stages on build jobs

This commit is contained in:
Jens Langhammer 2020-05-28 21:00:30 +02:00
parent 7e52711e3a
commit 7e7ea47f39
1 changed files with 33 additions and 33 deletions

View File

@ -147,42 +147,42 @@ stages:
- job: build_server - job: build_server
pool: pool:
vmImage: 'ubuntu-latest' vmImage: 'ubuntu-latest'
steps: steps:
- task: Docker@2 - task: Docker@2
inputs: inputs:
containerRegistry: 'dockerhub' containerRegistry: 'dockerhub'
repository: 'beryju/passbook' repository: 'beryju/passbook'
command: 'buildAndPush' command: 'buildAndPush'
Dockerfile: 'Dockerfile' Dockerfile: 'Dockerfile'
tags: '$(Build.SourceBranchName)' tags: '$(Build.SourceBranchName)'
- job: build_gatekeeper - job: build_gatekeeper
pool: pool:
vmImage: 'ubuntu-latest' vmImage: 'ubuntu-latest'
steps: steps:
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
script: cd gatekeeper script: cd gatekeeper
- task: Docker@2 - task: Docker@2
inputs: inputs:
containerRegistry: 'dockerhub' containerRegistry: 'dockerhub'
repository: 'beryju/passbook-gatekeeper' repository: 'beryju/passbook-gatekeeper'
command: 'buildAndPush' command: 'buildAndPush'
Dockerfile: 'Dockerfile' Dockerfile: 'Dockerfile'
tags: '$(Build.SourceBranchName)' tags: '$(Build.SourceBranchName)'
- job: build_static - job: build_static
pool: pool:
vmImage: 'ubuntu-latest' vmImage: 'ubuntu-latest'
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Run services displayName: Run services
inputs: inputs:
dockerComposeFile: 'scripts/docker-compose.yml' dockerComposeFile: 'scripts/docker-compose.yml'
action: 'Run services' action: 'Run services'
buildImages: false buildImages: false
- task: Docker@2 - task: Docker@2
inputs: inputs:
containerRegistry: 'dockerhub' containerRegistry: 'dockerhub'
repository: 'beryju/passbook-static' repository: 'beryju/passbook-static'
command: 'buildAndPush' command: 'buildAndPush'
Dockerfile: 'Dockerfile' Dockerfile: 'Dockerfile'
tags: '$(Build.SourceBranchName)' tags: '$(Build.SourceBranchName)'