]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fmf: Check out target branch in packit
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Jan 2025 13:39:53 +0000 (14:39 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 7 Jan 2025 14:27:19 +0000 (15:27 +0100)
test/fmf/integration-tests/test.sh

index 690e07aa56c70315a960459105de2980f99ffe1a..4984fb119b571cf72761b31e65b26a9d3dcf4004 100755 (executable)
@@ -30,7 +30,7 @@ if [[ -n "${TMT_SOURCE_DIR:-}" ]]; then
     pushd "$TMT_SOURCE_DIR/*/"
 elif [[ -n "${PACKIT_TARGET_URL:-}" ]]; then
     # Prepare systemd source tree
-    git clone "$PACKIT_TARGET_URL" systemd
+    git clone "$PACKIT_TARGET_URL" systemd --branch "$PACKIT_TARGET_BRANCH"
     pushd systemd
 
     # If we're running in a pull request job, merge the remote branch into the current main