This commit is contained in:
Brad Warren 2022-11-15 12:31:00 -08:00
parent c1a7d46f03
commit f285198b71

View file

@ -0,0 +1,22 @@
# Release pipeline to run our full test suite, build artifacts, and deploy them
# for GitHub release tags.
trigger: none
pr: none
variables:
dockerTag: "v3"
snapBuildTimeout: 5400
stages:
- template: templates/stages/test-and-package-stage.yml
- template: templates/stages/changelog-stage.yml
- template: templates/stages/deploy-stage.yml
parameters:
${{ if startsWith(variables['dockerTag'], 'v2') }}:
snapReleaseChannel: beta
${{ elseif startsWith(variables['dockerTag'], 'v1') }}:
snapReleaseChannel: candidate
${{ else }}:
# This should never happen
snapReleaseChannel: somethingInvalid
- template: templates/stages/notify-failure-stage.yml