]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
semaphore: use variable for Salsa repo URL
authorLuca Boccassi <bluca@debian.org>
Mon, 20 May 2024 12:08:26 +0000 (13:08 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 20 May 2024 12:14:50 +0000 (13:14 +0100)
Makes it easier to switch for debuggin

.semaphore/semaphore-runner.sh

index 6b986b9bec51962a5791e61f75cb586aae41c3ed..755de22cf61996e367cc9e8aec61997a38be8148 100755 (executable)
@@ -7,6 +7,7 @@ set -o pipefail
 # default to Debian testing
 DISTRO="${DISTRO:-debian}"
 RELEASE="${RELEASE:-bookworm}"
+SALSA_URL="${SALSA_URL:-https://salsa.debian.org/systemd-team/systemd.git}"
 BRANCH="${BRANCH:-debian/master}"
 ARCH="${ARCH:-amd64}"
 CONTAINER="${RELEASE}-${ARCH}"
@@ -72,7 +73,7 @@ for phase in "${PHASES[@]}"; do
         ;;
         RUN)
             # add current debian/ packaging
-            git fetch --depth=1 https://salsa.debian.org/systemd-team/systemd.git "$BRANCH"
+            git fetch --depth=1 "$SALSA_URL" "$BRANCH"
             git checkout FETCH_HEAD debian
 
             # craft changelog