Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for bCleanup (4.05 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. buildscripts/verify-healing-with-root-disks.sh

    		echo "A root disk is formatted unexpectedely"
    		cat "${WORK_DIR}/server4.log"
    		exit -1
    	fi
    }
    
    function cleanup() {
    	pkill minio
    	sudo umount ${WORK_DIR}/mnt/disk{1..3}/
    	sudo rm /dev/minio-loopdisk*
    	rm -rf "$WORK_DIR"
    }
    
    (prepare_block_devices)
    (main "$@")
    rv=$?
    
    cleanup
    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)
  3. docs/site-replication/run-multi-site-ldap.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	cat /tmp/minio1_2.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	cat /tmp/minio2_2.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	cat /tmp/minio3_2.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 04:51:23 GMT 2024
    - 10K bytes
    - Viewed (1)
  4. docs/site-replication/run-multi-site-minio-idp.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	cat /tmp/minio1_2.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	cat /tmp/minio2_2.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	cat /tmp/minio3_2.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    #####################################################################
    
    # cleanup_kind_cluster takes a single parameter NAME
    # and deletes the KinD cluster with that name
    function cleanup_kind_cluster() {
      echo "Test exited with exit code $?."
      NAME="${1}"
      kind export logs --name "${NAME}" "${ARTIFACTS}/kind" -v9 || true
      if [[ -z "${SKIP_CLEANUP:-}" ]]; then
        echo "Cleaning up kind cluster"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  6. .github/workflows/multipart/migrate.sh

    #!/bin/bash
    
    set -x
    
    ## change working directory
    cd .github/workflows/multipart/
    
    function cleanup() {
    	docker-compose -f docker-compose-site1.yaml rm -s -f || true
    	docker-compose -f docker-compose-site2.yaml rm -s -f || true
    	for volume in $(docker volume ls -q | grep minio); do
    		docker volume rm ${volume} || true
    	done
    
    	docker system prune -f || true
    	docker volume prune -f || true
    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)
  7. docs/site-replication/run-sse-kms-object-replication.sh

    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	pkill -9 kes || sudo pkill -9 kes
    	rm -rf ${PWD}/keys
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    cleanup
    
    export MINIO_CI_CD=1
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-oidc.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/minio{1,2,3}
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    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)
  9. ci/official/utilities/setup.sh

    fi
    
    # Single handler for all cleanup actions, triggered on an EXIT trap.
    # TODO(angerson) Making this use different scripts may be overkill.
    cleanup() {
      if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
        ./ci/official/utilities/cleanup_docker.sh
      fi
      ./ci/official/utilities/cleanup_summary.sh
    }
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  10. docs/distributed/distributed-from-config-file.sh

    #!/usr/bin/env bash
    
    set -e
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio || true
    	pkill -9 minio || true
    	rm -rf /tmp/xl/ || true
    	rm -rf /tmp/minio.configfile.{1,2,3,4} || true
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    unset MINIO_KMS_KES_KEY_FILE
    unset MINIO_KMS_KES_ENDPOINT
    unset MINIO_KMS_KES_KEY_NAME
    
    export MINIO_CI_CD=1
    
    if [ ! -f ./mc ]; then
    	os="$(uname -s)"
    	arch="$(uname -m)"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top