Skip to content

Commit

Permalink
add goreleaser test to ci/cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller committed Apr 11, 2020
1 parent eea80a6 commit a696803
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a696803

Please sign in to comment.