Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for if (0.2 sec)

  1. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. buildscripts/minio-upgrade.sh

    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    	expected=$(mc cat "$1" | sha256sum)
    	local got
    	got=$(mc cat "$2" | sha256sum)
    
    	if [ "${expected}" != "${got}" ]; then
    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. ci/official/requirements_updater/updater.sh

    # limitations under the License.
    # ==============================================================================
    
    # script to run pip-compile for each requirement.
    # if there is a change in requirements.in then all lock files will be updated
    # accordingly
    
    # All commands run relative to this directory
    cd "$(dirname "${BASH_SOURCE[0]}")"
    
    mv BUILD.bazel BUILD
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:05:45 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. common/scripts/kind_provisioner.sh

        # Kubernetes 1.15+
        CONFIG=${DEFAULT_CLUSTER_YAML}
      fi
    
      # Configure the cluster IP Family if explicitly set
      if [ "${IP_FAMILY}" != "ipv4" ]; then
        grep "ipFamily: ${IP_FAMILY}" "${CONFIG}" || \
        cat <<EOF >> "${CONFIG}"
    networking:
      ipFamily: ${IP_FAMILY}
    EOF
      fi
    
      KIND_WAIT_FLAG="--wait=180s"
      KIND_DISABLE_CNI="false"
      if [[ -n "${KUBERNETES_CNI:-}" ]]; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  9. .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)
  10. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin replicate status minio3
    
    sleep 10
    
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio3 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top