mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-04-27 11:11:44 +00:00
ignore checks and fix some
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
1b345623bc
commit
9437413a24
@ -1,3 +1,5 @@
|
||||
disable=SC2086
|
||||
disable=SC2034
|
||||
disable=SC2046
|
||||
disable=SC2046
|
||||
disable=SC2068
|
||||
disable=SC2154
|
||||
|
@ -26,7 +26,8 @@ set -e
|
||||
kubectl cluster-info --context kind-$CLUSTER_NAME
|
||||
echo "Sleep to give times to node to populate with all info"
|
||||
kubectl wait --for=condition=Ready node/$CLUSTER_NAME-control-plane
|
||||
export EXTERNAL_IP=$(kubectl get nodes -o jsonpath='{.items[].status.addresses[?(@.type == "InternalIP")].address}')
|
||||
EXTERNAL_IP=$(kubectl get nodes -o jsonpath='{.items[].status.addresses[?(@.type == "InternalIP")].address}')
|
||||
export EXTERNAL_IP
|
||||
export BRIDGE_IP="172.18.0.1"
|
||||
kubectl get nodes -o wide
|
||||
cd $ROOT_DIR/tests && $GINKGO -r -v ./e2e
|
@ -367,8 +367,8 @@ fi
|
||||
|
||||
# Prepare the image and copy over the files
|
||||
|
||||
export DRIVE
|
||||
DRIVE=$(losetup -f "${output_image}" --show)
|
||||
export DRIVE
|
||||
if [ -z "${DRIVE}" ]; then
|
||||
echo "Cannot execute losetup for $output_image"
|
||||
exit 1
|
||||
|
@ -71,7 +71,7 @@ truncate -s "+$((1024*1024))" $OUT
|
||||
|
||||
if [ -n "$EXTEND" ]; then
|
||||
echo "Extending image of $EXTEND MB"
|
||||
truncate -s "+$(($EXTEND*1024*1024))" $OUT
|
||||
truncate -s "+$((EXTEND*1024*1024))" $OUT
|
||||
fi
|
||||
|
||||
# Create the partition table in $OUT (assumes sectors of 512 bytes)
|
||||
|
Loading…
Reference in New Issue
Block a user