From 7bdca5690d60adb63d8c1750fd1f5adc8d77b98e Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Mon, 8 Jun 2026 18:20:35 -0700 Subject: [PATCH] only build certbot --- .github/workflows/snap_packaging_jobs.yml | 114 +++++++++++----------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/snap_packaging_jobs.yml b/.github/workflows/snap_packaging_jobs.yml index d9f229af0..c20ea1228 100644 --- a/.github/workflows/snap_packaging_jobs.yml +++ b/.github/workflows/snap_packaging_jobs.yml @@ -90,11 +90,11 @@ jobs: - ubuntu-24.04 env: SNAP_ARCH: "armhf" - needs: generate_dns_list_matrix + # needs: generate_dns_list_matrix strategy: fail-fast: false matrix: - target: ${{ fromJSON(needs.generate_dns_list_matrix.outputs.dns-dirs) }} + # target: ${{ fromJSON(needs.generate_dns_list_matrix.outputs.dns-dirs) }} include: - target: certbot steps: @@ -182,58 +182,58 @@ jobs: - name: Run tox run: |- venv/bin/python -m tox run -e integration-external,apacheconftest-external-with-pebble - snap_dns_run: - name: Test DNS ${{ matrix.arch-name }} - needs: - # - gha_build_dns_snaps - # - gha_build_snap - - launchpad_build_all - runs-on: - - ${{ matrix.run-on }} - strategy: - fail-fast: false - matrix: - include: - # - arch-name: arm64 - # run-on: ubuntu-24.04-arm - # - arch-name: amd64 - # run-on: ubuntu-24.04 - - arch-name: armhf # temporarily turned off due to github's migration - run-on: ubuntu-24.04-arm - steps: - - name: checkout - uses: actions/checkout@v6.0.2 - with: - persist-credentials: false - - name: Install armhf dependencies - if: ${{ matrix.arch-name == 'armhf' }} - run: |- - sudo dpkg --add-architecture armhf - sudo apt-get update - # apparmor will conflict with snapd:armhf dependency if not removed first - sudo apt-get remove -y apparmor - sudo apt-get install -y --no-install-recommends fuse3:armhf snapd:armhf - - name: Install non-armhf depdencies - if: ${{ matrix.arch-name != 'armhf' }} - run: |- - sudo apt-get update - sudo apt-get install -y --no-install-recommends snapd - - uses: actions/setup-python@v6.2.0 - with: - python-version: '3.12' - - name: Retrieve snaps - if: ${{ matrix.arch-name != 'armhf' }} - uses: actions/download-artifact@v8.0.1 - with: - pattern: snap-*-${{ matrix.arch-name }} - merge-multiple: true - path: "${{ github.workspace }}/snap" - - name: Display structure of downloaded files - run: ls -R "${{ github.workspace }}/snap" - - name: Prepare Certbot-CI - run: |- - python3 -m venv venv - venv/bin/python tools/pip_install.py -e certbot-ci - - name: Test DNS plugins snaps - run: |- - sudo -E venv/bin/pytest certbot-ci/src/snap_integration_tests/dns_tests --allow-persistent-changes --snap-folder ${{ github.workspace }}/snap --snap-arch ${{ matrix.arch-name }} + # snap_dns_run: + # name: Test DNS ${{ matrix.arch-name }} + # needs: + # # - gha_build_dns_snaps + # # - gha_build_snap + # - launchpad_build_all + # runs-on: + # - ${{ matrix.run-on }} + # strategy: + # fail-fast: false + # matrix: + # include: + # # - arch-name: arm64 + # # run-on: ubuntu-24.04-arm + # # - arch-name: amd64 + # # run-on: ubuntu-24.04 + # - arch-name: armhf # temporarily turned off due to github's migration + # run-on: ubuntu-24.04-arm + # steps: + # - name: checkout + # uses: actions/checkout@v6.0.2 + # with: + # persist-credentials: false + # - name: Install armhf dependencies + # if: ${{ matrix.arch-name == 'armhf' }} + # run: |- + # sudo dpkg --add-architecture armhf + # sudo apt-get update + # # apparmor will conflict with snapd:armhf dependency if not removed first + # sudo apt-get remove -y apparmor + # sudo apt-get install -y --no-install-recommends fuse3:armhf snapd:armhf + # - name: Install non-armhf depdencies + # if: ${{ matrix.arch-name != 'armhf' }} + # run: |- + # sudo apt-get update + # sudo apt-get install -y --no-install-recommends snapd + # - uses: actions/setup-python@v6.2.0 + # with: + # python-version: '3.12' + # - name: Retrieve snaps + # if: ${{ matrix.arch-name != 'armhf' }} + # uses: actions/download-artifact@v8.0.1 + # with: + # pattern: snap-*-${{ matrix.arch-name }} + # merge-multiple: true + # path: "${{ github.workspace }}/snap" + # - name: Display structure of downloaded files + # run: ls -R "${{ github.workspace }}/snap" + # - name: Prepare Certbot-CI + # run: |- + # python3 -m venv venv + # venv/bin/python tools/pip_install.py -e certbot-ci + # - name: Test DNS plugins snaps + # run: |- + # sudo -E venv/bin/pytest certbot-ci/src/snap_integration_tests/dns_tests --allow-persistent-changes --snap-folder ${{ github.workspace }}/snap --snap-arch ${{ matrix.arch-name }}