mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 07:39:52 +02:00
only build certbot
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user