mirror of
https://github.com/certbot/certbot.git
synced 2026-06-13 10:40:10 -04:00
armhf only
This commit is contained in:
parent
2a842d8dd5
commit
8865929b99
2 changed files with 85 additions and 85 deletions
34
.github/workflows/full_test_suite.yml
vendored
34
.github/workflows/full_test_suite.yml
vendored
|
|
@ -13,23 +13,23 @@ permissions:
|
|||
jobs:
|
||||
# These four jobs could be grouped in a separate workflow, but the github actions UI
|
||||
# is much nicer if they are instead listed explicitly here.
|
||||
standard_tests_jobs:
|
||||
name: Standard tests
|
||||
uses: "./.github/workflows/standard_tests_jobs.yml"
|
||||
extended_tests_jobs:
|
||||
name: Extended tests
|
||||
uses: "./.github/workflows/extended_tests_jobs.yml"
|
||||
secrets:
|
||||
AWS_TEST_FARM_PEM: "${{ secrets.AWS_TEST_FARM_PEM }}"
|
||||
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
|
||||
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
|
||||
docker_packaging_jobs:
|
||||
name: Docker packaging
|
||||
uses: "./.github/workflows/docker_packaging_jobs.yml"
|
||||
with:
|
||||
# We don't publish our Docker images in this pipeline, but when building them
|
||||
# for testing, let's use the nightly tag.
|
||||
dockerTag: nightly
|
||||
# standard_tests_jobs:
|
||||
# name: Standard tests
|
||||
# uses: "./.github/workflows/standard_tests_jobs.yml"
|
||||
# extended_tests_jobs:
|
||||
# name: Extended tests
|
||||
# uses: "./.github/workflows/extended_tests_jobs.yml"
|
||||
# secrets:
|
||||
# AWS_TEST_FARM_PEM: "${{ secrets.AWS_TEST_FARM_PEM }}"
|
||||
# AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
|
||||
# AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
|
||||
# docker_packaging_jobs:
|
||||
# name: Docker packaging
|
||||
# uses: "./.github/workflows/docker_packaging_jobs.yml"
|
||||
# with:
|
||||
# # We don't publish our Docker images in this pipeline, but when building them
|
||||
# # for testing, let's use the nightly tag.
|
||||
# dockerTag: nightly
|
||||
snap_packaging_jobs:
|
||||
name: Snap packaging
|
||||
uses: "./.github/workflows/snap_packaging_jobs.yml"
|
||||
|
|
|
|||
136
.github/workflows/snap_packaging_jobs.yml
vendored
136
.github/workflows/snap_packaging_jobs.yml
vendored
|
|
@ -16,31 +16,31 @@ env:
|
|||
SNAP_BUILD_TIMEOUT: ${{ inputs.snapBuildTimeout }}
|
||||
|
||||
jobs:
|
||||
gha_build_snap:
|
||||
name: Build certbot ${{ matrix.build-for }}
|
||||
runs-on: ${{ matrix.build-on }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- build-for: arm64
|
||||
build-on: ubuntu-24.04-arm
|
||||
- build-for: amd64
|
||||
build-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: snapcore/action-build@v1.3.0
|
||||
id: build
|
||||
with:
|
||||
snapcraft-args: "--build-for=${{ matrix.build-for }}"
|
||||
- name: Store snap artifact
|
||||
uses: actions/upload-artifact@v7.0.0
|
||||
with:
|
||||
name: snap-certbot-${{ matrix.build-for }}
|
||||
path: ${{ steps.build.outputs.snap }}
|
||||
# gha_build_snap:
|
||||
# name: Build certbot ${{ matrix.build-for }}
|
||||
# runs-on: ${{ matrix.build-on }}
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# include:
|
||||
# - build-for: arm64
|
||||
# build-on: ubuntu-24.04-arm
|
||||
# - build-for: amd64
|
||||
# build-on: ubuntu-24.04
|
||||
# steps:
|
||||
# - name: checkout
|
||||
# uses: actions/checkout@v6.0.2
|
||||
# with:
|
||||
# persist-credentials: false
|
||||
# - uses: snapcore/action-build@v1.3.0
|
||||
# id: build
|
||||
# with:
|
||||
# snapcraft-args: "--build-for=${{ matrix.build-for }}"
|
||||
# - name: Store snap artifact
|
||||
# uses: actions/upload-artifact@v7.0.0
|
||||
# with:
|
||||
# name: snap-certbot-${{ matrix.build-for }}
|
||||
# path: ${{ steps.build.outputs.snap }}
|
||||
generate_dns_list_matrix:
|
||||
name: List DNS package names
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -55,38 +55,38 @@ jobs:
|
|||
run: |
|
||||
DNS_NAMES="$(echo certbot-dns-* | jq -R -s -c 'split(" ")[:-1]')"
|
||||
echo "dns-dirs=$DNS_NAMES" >> "$GITHUB_OUTPUT"
|
||||
gha_build_dns_snaps:
|
||||
name: Build ${{ matrix.dns-dir }} ${{ matrix.build-for }}
|
||||
needs: generate_dns_list_matrix
|
||||
runs-on: ${{ matrix.build-on }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
dns-dir: ${{ fromJSON(needs.generate_dns_list_matrix.outputs.dns-dirs) }}
|
||||
build-for: [arm64, amd64]
|
||||
include:
|
||||
- build-for: arm64
|
||||
build-on: ubuntu-24.04-arm
|
||||
- build-for: amd64
|
||||
build-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: generate dns snapcraft.yamls
|
||||
run: |
|
||||
tools/snap/generate_dnsplugins_all.sh # unnecessarily doing every file
|
||||
- uses: snapcore/action-build@v1.3.0
|
||||
id: build
|
||||
with:
|
||||
snapcraft-args: "--build-for=${{ matrix.build-for }}"
|
||||
path: ${{ matrix.dns-dir }}
|
||||
- name: Store snap artifact
|
||||
uses: actions/upload-artifact@v7.0.0
|
||||
with:
|
||||
name: snap-${{ matrix.dns-dir }}-${{ matrix.build-for }}
|
||||
path: ${{ steps.build.outputs.snap }}
|
||||
# gha_build_dns_snaps:
|
||||
# name: Build ${{ matrix.dns-dir }} ${{ matrix.build-for }}
|
||||
# needs: generate_dns_list_matrix
|
||||
# runs-on: ${{ matrix.build-on }}
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# dns-dir: ${{ fromJSON(needs.generate_dns_list_matrix.outputs.dns-dirs) }}
|
||||
# build-for: [arm64, amd64]
|
||||
# include:
|
||||
# - build-for: arm64
|
||||
# build-on: ubuntu-24.04-arm
|
||||
# - build-for: amd64
|
||||
# build-on: ubuntu-24.04
|
||||
# steps:
|
||||
# - name: checkout
|
||||
# uses: actions/checkout@v6.0.2
|
||||
# with:
|
||||
# persist-credentials: false
|
||||
# - name: generate dns snapcraft.yamls
|
||||
# run: |
|
||||
# tools/snap/generate_dnsplugins_all.sh # unnecessarily doing every file
|
||||
# - uses: snapcore/action-build@v1.3.0
|
||||
# id: build
|
||||
# with:
|
||||
# snapcraft-args: "--build-for=${{ matrix.build-for }}"
|
||||
# path: ${{ matrix.dns-dir }}
|
||||
# - name: Store snap artifact
|
||||
# uses: actions/upload-artifact@v7.0.0
|
||||
# with:
|
||||
# name: snap-${{ matrix.dns-dir }}-${{ matrix.build-for }}
|
||||
# path: ${{ steps.build.outputs.snap }}
|
||||
launchpad_build_all:
|
||||
name: Build armhf snaps
|
||||
runs-on:
|
||||
|
|
@ -128,7 +128,7 @@ jobs:
|
|||
snap_run:
|
||||
name: Test certbot ${{ matrix.arch-name }}
|
||||
needs:
|
||||
- gha_build_snap
|
||||
# - gha_build_snap
|
||||
- launchpad_build_all
|
||||
runs-on:
|
||||
- ${{ matrix.run-on }}
|
||||
|
|
@ -136,10 +136,10 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- arch-name: arm64
|
||||
run-on: ubuntu-24.04-arm
|
||||
- arch-name: amd64
|
||||
run-on: ubuntu-24.04
|
||||
# - arch-name: arm64
|
||||
# run-on: ubuntu-24.04-arm
|
||||
# - arch-name: amd64
|
||||
# run-on: ubuntu-24.04
|
||||
- arch-name: armhf
|
||||
run-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
|
|
@ -188,8 +188,8 @@ jobs:
|
|||
snap_dns_run:
|
||||
name: Test DNS ${{ matrix.arch-name }}
|
||||
needs:
|
||||
- gha_build_dns_snaps
|
||||
- gha_build_snap
|
||||
# - gha_build_dns_snaps
|
||||
# - gha_build_snap
|
||||
- launchpad_build_all
|
||||
runs-on:
|
||||
- ${{ matrix.run-on }}
|
||||
|
|
@ -197,10 +197,10 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- arch-name: arm64
|
||||
run-on: ubuntu-24.04-arm
|
||||
- arch-name: amd64
|
||||
run-on: ubuntu-24.04
|
||||
# - arch-name: arm64
|
||||
# run-on: ubuntu-24.04-arm
|
||||
# - arch-name: amd64
|
||||
# run-on: ubuntu-24.04
|
||||
- arch-name: armhf
|
||||
run-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue