Add the stage facade and run test-staging through it - #9
Open
alexadereyko wants to merge 1 commit into
Open
Conversation
alexadereyko
force-pushed
the
jira/TBBAS-3295-staging-pull
branch
from
July 22, 2026 13:02
0eed434 to
aa642e2
Compare
alexadereyko
force-pushed
the
jira/TBBAS-3297-stage-facade
branch
from
July 22, 2026 13:55
fab3b90 to
6b9b93d
Compare
JakaMohorko
approved these changes
Jul 23, 2026
stage composes the primitives into one publish flow -- staging-pull (optional) -> reusable -> staging-push (optional) -- each side gated by an empty input. A repo builds itself; a flat facade over the primitives, never another facade. test-staging now drives the whole chain as two stage calls: core builds and publishes hello-core, module (needs core) pulls it back from ghcr and builds hello-module against it, then publishes the module.
alexadereyko
force-pushed
the
jira/TBBAS-3297-stage-facade
branch
from
July 23, 2026 16:29
6b9b93d to
3d392c2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on:
Brief
Add
stage, a reusable workflow that composes the three primitives —staging-pull,reusable,staging-push— into one publish flow, so a project builds and publishes its staging in a single call.Description
stageruns three steps: pull dependencies from ghcr (optional) → build / stage / test (reusable) → publish to ghcr (optional). Each side is gated by an empty input: nostaging-pullmeans no pull, nostaging-pushmeans no push (the build's staging just stays a run artifact).The inputs are a pass-through to the primitives:
staging-pull— thedepsarray forstaging-pull(empty → no pull).include-jobs,cmake-presets,cpack-presets,packages,upload-pattern,timeout— passed straight toreusable.staging-push— thestagingsarray forstaging-push(empty → no push).Usage example
A module that depends on core is two
stagecalls — core builds and publishes itself, then the module pulls it back from ghcr and builds against it: