summaryrefslogtreecommitdiffstats
path: root/.semaphore
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-05-20 14:08:26 +0200
committerLuca Boccassi <bluca@debian.org>2024-05-20 14:14:50 +0200
commit5002b576d8d3d338df90f7d51543f44dd571f388 (patch)
tree9841e37abc0ad4c79648047e9864cb825d2009ba /.semaphore
parentman: fix grammar for Name= option in systemd.link (diff)
downloadsystemd-5002b576d8d3d338df90f7d51543f44dd571f388.tar.xz
systemd-5002b576d8d3d338df90f7d51543f44dd571f388.zip
semaphore: use variable for Salsa repo URL
Makes it easier to switch for debuggin
Diffstat (limited to '.semaphore')
-rwxr-xr-x.semaphore/semaphore-runner.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh
index 6b986b9bec..755de22cf6 100755
--- a/.semaphore/semaphore-runner.sh
+++ b/.semaphore/semaphore-runner.sh
@@ -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