- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for if (0.11 sec)
-
common/scripts/setup_env.sh
# testcase: "a b:c:d e" parse_KUBECONFIG () { TMPDIR="" if [[ "$1" =~ ([^:]*):(.*) ]]; then while true; do rematch=${BASH_REMATCH[1]} add_KUBECONFIG_if_exists "$rematch" remainder="${BASH_REMATCH[2]}" if [[ ! "$remainder" =~ ([^:]*):(.*) ]]; then if [[ -n "$remainder" ]]; then add_KUBECONFIG_if_exists "$remainder" break fi fi done else
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 16:31:40 GMT 2024 - 7.6K bytes - Viewed (0) -
buildscripts/verify-healing.sh
if ! ps -p $pid1 1>&2 >/dev/null; then echo "server1 log:" cat "${WORK_DIR}/dist-minio-server1.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi if ! ps -p $pid2 1>&2 >/dev/null; then echo "server2 log:" cat "${WORK_DIR}/dist-minio-server2.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi if ! ps -p $pid3 1>&2 >/dev/null; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:55:41 GMT 2024 - 4.2K bytes - Viewed (1) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
export PATH="${PATH}":"${GOPATH}"/bin if which mc &>/dev/null; then echo "mc is already installed" else echo "Installing mc:" go install github.com/minio/mc@latest fi if [ ! -x ./minio.${OLD_VERSION} ]; then echo "Downloading minio.${OLD_VERSION} binary" curl -o minio.${OLD_VERSION} ${OLD_BINARY_LINK} chmod +x minio.${OLD_VERSION} fi if [ -z "$_MINIO_LDAP_TEST_SERVER" ]; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:49:53 GMT 2024 - 3.4K bytes - Viewed (0) -
buildscripts/verify-healing-empty-erasure-set.sh
pid3=$! disown $pid3 sleep "$1" if ! ps -p $pid1 1>&2 >/dev/null; then echo "server1 log:" cat "${WORK_DIR}/dist-minio-server1.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi if ! ps -p $pid2 1>&2 >/dev/null; then echo "server2 log:" cat "${WORK_DIR}/dist-minio-server2.log" echo "FAILED" purge "$WORK_DIR" exit 1 fi if ! ps -p $pid3 1>&2 >/dev/null; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:55:41 GMT 2024 - 3.2K bytes - Viewed (0) -
buildscripts/rewrite-old-new.sh
MINIO_OLD=("$PWD/minio.RELEASE.2020-10-28T08-16-50Z" --config-dir "$MINIO_CONFIG_DIR" server) MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi function download_old_release() { if [ ! -f minio.RELEASE.2020-10-28T08-16-50Z ]; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 3.5K bytes - Viewed (1) -
docs/distributed/decom-encrypted-sse-s3.sh
expanded_policy_count=$(./mc admin policy list myminio/ | wc -l) if [ $user_count -ne $expanded_user_count ]; then echo "BUG: original user count differs from expanded setup" exit 1 fi if [ $policy_count -ne $expanded_policy_count ]; then echo "BUG: original policy count differs from expanded setup" exit 1 fi ./mc version info myminio/versioned | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 4.5K bytes - Viewed (0) -
src/buildall.bash
# # Options: # -e: stop at first failure if [ ! -f run.bash ]; then echo 'buildall.bash must be run from $GOROOT/src' 1>&2 exit 1 fi sete=false if [ "$1" = "-e" ]; then sete=true shift fi if [ "$sete" = true ]; then set -e fi pattern="$1" if [ "$pattern" = "" ]; then pattern=. fi ./make.bash || exit 1 GOROOT="$(cd .. && pwd)"
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 23 17:45:23 GMT 2024 - 2.1K bytes - Viewed (0) -
.github/workflows/multipart/migrate.sh
failed_count_site2=$(s3-check-md5 -versions -access-key minioadmin -secret-key minioadmin -endpoint http://site2-nginx:9002 -bucket testbucket 2>&1 | grep FAILED | wc -l) if [ $failed_count_site1 -ne 0 ]; then echo "failed with multipart on site1 uploads" exit 1 fi if [ $failed_count_site2 -ne 0 ]; then echo "failed with multipart on site2 uploads" exit 1 fi ./mc cp -r --quiet /usr/bin site1/testbucket/ sleep 5
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 15:54:24 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication.sh
count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l) if [ "${count1}" -ne 1 ]; then echo "BUG: object minio1/test-bucket/plainfile not found" exit_1 fi count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l) if [ "${count2}" -ne 1 ]; then echo "BUG: object minio1/test-bucket/encrypted not found" exit_1 fi count3=$(./mc ls minio1/test-bucket/defpartsize --insecure | wc -l) if [ "${count3}" -ne 1 ]; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 08:43:09 GMT 2024 - 9.7K bytes - Viewed (1) -
bin/update_crds.sh
# first check if there's a replace: e.g. replace istio.io/api => github.com/USER/istioapi v0.0.0-<timestamp>-<SHA> SHA=$(grep "istio.io/api" go.mod | grep "^replace" | awk -F "-" '{print $NF}') if [ -n "${SHA}" ]; then REPO=$(grep "istio.io/api" go.mod | grep "^replace" | awk '{print $4}') else SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }')
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 14:28:27 GMT 2024 - 3.4K bytes - Viewed (0)