File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11disable =SC2086
22disable =SC2034
3- disable =SC2046
3+ disable =SC2046
4+ disable =SC2068
5+ disable =SC2154
Original file line number Diff line number Diff line change 2626kubectl cluster-info --context kind-$CLUSTER_NAME
2727echo " Sleep to give times to node to populate with all info"
2828kubectl 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
3031export BRIDGE_IP=" 172.18.0.1"
3132kubectl get nodes -o wide
3233cd $ROOT_DIR /tests && $GINKGO -r -v ./e2e
Original file line number Diff line number Diff line change 367367
368368# Prepare the image and copy over the files
369369
370- export DRIVE
371370DRIVE=$( losetup -f " ${output_image} " --show)
371+ export DRIVE
372372if [ -z " ${DRIVE} " ]; then
373373 echo " Cannot execute losetup for $output_image "
374374 exit 1
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ truncate -s "+$((1024*1024))" $OUT
7171
7272if [ -n " $EXTEND " ]; then
7373 echo " Extending image of $EXTEND MB"
74- truncate -s " +$(( $ EXTEND* 1024 * 1024 )) " $OUT
74+ truncate -s " +$(( EXTEND* 1024 * 1024 )) " $OUT
7575fi
7676
7777# Create the partition table in $OUT (assumes sectors of 512 bytes)
You can’t perform that action at this time.
0 commit comments