mirror of
https://github.com/systemd/systemd.git
synced 2025-01-18 10:04:04 +03:00
semaphore: set upstream build profile and set default branch to debian/master
Leave TEST_UPSTREAM=1 for now in case we switch branches via the hook
This commit is contained in:
parent
4117a0d5e6
commit
d6e98b3d16
@ -7,7 +7,7 @@ set -o pipefail
|
|||||||
# default to Debian testing
|
# default to Debian testing
|
||||||
DISTRO="${DISTRO:-debian}"
|
DISTRO="${DISTRO:-debian}"
|
||||||
RELEASE="${RELEASE:-bookworm}"
|
RELEASE="${RELEASE:-bookworm}"
|
||||||
BRANCH="${BRANCH:-upstream-ci}"
|
BRANCH="${BRANCH:-debian/master}"
|
||||||
ARCH="${ARCH:-amd64}"
|
ARCH="${ARCH:-amd64}"
|
||||||
CONTAINER="${RELEASE}-${ARCH}"
|
CONTAINER="${RELEASE}-${ARCH}"
|
||||||
CACHE_DIR="${SEMAPHORE_CACHE_DIR:-/tmp}"
|
CACHE_DIR="${SEMAPHORE_CACHE_DIR:-/tmp}"
|
||||||
@ -104,7 +104,9 @@ EOF
|
|||||||
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 \
|
sudo "$AUTOPKGTEST_DIR/runner/autopkgtest" --env DEB_BUILD_OPTIONS=noudeb \
|
||||||
--env TEST_UPSTREAM=1 ../systemd_*.dsc \
|
--env DEB_BUILD_PROFILES=pkg.systemd.upstream \
|
||||||
|
--env TEST_UPSTREAM=1 \
|
||||||
|
../systemd_*.dsc \
|
||||||
-o "$ARTIFACTS_DIR" \
|
-o "$ARTIFACTS_DIR" \
|
||||||
-- lxc -s "$CONTAINER" \
|
-- lxc -s "$CONTAINER" \
|
||||||
|| [ $? -eq 2 ]
|
|| [ $? -eq 2 ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user