Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for to (0.13 sec)

  1. buildscripts/minio-upgrade.sh

    		up -d --build
    
    	add_alias
    
    	mc mb minio/minio-test/
    	mc cp ./minio minio/minio-test/to-read/
    	mc cp /etc/hosts minio/minio-test/to-read/hosts
    	mc anonymous set download minio/minio-test
    
    	verify_checksum_mc ./minio minio/minio-test/to-read/minio
    
    	curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum
    
    	MINIO_VERSION=dev docker-compose -f "buildscripts/upgrade-tests/compose.yml" stop
    }
    
    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)
  2. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    #!/bin/bash
    
    # This script is used to test the migration of IAM content from old minio
    # instance to new minio instance.
    #
    # To run it locally, start the LDAP server in github.com/minio/minio-iam-testing
    # repo (e.g. make podman-run), and then run this script.
    #
    # This script assumes that LDAP server is at:
    #
    #   `localhost:1389`
    #
    # if this is not the case, set the environment variable
    # `_MINIO_LDAP_TEST_SERVER`.
    
    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)
  3. buildscripts/verify-healing.sh

    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    
    	if [ ! -f /tmp/mc ]; 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)
  4. buildscripts/verify-build.sh

    		echo "failed to download https://github.com/minio/mc"
    		purge "${MC_BUILD_DIR}"
    		exit 1
    	fi
    
    	(cd "${MC_BUILD_DIR}" && go build -o "$WORK_DIR/mc")
    
    	# remove mc source.
    	purge "${MC_BUILD_DIR}"
    
    	shred -n 1 -s 1M - 1>"$FILE_1_MB" 2>/dev/null
    	shred -n 1 -s 65M - 1>"$FILE_65_MB" 2>/dev/null
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. buildscripts/heal-inconsistent-versions.sh

    	export MINIO_CI_CD=1
    
    	mkdir ${WORK_DIR}
    	C_PWD=${PWD}
    	if [ ! -x "$PWD/mc" ]; then
    		MC_BUILD_DIR="mc-$RANDOM"
    		if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    			echo "failed to download https://github.com/minio/mc"
    			purge "${MC_BUILD_DIR}"
    			exit 1
    		fi
    
    		(cd "${MC_BUILD_DIR}" && go build -o "$C_PWD/mc")
    
    		# remove mc source.
    		purge "${MC_BUILD_DIR}"
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-empty-erasure-set.sh

    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    }
    
    function perform_test() {
    	start_minio_3_node 120 $2
    
    	echo "Testing Distributed Erasure setup healing of drives"
    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    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)
  7. buildscripts/checkdeps.sh

    		exit 1
    	fi
    
    	installed_go_version=$(go version | sed 's/^.* go\([0-9.]*\).*$/\1/')
    	if ! check_minimum_version "${GO_VERSION}" "${installed_go_version}"; then
    		echo "Go runtime version '${installed_go_version}' is unsupported. Minimum supported version: ${GO_VERSION} to compile."
    		exit 1
    	fi
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. buildscripts/rewrite-old-new.sh

    	unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects
    	export MINIO_CI_CD=1
    
    	MC_BUILD_DIR="mc-$RANDOM"
    	if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    		echo "failed to download https://github.com/minio/mc"
    		purge "${MC_BUILD_DIR}"
    		exit 1
    	fi
    
    	(cd "${MC_BUILD_DIR}" && go build -o "$WORK_DIR/mc")
    
    	# remove mc source.
    	purge "${MC_BUILD_DIR}"
    
    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)
  9. docs/bucket/replication/setup_replication.sh

       ]
      }
     ]
    }
    EOF
    mc admin policy create dest replpolicy ./replpolicy.json
    cat ./replpolicy.json
    
    # assign this replication policy to repluser
    mc admin policy attach dest replpolicy --user=repluser
    
    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. .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)
    
    ## we do not need to fail here, since we are going to test
    ## upgrading to master, healing and being able to recover
    ## the last version.
    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads ${failed_count_site1}"
    fi
    
    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