From 3ec365ef3fb95530fef094e36fc02d5ceef0adfc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 07:54:23 -0800 Subject: [PATCH 1/4] chore(deps): bump hhd-dev/rechunk from 0.8.6 to 1.0.1 (#1857) Bumps [hhd-dev/rechunk](https://github.com/hhd-dev/rechunk) from 0.8.6 to 1.0.1. - [Release notes](https://github.com/hhd-dev/rechunk/releases) - [Changelog](https://github.com/hhd-dev/rechunk/blob/master/example_changelog.md) - [Commits](https://github.com/hhd-dev/rechunk/compare/v0.8.6...v1.0.1) --- updated-dependencies: - dependency-name: hhd-dev/rechunk dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 484ab7b1..bfb01ed8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -271,7 +271,7 @@ jobs: # Reprocess raw-img using rechunker which will delete it - name: Run Rechunker id: rechunk - uses: hhd-dev/rechunk@v0.8.6 + uses: hhd-dev/rechunk@v1.0.1 with: rechunk: 'ghcr.io/hhd-dev/rechunk:v0.8.3' ref: 'raw-img' From 6b9476d36926f90c79f39cc6b7a26f2b9083a4c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 07:54:32 -0800 Subject: [PATCH 2/4] chore(deps): bump Wandalen/wretry.action from 3.5.0 to 3.7.0 (#1856) Bumps [Wandalen/wretry.action](https://github.com/wandalen/wretry.action) from 3.5.0 to 3.7.0. - [Release notes](https://github.com/wandalen/wretry.action/releases) - [Commits](https://github.com/wandalen/wretry.action/compare/v3.5.0...v3.7.0) --- updated-dependencies: - dependency-name: Wandalen/wretry.action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bfb01ed8..35a81dda 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -160,7 +160,7 @@ jobs: uses: ublue-os/remove-unwanted-software@v7 - name: Pull main, akmods, rechunk images - uses: Wandalen/wretry.action@v3.5.0 + uses: Wandalen/wretry.action@v3.7.0 with: attempt_limit: 3 attempt_delay: 15000 @@ -176,7 +176,7 @@ jobs: - name: Get source versions id: labels - uses: Wandalen/wretry.action@v3.5.0 + uses: Wandalen/wretry.action@v3.7.0 with: attempt_limit: 3 attempt_delay: 15000 @@ -392,7 +392,7 @@ jobs: # Push the image to GHCR (Image Registry) - name: Push To GHCR - uses: Wandalen/wretry.action@v3.5.0 + uses: Wandalen/wretry.action@v3.7.0 id: push if: github.event_name != 'pull_request' env: From 0c80584e2b5b607a3573349e63c8eacbe1c588bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 07:54:41 -0800 Subject: [PATCH 3/4] chore(deps): bump jasonn3/build-container-installer from 1.2.2 to 1.2.3 (#1855) Bumps [jasonn3/build-container-installer](https://github.com/jasonn3/build-container-installer) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/jasonn3/build-container-installer/releases) - [Commits](https://github.com/jasonn3/build-container-installer/compare/v1.2.2...v1.2.3) --- updated-dependencies: - dependency-name: jasonn3/build-container-installer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build_iso.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_iso.yml b/.github/workflows/build_iso.yml index 964ff970..0d018a45 100644 --- a/.github/workflows/build_iso.yml +++ b/.github/workflows/build_iso.yml @@ -111,7 +111,7 @@ jobs: curl -Lo ${{ github.workspace }}/bazzite.repo https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-${{ matrix.major_version }}/kylegospo-bazzite-fedora-${{ matrix.major_version }}.repo - name: Build ISOs - uses: jasonn3/build-container-installer@v1.2.2 + uses: jasonn3/build-container-installer@v1.2.3 id: build with: arch: x86_64 From 7f5992e3eafe0d271f90e4c3f789451bcbacdc14 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis <5252246+antheas@users.noreply.github.com> Date: Wed, 6 Nov 2024 16:55:50 +0100 Subject: [PATCH 4/4] chore: gate stable and add promotion action (#1742) --- .github/workflows/build.yml | 2 +- .github/workflows/promote.yml | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/promote.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35a81dda..df833760 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -342,7 +342,7 @@ jobs: BUILD_TAGS+=("stable-${FEDORA_VERSION}") # flip ver to be last if [ -n "$LATEST" ]; then - BUILD_TAGS+=("latest" "stable") + BUILD_TAGS+=("latest" "edge") fi fi diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml new file mode 100644 index 00000000..868501e4 --- /dev/null +++ b/.github/workflows/promote.yml @@ -0,0 +1,62 @@ +name: Promote Edge builds to Stable + +on: + workflow_dispatch: + workflow_call: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-promote + cancel-in-progress: true + +jobs: + promote: + runs-on: ubuntu-24.04 + permissions: + packages: write + + strategy: + fail-fast: false + matrix: + image_name: + - bazzite + - bazzite-nvidia + - bazzite-nvidia-open + - bazzite-gnome + - bazzite-gnome-nvidia + - bazzite-gnome-nvidia-open + - bazzite-deck + - bazzite-deck-gnome + - bazzite-ally + - bazzite-ally-gnome + - bazzite-asus + - bazzite-gnome-asus + - bazzite-asus-nvidia + - bazzite-gnome-asus-nvidia + - bazzite-asus-nvidia-open + - bazzite-gnome-asus-nvidia-open + major_version: [40] + steps: + - name: Login to GHCR + run: echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin + + # Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR. + # https://github.com/macbre/push-to-ghcr/issues/12 + - name: Lowercase Registry + id: registry_case + uses: ASzc/change-string-case-action@v6 + with: + string: ${{ env.IMAGE_REGISTRY }} + + - name: Push Edge to Stable + uses: Wandalen/wretry.action@v3.5.0 + id: push + env: + REGISTRY_USER: ${{ github.actor }} + REGISTRY_PASSWORD: ${{ github.token }} + with: + attempt_limit: 3 + attempt_delay: 15000 + commands: | + sudo skopeo copy \ + ${{ steps.registry_case.outputs.lowercase }}/${{ matrix.image_name }}:edge \ + ${{ steps.registry_case.outputs.lowercase }}/${{ matrix.image_name }}:stable \ No newline at end of file