Skip to content
Snippets Groups Projects
Verified Commit 48974403 authored by Alexander Wellbrock's avatar Alexander Wellbrock
Browse files

disable shellcheck rule SC2015

The rule notes that this could be mis-used as if-then-else. This is
intended here, since the logic is not meant to be if-then-else but
rather if-then-anyway
parent 5a6633e8
No related branches found
No related tags found
No related merge requests found
Pipeline #5449 passed
...@@ -67,14 +67,17 @@ fi ...@@ -67,14 +67,17 @@ fi
IMAGE_PULL_SUCCESS=0 IMAGE_PULL_SUCCESS=0
# shellcheck disable=SC2015
podman pull "$CONTAINER_IMAGE_NAME" && \ podman pull "$CONTAINER_IMAGE_NAME" && \
IMAGE_PULL_SUCCESS=1 || \ IMAGE_PULL_SUCCESS=1 || \
true true
# shellcheck disable=SC2015
podman pull "$CONTAINER_IMAGE_NAME-amd64" && \ podman pull "$CONTAINER_IMAGE_NAME-amd64" && \
IMAGE_PULL_SUCCESS=1 || \ IMAGE_PULL_SUCCESS=1 || \
true true
# shellcheck disable=SC2015
podman pull "$CONTAINER_IMAGE_NAME-arm64" || \ podman pull "$CONTAINER_IMAGE_NAME-arm64" || \
podman pull "$CONTAINER_IMAGE_NAME-aarch64" && \ podman pull "$CONTAINER_IMAGE_NAME-aarch64" && \
IMAGE_PULL_SUCCESS=1 || \ IMAGE_PULL_SUCCESS=1 || \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment