Repository navigation
Test/Jenkinsfile: build Architecture: all packages on any executor, not only the arm64 drone - #2
Open
SimonFormanek wants to merge 1 commit into
Open
SimonFormanek wants to merge 1 commit into
SimonFormanek wants to merge 1 commit into
Conversation
The template pinned every distro branch to node('arm64'), i.e. the single
arm64 drone (boys.vitexsoftware.brevnov.czf, 8 GB RAM), so builds of
architecture-independent packages queued with "Waiting for next available
executor on arm64" while the built-in node (10 slots) and Kubernetes
executors were idle.
After the SCM checkout (now on any node) the Architecture fields of
debian/control are read; when they are all "all", the distro branches run
on any executor (onBuildNode helper), otherwise they keep node('arm64').
Node-local isolation is unchanged: nodeLocalRoot() falls back to
$HOME/local-builds, off the shared NFS workspace export.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Problem
Every distro branch was pinned to
node('arm64'), i.e. the single arm64 drone(boys.vitexsoftware.brevnov.czf, 8 GB RAM; fallgold and tulameen are switched off). Builds of
architecture-independent packages therefore queued with "Waiting for next available executor on
'arm64'" (e.g. Foregin/python3-httpx2 #6) while the built-in node (10 slots) and the Kubernetes
executors were idle. For
Architecture: allthe build host's architecture makes no difference.Change
node()(architecture-independent)Architecture:fields ofdebian/controlare read(
awk … | sort -u); if they are allall,buildLabelis empty, otherwisearm64onBuildNode(buildLabel) { … }helper:node { }(any executor) forarch-all packages,
node('arm64') { }for everything else – unchanged behaviour for thosenode('aptly')for publishing is untouchednodeLocalRoot()falls back to$HOME/local-builds(e.g./var/lib/jenkins/local-buildson the built-in node), off the shared NFS workspace exportNote: the
/mnt/datastore/hd710pro/jenkinsand/mnt/ssd/jenkinscandidates innodeLocalRoot()belongto the switched-off fallgold/tulameen; left as they are (harmless, not part of this change).
Checked the detection command on: python3-httpcore2, python3-httpx2, mcprack (
all→ any executor),llama.cpp (
any→ arm64). Groovy not syntax-checked locally (no toolchain); the\$iescaping followsthe existing
awk '{print \$1}'in the same file.🤖 Generated with Claude Code