Skip to content

Commit f65dd87

Browse files
committed
automated: linux: torizon: integration: fetch git repository branch with
variable Delete redundant git checkout cmd and fetch selected branch directly with usage of BRANCH_NAME variable Signed-off-by: Pawel Szymaszek <[email protected]>
1 parent 859e46d commit f65dd87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

automated/linux/torizon/integration-tests.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ curl -LsSf "https://astral.sh/uv/${UV_VERSION}/install.sh" | sh
6060
. "$HOME"/.local/bin/env
6161

6262
# clone baklava-integration repo and install required pip pkgs
63-
get_test_program "https://gitlab-ci-token:${GITLAB_TOKEN}@gitlab.com/LinaroLtd/lava/appliance/baklava-integration/docker-tests.git" "docker-tests" "main"
64-
git checkout "$BRANCH_NAME"
63+
get_test_program "https://gitlab-ci-token:${GITLAB_TOKEN}@gitlab.com/LinaroLtd/lava/appliance/baklava-integration/docker-tests.git" "docker-tests" "$BRANCH_NAME"
6564

6665
export SPIRE_PAT_TOKEN LAVA_TOKEN LAVA_PASSWORD SQUAD_UPLOAD_URL SQUAD_ARCHIVE_SUBMIT_TOKEN
6766

0 commit comments

Comments
 (0)