feat(build-push-sign-images): collapsible coloured logs + Apache-2.0 header fix #4
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
HOIST-IT-Actions/actions!4
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/bpsi-quiet-colored-logs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two changes to the
build-push-sign-imagesaction.1. fix: SPDX header to Apache-2.0
The Apache-2.0 relicense (#3) merged just after this action landed (#2) and did
not sweep the new file, so its header still declared
LicenseRef-HOISTIT-Proprietary-1.0, whose licence text the relicense removed.reuse lintpasses again.2. feat: collapsible, coloured, structured logs
The nix copy/build output was a flat wall. Now:
wrapped in a collapsible
::group::. Forgejo renders these as fold sections,like the Azure DevOps collapsible sections, so a run reads as one folded group
per image.
NO_COLOR).N/M succeededsummary at the end.group, with an
::error::, so the failed run's full log is visible withoutexpanding anything.
log-groupsinput (defaulttrue); setfalsefor flat output.The build itself is unchanged: same disk discipline (upfront gc, gc-rooted sign
toolchain, per-image gc under threshold), same per-image continue-on-error with
a fail-closed exit, same push-then-sign order.
Verification
reuse lint: compliant.shellcheck -s bashon the run body: clean.nixin both modes: continue-on-error(a mid-list failure does not stop the rest), fail-closed
exit 1, the fullfailed log re-printed, all-success
exit 0, and the tag-mismatch warning.Once merged, the action is ready to tag
v0.4.0(which toolbox#46 references).