From 2e74c550899ced5d4e49f3f4b5db3ed22bf63a6b Mon Sep 17 00:00:00 2001 From: Tomoyuki Sakurai Date: Mon, 14 Oct 2024 14:18:29 +0700 Subject: [PATCH] fixup --- .github/workflows/poudriere.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/poudriere.yml b/.github/workflows/poudriere.yml index a913105..753a0c0 100644 --- a/.github/workflows/poudriere.yml +++ b/.github/workflows/poudriere.yml @@ -69,6 +69,7 @@ jobs: set -x set -e + df -h -tufs poudriere ports -l poudriere jail -l @@ -78,6 +79,7 @@ jobs: PORTS_NAME="default" OVERLAY_DIR=`realpath .` PORT_TO_BUILD=${{ matrix.PORT }} + MAX_JOBS=1 # avoid "fatal: detected dubious ownership in repository at ..." sudo chown -R root:wheel "${OVERLAY_DIR}" @@ -90,12 +92,14 @@ jobs: # PACKAGE_FETCH_URL (-b). Test the port with Q/A checks (-Ct). use # `true` to prevent failure on build failures. the job will fail # later if any build fails. limit the number of job to 2. - sudo poudriere bulk -j "${JAIL_NAME}" -O overlay -b latest -J 2 -Ct ${PORT_TO_BUILD} || true + sudo poudriere bulk -j "${JAIL_NAME}" -O overlay -b latest -J "${MAX_JOBS}" -Ct ${PORT_TO_BUILD} || true # collect the logs. freebsd-vm will copy them back to the host OS. tree "/usr/local/poudriere/data/logs/bulk/${JAIL_NAME}-${PORTS_NAME}/latest/logs" sudo cp -R "/usr/local/poudriere/data/logs/bulk/${JAIL_NAME}-${PORTS_NAME}/latest/logs" ${OVERLAY_DIR}/logs + df -h -tufs + - name: Create a safe port name from matrix.PORT shell: sh run: |