Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for wrap (0.2 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 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. common/scripts/kind_provisioner.sh

      IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
      KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig"
      IP_FAMILY="${2:-ipv4}"
    
      check_default_cluster_yaml
    
      # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here
      trap cleanup_kind_clusters EXIT
    
      function deploy_kind() {
        IDX="${1}"
        CLUSTER_NAME="${CLUSTER_NAMES[$IDX]}"
        CLUSTER_POD_SUBNET="${CLUSTER_POD_SUBNETS[$IDX]}"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  3. docs/bucket/replication/setup_ilm_expiry_replication.sh

    #!/usr/bin/env bash
    
    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb sitec sited; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    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)
  4. 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)
  5. bin/update_crds.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    fail() {
      echo "$@" 1>&2
      exit 1
    }
    
    API_TMP="$(mktemp -d -u)"
    
    trap 'rm -rf "${API_TMP}"' EXIT
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    REPO="github.com/istio/api"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_2site_existing_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/bucket/replication/setup_3site_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb sitec; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. gradlew

    # post-process each arg (as a line of input to sed) to backslash-escape any
    # character that might be a shell metacharacter, then use eval to reverse
    # that process (while maintaining the separation between arguments), and wrap
    # the whole thing up as a single "set" statement.
    #
    # This will of course break if any of these variables contains a newline or
    # an unmatched quote.
    #
    
    eval "set -- $(
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. bin/retry.sh

    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    function retry {
      local tmpFile
      tmpFile=$(mktemp)
      trap 'rm -f "${tmpFile}"' EXIT
    
      local failureRegex="$1"
      shift
      local n=1
      local max=5
      while true; do
        unset SHELL # Don't let environment control which shell to use
        if isatty; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. fuzzing/fuzzingserver-test.sh

    cd "$SCRIPT_DIR"
    
    which wstest
    if [ $? != 0 ]; then
      echo "Run 'pip install autobahntestsuite', maybe with 'sudo'."
      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    java -jar target/okhttp-tests-*-jar-with-dependencies.jar
    
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 673 bytes
    - Viewed (0)
Back to top