Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for break (0.17 sec)

  1. common/scripts/setup_env.sh

        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
      add_KUBECONFIG_if_exists "$1"
    fi
    }
    
    KUBECONFIG=${KUBECONFIG:="$HOME/.kube/config"}
    parse_KUBECONFIG "${KUBECONFIG}"
    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)
  2. .github/workflows/multipart/migrate.sh

    attempt=1
    while true; do
    	diff <(./mc admin group info site1 site-replication-issue-group) <(./mc admin group info site2 site-replication-issue-group)
    
    	if [[ $? -eq 0 ]]; then
    		echo "Outputs are consistent."
    		break
    	fi
    
    	remaining_attempts=$((max_wait_attempts - attempt))
    	if ((attempt >= max_wait_attempts)); then
    		echo "Outputs remain inconsistent after $max_wait_attempts attempts. Exiting with error."
    		exit 1
    	else
    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)
  3. common/scripts/kind_provisioner.sh

    COMMON_SCRIPTS=$(dirname "${BASH_SOURCE:-$0}")
    
    function log() {
      echo -e "$(date -u '+%Y-%m-%dT%H:%M:%S.%NZ')\t$*"
    }
    
    function retry() {
      local n=1
      local max=5
      local delay=5
      while true; do
        "$@" && break
        if [[ $n -lt $max ]]; then
          ((n++))
          log "Command failed. Attempt $n/$max:"
          sleep $delay;
        else
          log "The command has failed after $n attempts."  >&2
          return 2
        fi
      done
    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)
  4. ci/official/containers/linux_arm64/build.sh

      set +e
      for i in $(seq 1 5)
      do
        docker build \
        --build-arg REQUIREMENTS_FILE=jax.requirements.txt \
        --target=$target \
        --cache-from "$IMAGE" \
        -t "$IMAGE"  . && break
      done
      final=$?
      if [ $final -ne 0 ]; then
        exit $final
      fi
      set -e
    
      if [[ -n "$KOKORO_BUILD_ID" ]]; then
        gcloud auth configure-docker
        docker push "$IMAGE"
      fi
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/main/assemblies/files/fess

                       ~/.fess.in.sh \
                       $FESS_HOME/bin/fess.in.sh \
                       "`dirname "$0"`"/fess.in.sh; do
            if [ -r "$include" ]; then
                . "$include"
                break
            fi
        done
    # ...otherwise, source the specified include.
    elif [ -r "$FESS_INCLUDE" ]; then
        . "$FESS_INCLUDE"
    fi
    
    if [ -x "$JAVA_HOME/bin/java" ]; then
        JAVA="$JAVA_HOME/bin/java"
    else
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  6. bin/retry.sh

          # we cannot display
          set -o pipefail; "$@" 2>&1 | tee "${tmpFile}"
        fi
        # shellcheck disable=SC2181
        if [[ $? == 0 ]]; then
          break
        fi
        if ! grep -Eq "${failureRegex}" "${tmpFile}"; then
          fail "Unexpected failure"
        fi
        if [[ $n -lt $max ]]; then
          ((n++))
          echo "Command failed. Attempt $n/$max:"
        else
    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)
  7. .teamcity/mvnw

      then
        echo "Path not specified to find_maven_basedir"
        return 1
      fi
    
      basedir="$1"
      wdir="$1"
      while [ "$wdir" != '/' ] ; do
        if [ -d "$wdir"/.mvn ] ; then
          basedir=$wdir
          break
        fi
        # workaround for JBEAP-8937 (on Solaris 10/Sparc)
        if [ -d "${wdir}" ]; then
          wdir=`cd "$wdir/.."; pwd`
        fi
        # end of workaround
      done
      echo "${basedir}"
    }
    
    Shell Script
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  8. src/test/resources/before_script.sh

    touch ${temp_json_file}
    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
        break
      else
        error_count=$((error_count + 1))
      fi
      if [[ ${error_count} -ge 60 ]] ; then
        echo "Fess is not available."
        cat ${temp_log_file} ./fess-*/logs/*.log
        exit 1
      fi
      sleep 1
    done
    
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 863 bytes
    - Viewed (0)
  9. gradlew

    # 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 -- $(
            printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
            xargs -n1 |
    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)
Back to top