- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for if (0.14 sec)
-
buildscripts/verify-build.sh
} function main() { echo "Testing in FS setup" if ! run_test_fs; then echo "FAILED" purge "$WORK_DIR" exit 1 fi echo "Testing in Erasure setup" if ! run_test_erasure; then echo "FAILED" purge "$WORK_DIR" exit 1 fi echo "Testing in Distributed Erasure setup" if ! run_test_dist_erasure; then echo "FAILED" purge "$WORK_DIR" exit 1
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) -
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/heal-inconsistent-versions.sh
set -E set -o pipefail set -x WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" 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 if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi function start_minio_4drive() { start_port=$1
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) -
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) -
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) -
buildscripts/checkdeps.sh
exit 1 ;; esac } assert_check_golang_env() { if ! which go >/dev/null 2>&1; then echo "Cannot find go binary in your PATH configuration, please refer to Go installation document at https://golang.org/doc/install" exit 1 fi installed_go_version=$(go version | sed 's/^.* go\([0-9.]*\).*$/\1/') if ! check_minimum_version "${GO_VERSION}" "${installed_go_version}"; then
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) -
buildscripts/verify-healing-with-root-disks.sh
#!/bin/bash -e set -E set -o pipefail set -x if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi WORK_DIR="$(mktemp -d)" MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) function start_minio() { start_port=$1 export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio123
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 26 05:07:25 GMT 2023 - 2.2K bytes - Viewed (0) -
dockerscripts/docker-entrypoint.sh
#!/bin/sh # # If command starts with an option, prepend minio. if [ "${1}" != "minio" ]; then if [ -n "${1}" ]; then set -- minio "$@" fi fi docker_switch_user() { if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@" else echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Nov 03 21:18:18 GMT 2023 - 675 bytes - Viewed (0)