From 40feef829ce5a6b6b96abfae9e18a4a5005f39e9 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 12 Mar 2025 16:36:49 -0400 Subject: [PATCH] ceph-pull-requests-arm64: convert job to run make check in a container Convert the test script to run make check using the build-with-container.py tool. Converts env vars that were directly passed to the script to use a env file. Remove the redundant n_test_jobs variable since it is *always* the same as n_build_jobs. Signed-off-by: John Mulligan --- ceph-pull-requests-arm64/build/build | 50 ++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/ceph-pull-requests-arm64/build/build b/ceph-pull-requests-arm64/build/build index be8363b2..b816fcf0 100644 --- a/ceph-pull-requests-arm64/build/build +++ b/ceph-pull-requests-arm64/build/build @@ -10,11 +10,49 @@ if [[ "$DOCS_ONLY" = true || "$CONTAINER_ONLY" = true || "$GHA_ONLY" == true || fi n_build_jobs=$(get_nr_build_jobs) -n_test_jobs=${n_build_jobs} -export CHECK_MAKEOPTS="-j${n_test_jobs}" -export BUILD_MAKEOPTS="-j${n_build_jobs}" -export WITH_CRIMSON=true -export WITH_RBD_RWL=true -timeout 4h ./run-make-check.sh +NPMCACHE=${HOME}/npmcache +cat >.env <