From f285198b71a9654d57565ae1bc22f5aa38a2cf28 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 15 Nov 2022 12:31:00 -0800 Subject: [PATCH] add file --- .azure-pipelines/test-release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .azure-pipelines/test-release.yml diff --git a/.azure-pipelines/test-release.yml b/.azure-pipelines/test-release.yml new file mode 100644 index 000000000..7abf7918d --- /dev/null +++ b/.azure-pipelines/test-release.yml @@ -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