From 0965baa55f7033df9ee49659edb8c5198b8da1e0 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Thu, 16 May 2019 18:25:13 -0400 Subject: [PATCH] Add Azure Pipelines CI --- azure-pipelines.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 azure-pipelines.yaml diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml new file mode 100644 index 00000000..4b5d714f --- /dev/null +++ b/azure-pipelines.yaml @@ -0,0 +1,13 @@ +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' + +steps: +- script: docker build --target=builder . + displayName: 'Run tests' + +- script: DOCKER_PASSWORD="$(docker_password)" tools/cd.sh "azdo-$(Build.BuildId)" + displayName: 'Push docker image' + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['docker_password'], ''))