Skip to content

Commit 14068a5

Browse files
committed
automated: linux: torizon: integration: stylecheck fix
- disable stylecheck 2154 - correct case syntax - delete redundant git checkout cmd Signed-off-by: Pawel Szymaszek <[email protected]>
1 parent 101efef commit 14068a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

automated/linux/torizon/integration-tests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ GECKO_VERSION="v0.36.0"
2626
UV_VERSION="0.9.4"
2727

2828
detect_abi
29+
# shellcheck disable=SC2154
2930
case "${abi}" in
30-
x86_64)
31+
x86_64)
3132
GECKODRIVER_ARCH="linux64"
3233
SPIRE_ARCH="linux_amd64"
3334
;;
34-
arm64|aarch64)
35+
arm64|aarch64)
3536
GECKODRIVER="linux-aarch64"
3637
SPIRE_ARCH="linux_arm64"
3738
;;
38-
*)
39+
*)
3940
echo "Unknown architecture: ${abi}"
4041
exit 1
4142
;;
@@ -59,8 +60,7 @@ curl -LsSf "https://astral.sh/uv/${UV_VERSION}/install.sh" | sh
5960
. "$HOME"/.local/bin/env
6061

6162
# clone baklava-integration repo and install required pip pkgs
62-
get_test_program "https://gitlab-ci-token:${GITLAB_TOKEN}@gitlab.com/LinaroLtd/lava/appliance/baklava-integration/docker-tests.git" "docker-tests" "main"
63-
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"
6464

6565
export SPIRE_PAT_TOKEN LAVA_TOKEN LAVA_PASSWORD SQUAD_UPLOAD_URL SQUAD_ARCHIVE_SUBMIT_TOKEN
6666

0 commit comments

Comments
 (0)