1
0
mirror of https://github.com/systemd/systemd synced 2024-06-29 06:34:30 +00:00

semaphore: use variable for Salsa repo URL

Makes it easier to switch for debuggin
This commit is contained in:
Luca Boccassi 2024-05-20 13:08:26 +01:00
parent 2fa7626e18
commit 5002b576d8

View File

@ -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