This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILE=${1:-0} | |
if [ "${FILE}" = "0" ]; then | |
echo "need to specify a file" | |
exit 1 | |
fi | |
fileNo=$(ls $FILE-split | wc -l | awk '{print $1}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package systemtemplate | |
import ( | |
"bytes" | |
"crypto/sha256" | |
"encoding/hex" | |
"encoding/json" | |
"fmt" | |
"strings" | |
"testing" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kube-apiserver-arg+: "v=6" | |
kube-controller-manager-arg+: "v=6" | |
kube-scheduler-arg+: "v=6" | |
kubelet-arg+: "v=6" | |
debug: "true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
FILE=$1 | |
if [ -z "${FILE}" ]; then | |
echo "A file must be specified" | |
exit 1 | |
fi | |
BLOB=$(cat ${FILE} | grep -A 1 "wait failed on" | grep -v "wait failed on") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl -n fleet-default patch vmwarevspheremachine <INFRAMACHINE> --subresource=status --type=json -p='[{"op": "replace", "path": "/status/conditions", "value":[{"type":"CreateJob","status":"True"},{"type":"Ready","status":"True"}]}]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -x; | |
if ! command -v rancher-machine &> /dev/null; then | |
echo "rancher-machine must be in your PATH"; | |
exit 1; | |
fi; | |
RDIR=$(pwd)/local-run-data; | |
mkdir -p $RDIR; | |
: > run.env; | |
echo "CATTLE_DEV_MODE=30" >> run.env; | |
eval "$(grep '^ENV CATTLE_SYSTEM_AGENT' package/Dockerfile | awk '{print "export " $2 "=" $3}')"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Space delimited versions of RKE2 or K3s to run | |
V2PROV_TEST_RUN_REGEX=Test_Operation_SetA_Custom_CertificateRotation | |
V2PROV_TEST_DIST=rke2 | |
VERSIONS="v1.27.10+rke2r1 v1.27.11+rke2r1 v1.27.12+rke2r1 v1.27.13+rke2r1 v1.27.14+rke2r1" | |
ITERATIONS=5 | |
GENERATION_MAX=20 |
OlderNewer