Conversation
…compile, no-QEMU Dockerfile)
|
Use a two-stage build: prep stage (BUILDPLATFORM) copies the arch-correct runner from app/target/ (amd64) or app/target-arm64/ (arm64) into a fixed /tmp/runner path, so the final stage has zero target-arch RUN instructions (no QEMU exec-format errors). Binary sources populated by dt3_pipeline: amd64 → app/target/*-runner arm64 → app/target-arm64/*-runner
… by CI The nativeBuild stage places the runner binary in srcdir before yap runs. build() previously used 'return 0' which is invalid when yap executes the function body as a standalone script (not sourced). Replaced with a no-op. Removed makedepends on maven/openjdk since the binary is pre-built.
ac45eee to
0a8c7d1
Compare
…l context yap executes build() body as a standalone script; 'return' is invalid outside a function. Restructured to if/else — when runner is absent (manual local build), Maven runs as fallback. CI always passes -n to yap so build() is skipped entirely when binary is pre-built.
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.

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (23.00% Estimated after merge)
Adds arm64 multi-arch support. Depends on jenkins-lib-common#108 (forwards per-image
platformsthroughdt3_pipeline).RUN groupadd/useraddmoved to $BUILDPLATFORM prep stage;RUN chmod=>COPY --chmod. PKGBUILD arch includes aarch64. Arm64 native binary is produced via Mandrel cross-compile (--target=aarch64-linux-gnu) in thenativeBuildMaven stage — see the dt3 pipeline for cross-compile flags.