mirror of
https://github.com/systemd/systemd.git
synced 2025-01-18 10:04:04 +03:00
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 (cherry picked from commit 0c7b5dad33ee01b7ff6b7a8c583a7e2c27ac0673)
This commit is contained in:
parent
7c399a4003
commit
bc0102b0ca
@ -11,7 +11,8 @@ SALSA_URL="${SALSA_URL:-https://salsa.debian.org/systemd-team/systemd.git}"
|
|||||||
BRANCH="${BRANCH:-ci/v256-stable}"
|
BRANCH="${BRANCH:-ci/v256-stable}"
|
||||||
ARCH="${ARCH:-amd64}"
|
ARCH="${ARCH:-amd64}"
|
||||||
CONTAINER="${RELEASE}-${ARCH}"
|
CONTAINER="${RELEASE}-${ARCH}"
|
||||||
CACHE_DIR="${SEMAPHORE_CACHE_DIR:-/tmp}"
|
CACHE_DIR=/var/tmp
|
||||||
|
TMPDIR=/var/tmp
|
||||||
AUTOPKGTEST_DIR="${CACHE_DIR}/autopkgtest"
|
AUTOPKGTEST_DIR="${CACHE_DIR}/autopkgtest"
|
||||||
# semaphore cannot expose these, but useful for interactive/local runs
|
# semaphore cannot expose these, but useful for interactive/local runs
|
||||||
ARTIFACTS_DIR=/tmp/artifacts
|
ARTIFACTS_DIR=/tmp/artifacts
|
||||||
@ -104,7 +105,7 @@ EOF
|
|||||||
# now build the package and run the tests
|
# now build the package and run the tests
|
||||||
rm -rf "$ARTIFACTS_DIR"
|
rm -rf "$ARTIFACTS_DIR"
|
||||||
# autopkgtest exits with 2 for "some tests skipped", accept that
|
# 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 DPKG_DEB_COMPRESSOR_TYPE="none" \
|
||||||
--env DEB_BUILD_PROFILES="pkg.systemd.upstream noudeb" \
|
--env DEB_BUILD_PROFILES="pkg.systemd.upstream noudeb" \
|
||||||
--env TEST_UPSTREAM=1 \
|
--env TEST_UPSTREAM=1 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user