From 1b2d677a9491e92996fdd4a8e887e19908bde8ee Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sun, 30 Aug 2020 15:24:04 -0500 Subject: [PATCH] =?UTF-8?q?feat(reverse-proxy):=20=E2=9C=A8=20port=20forwa?= =?UTF-8?q?rd=20pipeline=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reverse-proxy/azure-pipelines.yaml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 reverse-proxy/azure-pipelines.yaml diff --git a/reverse-proxy/azure-pipelines.yaml b/reverse-proxy/azure-pipelines.yaml new file mode 100644 index 000000000..a0abdecd8 --- /dev/null +++ b/reverse-proxy/azure-pipelines.yaml @@ -0,0 +1,33 @@ +trigger: + batch: false + branches: + include: [master] + paths: + include: [reverse-proxy/*, docker-compose.yml, docker-compose.prod.yml] + +pr: none + +pool: + vmImage: ubuntu-latest + +steps: + - task: CopyFiles@2 + displayName: stage files + inputs: + SourceFolder: $(Build.SourcesDirectory) + Contents: | + reverse-proxy/* + docker-compose.yml + docker-compose.prod.yml + TargetFolder: $(Build.ArtifactStagingDirectory) + CleanTargetFolder: true + OverWrite: true + condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') + + - task: PublishBuildArtifacts@1 + displayName: publish files + inputs: + PathtoPublish: $(Build.ArtifactStagingDirectory) + ArtifactName: drop + publishLocation: Container + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))