mirror of
https://github.com/systemd/systemd.git
synced 2024-12-31 21:18:09 +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
|
||||
DISTRO="${DISTRO:-debian}"
|
||||
RELEASE="${RELEASE:-bookworm}"
|
||||
BRANCH="${BRANCH:-upstream-ci}"
|
||||
BRANCH="${BRANCH:-debian/master}"
|
||||
ARCH="${ARCH:-amd64}"
|
||||
CONTAINER="${RELEASE}-${ARCH}"
|
||||
CACHE_DIR="${SEMAPHORE_CACHE_DIR:-/tmp}"
|
||||
@ -104,7 +104,9 @@ EOF
|
||||
rm -rf "$ARTIFACTS_DIR"
|
||||
# autopkgtest exits with 2 for "some tests skipped", accept that
|
||||
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" \
|
||||
-- lxc -s "$CONTAINER" \
|
||||
|| [ $? -eq 2 ]
|
||||
|
Loading…
Reference in New Issue
Block a user