Skip to content

Commit

Permalink
semaphore: use variable for Salsa repo URL
Browse files Browse the repository at this point in the history
Makes it easier to switch for debuggin
  • Loading branch information
bluca committed May 20, 2024
1 parent 2fa7626 commit 5002b57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .semaphore/semaphore-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5002b57

Please sign in to comment.