Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pre-merge HW boot tests #121

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions ghaf-pre-merge-pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def REPO_URL = 'https://github.com/tiiuae/ghaf/'
def WORKDIR = 'ghaf'

// Defines if there is need to run purge_artifacts
def purge_stashed_artifacts = false
def purge_stashed_artifacts = true

// Utils module will be loaded in the first pipeline stage
def utils = null
Expand Down Expand Up @@ -65,45 +65,45 @@ def targets = [
],
[ target: "generic-x86_64-debug",
system: "x86_64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "nuc",
],
[ target: "lenovo-x1-carbon-gen11-debug",
system: "x86_64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "lenovo-x1",
],
[ target: "microchip-icicle-kit-debug-from-x86_64",
system: "x86_64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "riscv",
],
[ target: "nvidia-jetson-orin-agx-debug",
system: "aarch64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "orin-agx",
],
[ target: "nvidia-jetson-orin-agx-debug-from-x86_64",
system: "x86_64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "orin-agx",
],
[ target: "nvidia-jetson-orin-nx-debug",
system: "aarch64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "orin-nx",
],
[ target: "nvidia-jetson-orin-nx-debug-from-x86_64",
system: "x86_64-linux",
archive: false,
archive: true,
scs: false,
hwtest_device: null,
hwtest_device: "orin-nx",
],
]

Expand Down Expand Up @@ -192,7 +192,7 @@ pipeline {
dir(WORKDIR) {
script {
utils.nix_eval_jobs(targets)
target_jobs = utils.create_parallel_stages(targets, testset=null)
target_jobs = utils.create_parallel_stages(targets, testset='_boot_')
}
}
}
Expand All @@ -213,6 +213,8 @@ pipeline {
if(purge_stashed_artifacts) {
// Remove temporary, stashed build results before exiting the pipeline
utils.purge_artifacts(env.ARTIFACTS_REMOTE_PATH)
// Remove build description because of broken artifacts link
currentBuild.description = ""
}
}
}
Expand Down