From a69680364f20db252a54f5927e8134e930c87d1d Mon Sep 17 00:00:00 2001 From: joe miller Date: Fri, 10 Apr 2020 17:38:07 -0700 Subject: [PATCH] add goreleaser test to ci/cd pipeline --- azure-pipelines.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9dad61a..86403f1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ pr: # run pipeline on PRs resources: containers: - container: linux - image: golang:1.12 + image: golang:1.14 # XXX: hack to install sudo inside the docker container - https://github.com/Microsoft/azure-pipelines-agent/issues/2043 options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro" @@ -66,6 +66,15 @@ stages: CI: "true" displayName: make test + - stage: release_test + jobs: + - job: release_test + pool: + vmImage: 'ubuntu-16.04' # this is the only pool image that can run linux containers - https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops&tabs=yaml + steps: + - script: make snapshot + displayName: make snapshot + - stage: release jobs: - job: release