Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for for (0.14 sec)

  1. common/scripts/setup_env.sh

          IMAGE_VERSION
          REPO_ROOT
          BUILD_WITH_CONTAINER
    )
    
    # For non container build, we need to write env to file
    if [[ "${1}" == "envfile" ]]; then
      # ! does a variable-variable https://stackoverflow.com/a/10757531/374797
      for var in "${VARS[@]}"; do
        echo "${var}"="${!var}"
      done
    else
      for var in "${VARS[@]}"; do
        # shellcheck disable=SC2163
        export "${var}"
      done
    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)
  2. buildscripts/verify-healing.sh

    	start_minio_3_node 120 $start_port
    
    	check_heal ${1}
    	rv=$?
    	if [ "$rv" == "1" ]; then
    		for i in $(seq 1 3); do
    			echo "server$i log:"
    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		pkill -9 minio
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	perform_test "2" ${start_port}
    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-upgrade.sh

    		exit 1
    	fi
    	echo "matches - ${expected}, got ${got}"
    }
    
    add_alias() {
    	for i in $(seq 1 4); do
    		echo "... attempting to add alias $i"
    		until (mc alias set minio http://127.0.0.1:9000 minioadmin minioadmin); do
    			echo "...waiting... for 5secs" && sleep 5
    		done
    	done
    
    	echo "Sleeping for nginx"
    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    	export GOPATH=/tmp/gopath
    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)
  4. buildscripts/verify-healing-empty-erasure-set.sh

    	set -x
    	start_minio_3_node 120 $2
    
    	rv=$(check_online)
    	if [ "$rv" == "1" ]; then
    		for i in $(seq 1 3); do
    			echo "server$i log:"
    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		pkill -9 minio
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	perform_test "2" ${start_port}
    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)
  5. docs/bucket/replication/setup_ilm_expiry_replication.sh

    flag2=$(./mc admin replicate info sitea --json | jq '.sites[1]."replicate-ilm-expiry"')
    if [ "$flag1" != "true" ]; then
    	echo "BUG: Expected ILM expiry replication not set for 'sitea'"
    	exit 1
    fi
    if [ "$flag2" != "true" ]; then
    	echo "BUG: Expected ILM expiry replication not set for 'siteb'"
    	exit 1
    fi
    
    ## Check if ILM expiry rules replicated
    sleep 30s
    
    ./mc ilm rule list siteb/bucket
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. manifests/addons/gen.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    set -eux
    
    # This script sets up the plain text rendered deployments for addons
    # See samples/addons/README.md for more information
    
    ADDONS="${WD}/../../samples/addons"
    DASHBOARDS="${WD}/dashboards"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-minio-idp.sh

    	exit_1
    fi
    ./mc admin policy attach minio1 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "adding policy mapping failed, exiting.."
    	exit_1
    fi
    sleep 10
    
    # unset policy for foobarx in minio2
    ./mc admin policy detach minio2 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "unset policy mapping failed, exiting.."
    	exit_1
    fi
    
    # create a bucket bucket2 on minio1.
    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)
  8. common/scripts/kind_provisioner.sh

      # wait till they are provisioned successfully.
      declare -a DEPLOY_KIND_JOBS
      for i in "${!CLUSTER_NAMES[@]}"; do
        deploy_kind "${i}" & DEPLOY_KIND_JOBS+=("${!}")
      done
    
      for pid in "${DEPLOY_KIND_JOBS[@]}"; do
        wait "${pid}" || exit 1
      done
    
      # Install MetalLB for LoadBalancer support. Must be done synchronously since METALLB_IPS is shared.
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  9. src/buildall.bash

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    # Usage: buildall.bash [-e] [pattern]
    #
    # buildall.bash builds the standard library for all Go-supported
    # architectures.
    #
    # Originally the Go build system used it as a smoke test to quickly
    # flag portability issues in builders named "misc-compile" or "all-compile".
    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)
  10. .github/workflows/multipart/migrate.sh

    set -x
    
    ## change working directory
    cd .github/workflows/multipart/
    
    function cleanup() {
    	docker-compose -f docker-compose-site1.yaml rm -s -f || true
    	docker-compose -f docker-compose-site2.yaml rm -s -f || true
    	for volume in $(docker volume ls -q | grep minio); do
    		docker volume rm ${volume} || true
    	done
    
    	docker system prune -f || true
    	docker volume prune -f || true
    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    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)
Back to top