fix indentation in yaml

This commit is contained in:
Collin M. Barrett 2019-09-27 15:53:07 -05:00
parent dc9b7ccc26
commit 39193cce71

View file

@ -63,65 +63,65 @@ steps:
dockerComposeCommand: "up -d mariadb"
- task: DockerCompose@0
displayName: 'run test-data'
displayName: "run test-data"
inputs:
dockerComposeFile: 'docker-compose.data.tests.yml'
dockerComposeCommand: 'run api'
dockerComposeFile: "docker-compose.data.tests.yml"
dockerComposeCommand: "run api"
- task: DockerCompose@0
displayName: 'run test-services'
displayName: "run test-services"
inputs:
dockerComposeFile: 'docker-compose.services.tests.yml'
dockerComposeCommand: 'run api'
dockerComposeFile: "docker-compose.services.tests.yml"
dockerComposeCommand: "run api"
- task: Docker@2
displayName: 'create container test-data-results'
displayName: "create container test-data-results"
inputs:
command: container
arguments: 'create --name test-data-results -v test-data-results:/results hello-world'
arguments: "create --name test-data-results -v test-data-results:/results hello-world"
condition: succeededOrFailed()
- task: Docker@2
displayName: 'copy out test-data results'
displayName: "copy out test-data results"
inputs:
command: cp
arguments: 'test-data-results:/results $(System.DefaultWorkingDirectory)'
arguments: "test-data-results:/results $(System.DefaultWorkingDirectory)"
condition: succeededOrFailed()
- task: Docker@2
displayName: 'create container test-services-results'
displayName: "create container test-services-results"
inputs:
command: container
arguments: 'create --name test-services-results -v test-services-results:/results hello-world'
arguments: "create --name test-services-results -v test-services-results:/results hello-world"
condition: succeededOrFailed()
- task: Docker@2
displayName: 'copy out test-services results'
displayName: "copy out test-services results"
inputs:
command: cp
arguments: 'test-services-results:/results $(System.DefaultWorkingDirectory)'
arguments: "test-services-results:/results $(System.DefaultWorkingDirectory)"
condition: succeededOrFailed()
- task: PublishTestResults@2
displayName: 'publish test results'
displayName: "publish test results"
inputs:
testResultsFormat: VSTest
testResultsFiles: '**/*.trx'
testResultsFiles: "**/*.trx"
condition: succeededOrFailed()
- task: DockerCompose@0
displayName: 'build final'
displayName: "build final"
inputs:
dockerComposeFile: 'docker-compose.yml'
additionalDockerComposeFiles: 'docker-compose.prod.yml'
dockerComposeCommand: 'build api'
dockerComposeFile: "docker-compose.yml"
additionalDockerComposeFiles: "docker-compose.prod.yml"
dockerComposeCommand: "build api"
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
- task: Docker@2
displayName: 'tag build number'
displayName: "tag build number"
inputs:
command: tag
arguments: 'collinbarrett2/filterlists.api:latest collinbarrett2/filterlists.api:$(Build.BuildId)'
arguments: "collinbarrett2/filterlists.api:latest collinbarrett2/filterlists.api:$(Build.BuildId)"
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
- task: Docker@2
@ -130,8 +130,8 @@ steps:
repository: collinbarrett2/filterlists.api
command: push
tags: |
$(Build.BuildId)
latest
$(Build.BuildId)
latest
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
- task: CopyFiles@2