From 39193cce71a8dfa81e89a369f824063766d04dba Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 27 Sep 2019 15:53:07 -0500 Subject: [PATCH] fix indentation in yaml --- azure-pipelines.api.yaml | 48 ++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/azure-pipelines.api.yaml b/azure-pipelines.api.yaml index 7bee8c6a3..e6526a1e4 100644 --- a/azure-pipelines.api.yaml +++ b/azure-pipelines.api.yaml @@ -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