From 1eb86c5a8e458474019ec0828cbfe53e995bd7d1 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sun, 27 Jan 2019 20:15:16 -0600 Subject: [PATCH] cp visual designer build to yaml --- ops/azure-pipelines.yml | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/ops/azure-pipelines.yml b/ops/azure-pipelines.yml index c60e32985..73fbd3b5b 100644 --- a/ops/azure-pipelines.yml +++ b/ops/azure-pipelines.yml @@ -1,17 +1,28 @@ trigger: - - docker-devops - + - docker-devops +resources: + - + repo: self + clean: true pool: - vmImage: "Ubuntu-16.04" - -variables: - buildConfiguration: "Release" - imageName: "FilterLists:$(Build.BuildId)" - + vmImage: 'Hosted Ubuntu 1604' steps: - - script: | - docker-compose build - docker login -u $(dockerId) -p $pswd - docker-compose push --ignore-push-failures - env: - pswd: $(dockerPassword) + - + task: DockerCompose@0 + displayName: build + inputs: + containerregistrytype: 'Container Registry' + dockerRegistryEndpoint: 'Docker Hub - collinbarrett' + dockerComposeFile: docker-compose.yml + dockerComposeCommand: build + - + task: DockerCompose@0 + displayName: push + inputs: + containerregistrytype: 'Container Registry' + dockerRegistryEndpoint: 'Docker Hub - collinbarrett' + dockerComposeFile: docker-compose.yml + dockerComposeCommand: 'push --ignore-push-failures' + - + task: PublishBuildArtifacts@1 + displayName: publish