You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, pkg-* repos relied on two separate PR check paths:
1. pr-pre-post-merge.yml → qcom-build-pkg-reusable-workflow.yml
(GitHub Actions check run)
2. debusine-pr-hook.yml + debusine-pr-check.yml →
debusine-action directly (Debusine CI commit status,
bypassing qcom-build-utils entirely)
This meant repos without DEBUSINE_TOKEN would fail on the
hook+check path regardless of the effective build path, and
the suite was always hardcoded to sid regardless of the
target branch.
This commit consolidates everything into qcom-build-utils:
qcom-build-pkg-reusable-workflow.yml:
- Add force-docker-build boolean input: when true, forces
the local sbuild pkg-builder path for Debian-family suites
instead of Debusine
- Add force_docker_build output to the resolve job: true when
family=debian and DEBUSINE_TOKEN is absent or
force-docker-build is set; false otherwise
- family retains its original suite-classification meaning;
force_docker_build expresses the build-path intent
- ubuntu-build: family == 'ubuntu' OR force_docker_build
- debian-build: family == 'debian' AND NOT force_docker_build
- All test and finalize job conditions updated consistently
- Remove the now-redundant hard-fail Require Debusine token
step from debian-build; job-level if gate handles it
qcom-release-reusable-workflow.yml:
- Use the actual suite name in dch --distribution instead of
hardcoding unstable; map sid to unstable since sid is the
codename and dch expects the suite name
pkg-workflows/debian/pr-pre-post-merge.yml:
- Add resolve-suite job: derives suite from target branch
(qcom/ubuntu/<s> or qcom/debian/<s> → <s>, else sid)
so PRs to qcom/ubuntu/resolute no longer use Debusine
- Pass DEBUSINE_USER and DEBUSINE_TOKEN secrets through
The debusine-pr-hook.yml and debusine-pr-check.yml files are
no longer needed in pkg-* repos. Branch protection rules
should require the PR Pre and Post Merge Build check run
rather than the old Debusine CI commit status.
Signed-off-by: Keerthi Gowda <kbalehal@qti.qualcomm.com>
if [[ "$family" == "debian" ]] && [[ -z "$DEBUSINE_TOKEN" || "$FORCE_DOCKER_BUILD" == "true" ]]; then
138
+
force_docker_build=true
139
+
if [[ -z "$DEBUSINE_TOKEN" ]]; then
140
+
echo "::warning::DEBUSINE_TOKEN is not set or not accessible (fork PR secrets are unavailable to workflows triggered by external contributors) — falling back to local pkg-builder for suite '$target_suite'"
141
+
else
142
+
echo "::notice::force-docker-build is set — using local pkg-builder for suite '$target_suite'"
0 commit comments