- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for if (0.23 sec)
-
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) -
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 Apr 28 19:28:10 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 Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 15:49:53 GMT 2024 - 3.4K 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 Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 05 11:39:55 GMT 2024 - 2.2K bytes - Viewed (0) -
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) -
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 Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Mar 07 00:19:24 GMT 2024 - 11.9K bytes - Viewed (0) -
docs/site-replication/run-multi-site-ldap.sh
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 user info minio1 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io" if [ $? -ne 0 ]; then echo "policy mapping missing, exiting.." exit_1 fi
Shell Script - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Feb 14 04:51:23 GMT 2024 - 10K bytes - Viewed (1) -
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 Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 12.7K 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 Apr 28 19:28:10 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 Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 3.5K bytes - Viewed (1)