]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
semaphore: set upstream build profile and set default branch to debian/master 31444/head
authorLuca Boccassi <bluca@debian.org>
Thu, 22 Feb 2024 10:07:24 +0000 (10:07 +0000)
committerLuca Boccassi <bluca@debian.org>
Wed, 28 Feb 2024 01:08:57 +0000 (01:08 +0000)
Leave TEST_UPSTREAM=1 for now in case we switch branches via the hook

.semaphore/semaphore-runner.sh

index 6ffbf12c55bdb45af3d0b307caec8d93f97914c2..1b0b29e73e557563b48e27eec2c86171bd99fa2e 100755 (executable)
@@ -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 ]