Skip to content

Commit

Permalink
CI: switch to release bookworm URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Oct 11, 2023
1 parent b09a84b commit d0c4bb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,9 @@ jobs:
- name: Test installing app on bookworm armhf
uses: theofficialgman/arm-runner-action@v12
with:
base_image: ${{ secrets.RPIOS_BOOKWORM_ARMHF_URL }}
base_image: https://downloads.raspberrypi.com/raspios_armhf/images/raspios_armhf-2023-10-10/2023-10-10-raspios-bookworm-armhf.img.xz
bind_mount_repository: yes
image_additional_mb: 5000
# disable image caching to not leak the URL
enable_image_caching: no
cpu: cortex-a7:cortex-a72
cpu_info: cpuinfo/raspberrypi_4b
copy_repository_path: /home/runner/pi-apps
Expand Down Expand Up @@ -188,11 +186,9 @@ jobs:
- name: Test installing app on bookworm arm64
uses: theofficialgman/arm-runner-action@v12
with:
base_image: ${{ secrets.RPIOS_BOOKWORM_URL }}
base_image: https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2023-10-10/2023-10-10-raspios-bookworm-arm64.img.xz
bind_mount_repository: yes
image_additional_mb: 5000
# disable image caching to not leak the URL
enable_image_caching: no
cpu: cortex-a7:cortex-a72
cpu_info: cpuinfo/raspberrypi_4b
copy_repository_path: /home/runner/pi-apps
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/update_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ jobs:
cache: yes
- os: bookworm
arch: armhf
image: RPIOS_BOOKWORM_ARMHF_URL
cache: no
image: https://downloads.raspberrypi.com/raspios_armhf/images/raspios_armhf-2023-10-10/2023-10-10-raspios-bookworm-armhf.img.xz
cache: yes
- os: bookworm
arch: arm64
image: RPIOS_BOOKWORM_URL
cache: no
image: https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2023-10-10/2023-10-10-raspios-bookworm-arm64.img.xz
cache: yes
name: Testing on ${{ matrix.os }} - ${{ matrix.arch }}
outputs:
FAILED_UPDATE_APPS_buster_armhf: ${{ steps.failed.outputs.FAILED_UPDATE_APPS_buster_armhf || '' }}
Expand Down Expand Up @@ -175,14 +175,14 @@ jobs:
cd $GITHUB_WORKSPACE
- name: Replace secret reference with contents
if: ${{ matrix.image == 'RPIOS_BOOKWORM_URL' || matrix.image == 'RPIOS_BOOKWORM_ARMHF_URL' }}
if: ${{ matrix.image == 'RPIOS_TRIXIE_URL' || matrix.image == 'RPIOS_TRIXIE_ARMHF_URL' }}
run: |
image_url=${{ secrets[matrix.image] }}
echo "::add-mask::$image_url"
echo "image_url=$image_url" >> "$GITHUB_ENV"
- name: Replace non-secret reference with contents
if: ${{ matrix.image != 'RPIOS_BOOKWORM_URL' && matrix.image != 'RPIOS_BOOKWORM_ARMHF_URL' }}
if: ${{ matrix.image != 'RPIOS_TRIXIE_URL' && matrix.image != 'RPIOS_TRIXIE_ARMHF_URL' }}
run: |
image_url=${{ matrix.image }}
echo "image_url=$image_url" >> "$GITHUB_ENV"
Expand Down

0 comments on commit d0c4bb9

Please sign in to comment.