Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for dev (0.17 sec)

  1. buildscripts/minio-upgrade.sh

    #!/bin/bash
    
    trap 'cleanup $LINENO' ERR
    
    # shellcheck disable=SC2120
    cleanup() {
    	MINIO_VERSION=dev docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm -s -f
    	docker volume prune -f
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. buildscripts/verify-healing.sh

    	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
    		echo "server3 log:"
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.2K bytes
    - Viewed (1)
  3. src/packaging/deb/init.d/fess

    	return=$?
    	if [ $return -eq 0 ]; then
    		i=0
    		timeout=10
    		# Wait for the process to be properly started before exiting
    		until { kill -0 `cat "$PID_FILE"`; } >/dev/null 2>&1
    		do
    			sleep 1
    			i=$(($i + 1))
    			if [ $i -gt $timeout ]; then
    				log_end_msg 1
    				exit 1
    			fi
    		done
    	fi
    	log_end_msg $return
    	exit $return
    	;;		
      stop)
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. buildscripts/heal-inconsistent-versions.sh

    		# remove mc source.
    		purge "${MC_BUILD_DIR}"
    	fi
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/disk{1...4}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 5
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${PWD}/mc" mb --with-versioning minio/bucket
    
    	for i in $(seq 1 4); do
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

    # Note: the normal way we use in other scripts in Istio do not work when `source`d, which is why we use this approach
    SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
    REPO_ROOT="$(dirname "$(dirname "${SCRIPT_DIR}")")"
    
    LOCAL_ARCH=$(uname -m)
    
    # Pass environment set target architecture to build system
    if [[ ${TARGET_ARCH} ]]; then
        # Target explicitly set
        :
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. buildscripts/verify-build.sh

    		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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  7. buildscripts/verify-healing-with-root-disks.sh

    	for i in $(seq 1 4); do
    		while [ "$(curl -m 1 -s -o /dev/null -w "%{http_code}" http://localhost:$((start_port + i)))" -ne "403" ]; do
    			echo -n "."
    			sleep 1
    		done
    	done
    
    }
    
    # Prepare fake disks with losetup
    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. common/scripts/report_build_info.sh

    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    if BUILD_GIT_REVISION=$(git rev-parse HEAD 2> /dev/null); then
      if [[ -z "${IGNORE_DIRTY_TREE}" ]] && [[ -n "$(git status --porcelain 2>/dev/null)" ]]; then
        BUILD_GIT_REVISION=${BUILD_GIT_REVISION}"-dirty"
      fi
    else
      BUILD_GIT_REVISION=unknown
    fi
    
    # Check for local changes
    tree_status="Clean"
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. buildscripts/rewrite-old-new.sh

    	# remove mc source.
    	purge "${MC_BUILD_DIR}"
    
    	"${MINIO_OLD[@]}" --address ":$start_port" "${WORK_DIR}/xl{1...16}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 10
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" mb minio/healing-rewrite-bucket --quiet --with-lock
    	"${WORK_DIR}/mc" cp \
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 3.4K bytes
    - Viewed (1)
  10. docs/site-replication/run-multi-site-ldap.sh

    ./mc admin user info minio3 "uid=dillon,ou=people,ou=swengg,dc=min,dc=io"
    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    ./mc admin policy info minio3 rw >/dev/null 2>&1
    
    ./mc admin policy remove minio3 rw
    
    sleep 10
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
Back to top