Skip to content

Commit 9437413

Browse files
committed
ignore checks and fix some
Signed-off-by: Mauro Morales <[email protected]>
1 parent 1b34562 commit 9437413

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.shellcheckrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
disable=SC2086
22
disable=SC2034
3-
disable=SC2046
3+
disable=SC2046
4+
disable=SC2068
5+
disable=SC2154

script/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ set -e
2626
kubectl cluster-info --context kind-$CLUSTER_NAME
2727
echo "Sleep to give times to node to populate with all info"
2828
kubectl wait --for=condition=Ready node/$CLUSTER_NAME-control-plane
29-
export EXTERNAL_IP=$(kubectl get nodes -o jsonpath='{.items[].status.addresses[?(@.type == "InternalIP")].address}')
29+
EXTERNAL_IP=$(kubectl get nodes -o jsonpath='{.items[].status.addresses[?(@.type == "InternalIP")].address}')
30+
export EXTERNAL_IP
3031
export BRIDGE_IP="172.18.0.1"
3132
kubectl get nodes -o wide
3233
cd $ROOT_DIR/tests && $GINKGO -r -v ./e2e

tools-image/build-arm-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ fi
367367

368368
# Prepare the image and copy over the files
369369

370-
export DRIVE
371370
DRIVE=$(losetup -f "${output_image}" --show)
371+
export DRIVE
372372
if [ -z "${DRIVE}" ]; then
373373
echo "Cannot execute losetup for $output_image"
374374
exit 1

tools-image/raw-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ truncate -s "+$((1024*1024))" $OUT
7171

7272
if [ -n "$EXTEND" ]; then
7373
echo "Extending image of $EXTEND MB"
74-
truncate -s "+$(($EXTEND*1024*1024))" $OUT
74+
truncate -s "+$((EXTEND*1024*1024))" $OUT
7575
fi
7676

7777
# Create the partition table in $OUT (assumes sectors of 512 bytes)

0 commit comments

Comments
 (0)