diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2024-10-07 12:23:32 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-10-07 16:54:54 +0200 |
commit | 0c7b5dad33ee01b7ff6b7a8c583a7e2c27ac0673 (patch) | |
tree | 716b6e88efa2bb473e59ea7ed11133ad2b138238 /.semaphore | |
parent | Merge pull request #34644 from yuwata/udev-node-diskseq (diff) | |
download | systemd-0c7b5dad33ee01b7ff6b7a8c583a7e2c27ac0673.tar.xz systemd-0c7b5dad33ee01b7ff6b7a8c583a7e2c27ac0673.zip |
Semaphore: switch from /tmp to /var/tmp to avoid disk space issues
Builds have been failing as we run out of space in /tmp/, move to
/var/tmp
Diffstat (limited to '.semaphore')
-rwxr-xr-x | .semaphore/semaphore-runner.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh index 755de22cf6..a9ce1596e0 100755 --- a/.semaphore/semaphore-runner.sh +++ b/.semaphore/semaphore-runner.sh @@ -11,7 +11,8 @@ SALSA_URL="${SALSA_URL:-https://salsa.debian.org/systemd-team/systemd.git}" BRANCH="${BRANCH:-debian/master}" ARCH="${ARCH:-amd64}" CONTAINER="${RELEASE}-${ARCH}" -CACHE_DIR="${SEMAPHORE_CACHE_DIR:-/tmp}" +CACHE_DIR=/var/tmp +TMPDIR=/var/tmp AUTOPKGTEST_DIR="${CACHE_DIR}/autopkgtest" # semaphore cannot expose these, but useful for interactive/local runs ARTIFACTS_DIR=/tmp/artifacts @@ -104,7 +105,7 @@ EOF # now build the package and run the tests rm -rf "$ARTIFACTS_DIR" # autopkgtest exits with 2 for "some tests skipped", accept that - sudo "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS="noudeb nostrip optimize=-lto" \ + sudo TMPDIR=/var/tmp "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS="noudeb nostrip optimize=-lto" \ --env DPKG_DEB_COMPRESSOR_TYPE="none" \ --env DEB_BUILD_PROFILES="pkg.systemd.upstream noudeb" \ --env TEST_UPSTREAM=1 \ |