From 90fbdf4186856e72321a9af2cdafeaf0364d7d23 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Fri, 26 Jun 2020 21:10:26 +0200 Subject: [PATCH] Multi snap push --- .azure-pipelines/templates/jobs/deployment-jobs.yml | 10 +++++++++- .azure-pipelines/templates/jobs/packaging-jobs.yml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/templates/jobs/deployment-jobs.yml b/.azure-pipelines/templates/jobs/deployment-jobs.yml index d0bd6e655..d6fd7d8c8 100644 --- a/.azure-pipelines/templates/jobs/deployment-jobs.yml +++ b/.azure-pipelines/templates/jobs/deployment-jobs.yml @@ -1,5 +1,13 @@ jobs: - job: publish_snap + strategy: + matrix: + amd64: + ARCH: amd64 + arm64: + ARCH: arm64 + armhf: + ARCH: armhf pool: vmImage: ubuntu-18.04 variables: @@ -12,7 +20,7 @@ jobs: displayName: Install dependencies - task: DownloadPipelineArtifact@2 inputs: - artifact: snap + artifact: snap-$(arch) path: $(Build.SourcesDirectory)/snap displayName: Retrieve Certbot snap - task: DownloadSecureFile@1 diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index 18fae075a..d192f1968 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -78,7 +78,7 @@ jobs: inputs: path: $(Build.ArtifactStagingDirectory) artifact: snap-$(arch) - displayName: Publish Snap + displayName: Store snap artifact - job: snap_run dependsOn: snap_build pool: