mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
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 !
This commit is contained in:
1 parent
78c15fc6a1
commit
dcefd4b367
2 files changed
+28
-23
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user