From 9c4903dad92c98a6e4b97c4681e799b68b25331a Mon Sep 17 00:00:00 2001 From: Will Greenberg Date: Mon, 22 Aug 2022 15:15:54 -0700 Subject: [PATCH] wip --- .../templates/jobs/packaging-jobs.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index 5545e559d..12d785a77 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -115,18 +115,21 @@ jobs: venv\Scripts\python -m pytest certbot-ci\certbot_integration_tests\certbot_tests -n 4 displayName: Run certbot integration tests - job: snaps_build + parameters: + snaps: ["certbot", "certbot-dns-cloudflare"] pool: vmImage: ubuntu-18.04 strategy: matrix: - amd64: - SNAP_ARCH: amd64 - # Do not run the heavy non-amd64 builds for test branches - ${{ if not(startsWith(variables['Build.SourceBranchName'], 'test-')) }}: - armhf: - SNAP_ARCH: armhf - arm64: - SNAP_ARCH: arm64 + ${{ each snap in parameters.snaps }} + ${{ format('{0}-amd64', snap }}: + SNAP_ARCH: amd64 + # Do not run the heavy non-amd64 builds for test branches + ${{ if not(startsWith(variables['Build.SourceBranchName'], 'test-')) }}: + ${{ format('{0}-armhf', snap }}: + SNAP_ARCH: armhf + ${{ format('{0}-arm64', snap }}: + SNAP_ARCH: arm64 timeoutInMinutes: 0 steps: - script: |