Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch. Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
6.3 KiB
Windows, Linux and macOS release-ref nightly: supervised manual go-live
Enabled for supervised manual runs, not yet qualified. The producer (nightly.yml, main) and the
signer (nightly-sign.yml, release) keep only their exact context guards and run when one of the reviewed
manual actors dispatches them. There is no schedule and no automatic dispatch transport yet. The installed
policy .github/nightly-signing-policy.json is the real v3
policy. Once nightly.yml lands on main, populate producer_workflow_id with its registration ID:
gh api repos/storytold/deckcraft/actions/workflows/nightly.yml --jq .id
The callers pass no platform secrets. The unsigned reusable caller's maximum OIDC/attestation
permissions are for its isolated attester; its compiler narrows to contents and Actions read
only, with no OIDC, attestation write, release environment or platform signing secrets.
Shared tooling is pinned to 605d58766e8f536564da8fc81d3676ac86816dea, the craft-common-actions
main commit that merged #339 (bounded
lineage compares and an issue reread at the end of candidate admission) on top of
#342 (policy v3, the platforms input
and the Linux and macOS legs). Both callers name it in uses and tooling-revision. A pin is reviewed
source availability, not provider, queue, native signing or crypto qualification.
Existing stable workflows are unchanged.
The shared-workflow port is a prerequisite. At this pin both reusable workflows admit only
PhotoCraft: nightly-unsigned.yml requires inputs.app-name == 'photocraft' and
github.repository == 'storytold/photocraft' on its build jobs, and nightly-release.yml requires the
same repository in validate and every signing job (its concurrency group is
craft-release-ref-signer-photocraft). A DeckCraft dispatch therefore builds and signs nothing until
storytold/craft-common-actions admits storytold/deckcraft. No dispatch can produce a release before
that port, and both callers' uses, tooling-revision and the policy pins must move to the same
reviewed revision together.
First runs. The first runs are manual dispatches in this order: nightly.yml on main (only a
listed manual actor passes the producer's plan step), then nightly-sign.yml on release with that
producer run ID and attempt, by a listed manual actor.
Manual actors. bflatastic, dylanmtaylor, echelon, FredApps and skylartaylor, in the
producer's manual-actors and the policy's manual_actors. The list mirrors the release-managers
team (id 19837241), leaving out echelon-robot; update it by PR in both places when the team changes.
Admission timing. The candidate check reads the newest CI run on the candidate commit and
main's latest finished Sonar analysis, so pick a quiet main, wait for its CI and SonarCloud analysis
to finish green, then dispatch the producer and, once it succeeds, the signer, before another main
push lands a newer analysis.
Platform rows. The producer caller lists
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]' on its single job: one producer
run builds every listed platform for one all-or-nothing release (one failed or skipped platform stops
that night's release), and the release-ref signer admits platforms only from the protected policy, so
there is no separate Linux or macOS caller job and the signer caller has no platform input.
Installed policy values and their sources
Read on 2026-11-24; re-read anything that may have moved before the policy is promoted to release.
| Field | Value | Source |
|---|---|---|
repository_id |
1408294296 |
gh api repos/storytold/deckcraft --jq .id |
producer_workflow_id |
null (populate after nightly.yml reaches main) |
gh api repos/storytold/deckcraft/actions/workflows/nightly.yml --jq .id |
producer_tooling_revision, signer_tooling_revision, producer_workflow_ref |
605d5876… (craft-common-actions #339) |
The callers' pin |
manual_actors / automatic_signer_actors |
the five release managers / [] |
release-managers team (id 19837241) members who can push; equals the producer caller's manual-actors |
max_age_seconds, max_artifact_bytes |
86400, 2147483648 |
Go-live checklist |
platforms |
three rows | Storytold stable signing identities (windows-x86_64, linux-x86_64, macos-aarch64) |
candidate_policy.required_workflows |
CI (ci.yml, workflow 377160704), 2 jobs |
Workflow list API; jobs that succeeded on recent main push runs |
candidate_policy.sonar |
storytold / storytold_deckcraft, app 12526 |
sonar-project.properties; the SonarCloud check on main commits |
| Sonar conditions | new_security_rating accepted (max 5); the other five required |
Standard Storytold SonarCloud quality gate |
Sonar issue_types / debt |
VULNERABILITY / [] |
Update before promotion if any unresolved main vulnerabilities exist |
Ownership and interface
.github/workflows/nightly.yml: default-main registration of the unsigned producer, namedDeckCraft unsigned nightly, enabled for manual dispatch bymanual-actors; no signing secrets may be passed or inherited..github/workflows/nightly-sign.yml: top-level release registration, enabled for manual dispatch, and identical onmainandreleaseafter reviewed promotion. It rejects wrong repository/event/actual branch, including same-name tags. Its constant whole-run concurrency is distinct from stable, cancellation is off andqueue: maxmust be hosted-qualified. The caller itself passes no credentials; only the shared callee's sign jobs bind thereleaseenvironment.- Shared reusable entrypoints are
nightly-unsigned.ymlandnightly-release.ymlinstorytold/craft-common-actions. Both must resolve to a real reviewed public immutable commit; the defining workflow SHA and tooling input must match.
Local regression checks
python3 packaging/nightly-release-tests.py verifies the installed v3 policy, exact context guards
on nightly.yml and nightly-sign.yml, manual actor alignment, platform list and trust anchors,
shared tooling pin alignment, no-cache/no-platform-secret boundaries, and root concurrency
serialization (deckcraft-nightly-release, queue: max, cancel-in-progress: false).