From 3eb57a9ab9ba8b7b0f01fd19ba131516b7083182 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Wed, 12 Mar 2025 16:37:19 -0400 Subject: [PATCH] ceph-pull-requests: 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. Updates the timeout to 4hour (to match the arm64 job) and avoid timeouts. Signed-off-by: John Mulligan --- ceph-pull-requests/build/build | 47 +++++++++++++++++++++++++++++++--- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/ceph-pull-requests/build/build b/ceph-pull-requests/build/build index edb3ebb0..92f18bd8 100644 --- a/ceph-pull-requests/build/build +++ b/ceph-pull-requests/build/build @@ -9,9 +9,48 @@ if [[ "$DOCS_ONLY" = true || "$CONTAINER_ONLY" = true || "$GHA_ONLY" == true || exit 0 fi -export NPROC=$(nproc) -export WITH_CRIMSON=true -export WITH_RBD_RWL=true -timeout 3h ./run-make-check.sh +NPROC=$(nproc) +NPMCACHE=${HOME}/npmcache +cat >.env <