Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for go (0.11 sec)

  1. buildscripts/minio-upgrade.sh

    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    	export GOPATH=/tmp/gopath
    	export PATH=${PATH}:${GOPATH}/bin
    
    	go install github.com/minio/mc@latest
    
    	## this is needed because github actions don't have
    	## docker-compose on all runners
    	go install github.com/docker/compose/v2/cmd@latest
    	mv -v /tmp/gopath/bin/cmd /tmp/gopath/bin/docker-compose
    
    	TAG=minio/minio:dev make docker
    
    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

    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	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
    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/rewrite-old-new.sh

    		)
    
    		"${WORK_DIR}/mc" mb play/inspects
    		"${WORK_DIR}/mc" mirror inspects play/inspects
    
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	go run ./buildscripts/heal-manual.go "127.0.0.1:${start_port}" "minio" "minio123"
    	sleep 1
    
    	if ! s3-check-md5 \
    		-debug \
    		-versions \
    		-access-key minio \
    		-secret-key minio123 \
    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)
  4. docs/debugging/build.sh

    #!/bin/bash
    
    export CGO_ENABLED=0
    for dir in docs/debugging/*/; do
    	go build -C ${dir} -v
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 20:47:03 GMT 2023
    - 95 bytes
    - Viewed (0)
  5. buildscripts/cross-compile.sh

    function _build() {
    	local osarch=$1
    	IFS=/ read -r -a arr <<<"$osarch"
    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    	export GOARCH=$arch
    	export GO111MODULE=on
    	go build -trimpath -tags kqueue -o /dev/null
    }
    
    function main() {
    	echo "Testing builds for OS/Arch: ${SUPPORTED_OSARCH}"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 19 01:08:22 GMT 2023
    - 958 bytes
    - Viewed (0)
  6. docs/distributed/decom-encrypted-sse-s3.sh

    ./mc rm -r --force myminio/versioned >/dev/null
    
    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    user_count=$(./mc admin user list myminio/ | wc -l)
    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    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. buildscripts/resolve-right-versions.sh

    	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}"
    
    	"${WORK_DIR}/mc" cp --quiet -r "buildscripts/cicd-corpus/" "${WORK_DIR}/cicd-corpus/"
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 16 14:51:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_3site_replication.sh

    export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    unset MINIO_KMS_KES_CERT_FILE
    unset MINIO_KMS_KES_KEY_FILE
    unset MINIO_KMS_KES_ENDPOINT
    unset MINIO_KMS_KES_KEY_NAME
    
    go install -v github.com/minio/minio/docs/debugging/s3-check-md5@latest
    
    wget -q -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    	chmod +x mc
    
    if [ ! -f mc.RELEASE.2021-03-12T03-36-59Z ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. .github/workflows/multipart/migrate.sh

    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    }
    
    cleanup
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    go install -v github.com/minio/minio/docs/debugging/s3-check-md5@latest
    
    export RELEASE=RELEASE.2023-08-29T23-07-35Z
    
    docker-compose -f docker-compose-site1.yaml up -d
    docker-compose -f docker-compose-site2.yaml up -d
    
    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-oidc.sh

    	exit_1
    fi
    
    ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json
    sleep 5
    
    # Generate STS credential with STS call to minio1
    STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go)
    
    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top