Skip to content

ci: resolve staging build-deps from qli-staging - #99

Draft
Christopher Obbard (obbardc) wants to merge 1 commit into
mainfrom
wip/obbardc/staging-build-deps
Draft

ci: resolve staging build-deps from qli-staging#99
Christopher Obbard (obbardc) wants to merge 1 commit into
mainfrom
wip/obbardc/staging-build-deps

Conversation

@obbardc

Copy link
Copy Markdown
Contributor

The build job passed a fixed 'EXTRA_BUILD_DEP_WORKSPACES: qli', so every run resolved its build-dependencies from the released qli workspace alone. Daily and PR builds are staged work: they can depend on a package version that has only reached qli-staging, and with qli the sole extra repository those builds fail to satisfy the dependency, or silently pick up the older released one.

Pick the workspace list from the same input that already picks the environment and the publish path. A run that promotes to a release workspace is a Production deployment and keeps reading qli only, so a released kernel is never built against something that has not been released alongside it. A run that only builds into a CI workspace is a Staging one and reads qli and qli-staging, matching what the staged archive actually offers.

Closes: #93

The build job passed a fixed 'EXTRA_BUILD_DEP_WORKSPACES: qli', so every run
resolved its build-dependencies from the released qli workspace alone. Daily
and PR builds are staged work: they can depend on a package version that has
only reached qli-staging, and with qli the sole extra repository those builds
fail to satisfy the dependency, or silently pick up the older released one.

Pick the workspace list from the same input that already picks the environment
and the publish path. A run that promotes to a release workspace is a
Production deployment and keeps reading qli only, so a released kernel is
never built against something that has not been released alongside it. A run
that only builds into a CI workspace is a Staging one and reads qli and
qli-staging, matching what the staged archive actually offers.

Closes: #93
Signed-off-by: Christopher Obbard <chris.obbard@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variants which release into staging don't appear to include qli-staging repository for deps

1 participant