From dcefd4b367cec460e6e8b7d23cbdbb758eef5c19 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 27 Jul 2026 23:56:01 +0300 Subject: [PATCH] Enable every disabled job in release-all.yml, so their output is visible. snap-qemu (ppc64el, s390x), snap-launchpad (riscv64), snap-variants, ucs and nextcloud were hard-disabled with `if: ${{ false }}`, so a release never said anything about them. They all carry continue-on-error: true, so running them cannot fail a release or hold up another job - the point of running them is to SEE what they report. The three guarded jobs - snap-variants, ucs, nextcloud - skip their work while their secrets are unset. That was a quiet ::notice::; now that they actually run it is a ::warning::, so the missing secrets are visible in the run summary instead of buried in a log. Thanks to xet7 ! --- .github/workflows/release-all.yml | 33 +++++++++++++--------- docs/Design/Autoupdate/Snap-Ondra-Gantt.md | 18 ++++++------ 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release-all.yml b/.github/workflows/release-all.yml index b5a998c778..dad2e12634 100644 --- a/.github/workflows/release-all.yml +++ b/.github/workflows/release-all.yml @@ -88,7 +88,7 @@ name: Release All Platforms # `nextcloud` job. See docs/Design/Autoupdate/Nextcloud.md. # # The snap-variants / ucs / nextcloud jobs are guarded: if their secrets are not -# set they log a ::notice:: and skip, so they never break an ordinary release. +# set they log a ::warning:: and skip, so they never break an ordinary release. on: workflow_dispatch: @@ -1219,8 +1219,9 @@ jobs: # continue-on-error + fail-fast:false so one arch never blocks the release or the # others; each leg publishes the moment it finishes. snap-qemu: - # DISABLED per maintainer request. Re-enable by removing this `if`. - if: ${{ false }} + # ENABLED. `continue-on-error: true` below means a failure here can never + # fail the release or hold up another job - the point of running it is to + # SEE what it reports. Disable again with `if: ${{ false }}`. needs: [prepare, release] continue-on-error: true timeout-minutes: 60 @@ -1281,8 +1282,9 @@ jobs: run: gh release upload "v${VERSION}" "${{ steps.build.outputs.snap }}" --clobber snap-launchpad: - # DISABLED per maintainer request. Re-enable by removing this `if`. - if: ${{ false }} + # ENABLED. `continue-on-error: true` below means a failure here can never + # fail the release or hold up another job - the point of running it is to + # SEE what it reports. Disable again with `if: ${{ false }}`. needs: [prepare, release] # riscv64 ONLY: it has no native GitHub runner and the QEMU snap action # (diddlesnaps/snapcraft-multiarch-action) does not support riscv64, so it stays @@ -1404,8 +1406,9 @@ jobs: # WEKAN_REPO_TOKEN can push to the variant repos. # See docs/Design/Autoupdate/Snap-Ondra-Gantt.md. snap-variants: - # DISABLED per maintainer request. Re-enable by removing this `if`. - if: ${{ false }} + # ENABLED. `continue-on-error: true` below means a failure here can never + # fail the release or hold up another job - the point of running it is to + # SEE what it reports. Disable again with `if: ${{ false }}`. needs: [prepare, release] continue-on-error: true timeout-minutes: 60 @@ -1431,7 +1434,7 @@ jobs: run: | if [ -z "$REPO_TOKEN" ] || [ -z "$SNAP_AUTH" ]; then echo "ok=false" >> "$GITHUB_OUTPUT" - echo "::notice::snap-variants (${{ matrix.snapname }}) skipped — set WEKAN_REPO_TOKEN and SNAP_AUTH (with ACL for ${{ matrix.snapname }}). See docs/Design/Autoupdate/Snap-Ondra-Gantt.md." + echo "::warning::snap-variants (${{ matrix.snapname }}) skipped — set WEKAN_REPO_TOKEN and SNAP_AUTH (with ACL for ${{ matrix.snapname }}). See docs/Design/Autoupdate/Snap-Ondra-Gantt.md." else echo "ok=true" >> "$GITHUB_OUTPUT" fi @@ -1486,8 +1489,9 @@ jobs: # bumps the version and uploads so the pipeline is wired. # See docs/Design/Autoupdate/UCS.md. ucs: - # DISABLED per maintainer request. Re-enable by removing this `if`. - if: ${{ false }} + # ENABLED. `continue-on-error: true` below means a failure here can never + # fail the release or hold up another job - the point of running it is to + # SEE what it reports. Disable again with `if: ${{ false }}`. needs: [prepare, release, docker] continue-on-error: true timeout-minutes: 45 @@ -1504,7 +1508,7 @@ jobs: run: | if [ -z "$REPO_TOKEN" ] || [ -z "$UCS_USER" ] || [ -z "$UCS_PASS" ]; then echo "ok=false" >> "$GITHUB_OUTPUT" - echo "::notice::ucs skipped — set WEKAN_REPO_TOKEN, UNIVENTION_APP_PROVIDER_USER, UNIVENTION_APP_PROVIDER_PASSWORD. See docs/Design/Autoupdate/UCS.md." + echo "::warning::ucs skipped — set WEKAN_REPO_TOKEN, UNIVENTION_APP_PROVIDER_USER, UNIVENTION_APP_PROVIDER_PASSWORD. See docs/Design/Autoupdate/UCS.md." else echo "ok=true" >> "$GITHUB_OUTPUT" fi @@ -1558,8 +1562,9 @@ jobs: # DORMANT until the ExApp repo (wekan/nextcloud) and the signing/App Store # secrets exist. See docs/Design/Autoupdate/Nextcloud.md. nextcloud: - # DISABLED per maintainer request. Re-enable by removing this `if`. - if: ${{ false }} + # ENABLED. `continue-on-error: true` below means a failure here can never + # fail the release or hold up another job - the point of running it is to + # SEE what it reports. Disable again with `if: ${{ false }}`. needs: [prepare, release, docker] continue-on-error: true timeout-minutes: 60 @@ -1577,7 +1582,7 @@ jobs: run: | if [ -z "$REPO_TOKEN" ] || [ -z "$NC_KEY" ] || [ -z "$NC_CRT" ] || [ -z "$NC_TOKEN" ]; then echo "ok=false" >> "$GITHUB_OUTPUT" - echo "::notice::nextcloud skipped — set WEKAN_REPO_TOKEN, NEXTCLOUD_APP_PRIVATE_KEY, NEXTCLOUD_APP_PUBLIC_CRT, NEXTCLOUD_APPSTORE_TOKEN. See docs/Design/Autoupdate/Nextcloud.md." + echo "::warning::nextcloud skipped — set WEKAN_REPO_TOKEN, NEXTCLOUD_APP_PRIVATE_KEY, NEXTCLOUD_APP_PUBLIC_CRT, NEXTCLOUD_APPSTORE_TOKEN. See docs/Design/Autoupdate/Nextcloud.md." else echo "ok=true" >> "$GITHUB_OUTPUT" fi diff --git a/docs/Design/Autoupdate/Snap-Ondra-Gantt.md b/docs/Design/Autoupdate/Snap-Ondra-Gantt.md index 234291f977..df50b8c3db 100644 --- a/docs/Design/Autoupdate/Snap-Ondra-Gantt.md +++ b/docs/Design/Autoupdate/Snap-Ondra-Gantt.md @@ -16,13 +16,13 @@ changes** required. ## Remaining steps -> **Status:** the `snap-variants` job **is wired into `release-all.yml`** but is currently -> **hard-disabled** with `if: ${{ false }}` (it was grouped with the failing snap -> exotic-arch jobs). It is also internally **guarded** — even with the `if` removed it skips -> with a `::notice::` until the items below are done — so it never breaks an ordinary -> release. To actually publish the variant snaps you need **both**: (a) complete steps 1–4 -> below, **and** (b) remove the `if: ${{ false }}` line from the `snap-variants` job in -> `release-all.yml` (see step 5). +> **Status:** the `snap-variants` job **runs on every release** now — it was +> hard-disabled with `if: ${{ false }}` while it was grouped with the failing snap +> exotic-arch jobs, and that line is gone, so its output is visible in the run. It is +> still internally **guarded**: until the items below are done it logs a `::warning::` +> naming the missing secrets and skips its work, and `continue-on-error: true` means it +> can never fail a release either way. To actually publish the variant snaps, complete +> steps 1–4 below; step 5 (removing the `if`) is already done. 1. **Register the snap names** (one-time, on the machine holding the WeKan Snap Store account): `snapcraft register wekan-ondra` and `snapcraft register wekan-gantt-gpl`. @@ -270,8 +270,8 @@ Snap Store listing. `version:` stays as the shared WeKan version. with Contents: Read/Write — or add per-repo deploy keys. The secret value is unchanged either way (§1c, §2, Remaining step 4) - [ ] Confirm the two variant repos hold nothing that must survive the overwrite (§1c) -- [ ] The `snap-variants` job is already in `release-all.yml` (§3) — **remove its - `if: ${{ false }}` line** to re-enable it (Remaining step 5) +- [x] The `snap-variants` job is in `release-all.yml` (§3) and its `if: ${{ false }}` + line is removed, so it runs on every release (Remaining step 5) - [ ] Run one release and verify both snaps appear at `https://snapcraft.io/wekan-ondra` and `https://snapcraft.io/wekan-gantt-gpl` in all four channels