Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for local (0.17 sec)

  1. common/scripts/setup_env.sh

    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
        :
    elif [[ ${LOCAL_ARCH} == x86_64 ]]; then
        TARGET_ARCH=amd64
    elif [[ ${LOCAL_ARCH} == armv8* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == arm64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == aarch64* ]]; then
    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. buildscripts/minio-upgrade.sh

    }
    
    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)
    
    	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
    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)
  3. bin/update_ztunnel.sh

    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      local dir result
      dir=$(mktemp -d)
      git clone --depth=1 "https://github.com/istio/${1}.git" -b "${UPDATE_BRANCH}" "${dir}"
    
      result="$(cd "${dir}" && git rev-parse HEAD)"
      rm -rf "${dir}"
    
      echo "${result}"
    }
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 11 17:50:01 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  4. common/scripts/kind_provisioner.sh

    # If Kind cluster was already created then it would be cleaned up in case of errors
    function setup_kind_cluster() {
      local NAME="${1:-istio-testing}"
      local IMAGE="${2:-"${DEFAULT_KIND_IMAGE}"}"
      local CONFIG="${3:-}"
      local NOMETALBINSTALL="${4:-}"
      local CLEANUP="${5:-true}"
    
      check_default_cluster_yaml
    
      # Delete any previous KinD cluster
    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)
  5. common/scripts/report_build_info.sh

      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"
    if [[ -z "${IGNORE_DIRTY_TREE}" ]] && ! git diff-index --quiet HEAD --; then
      tree_status="Modified"
    fi
    
    GIT_DESCRIBE_TAG=$(git describe --tags --always)
    HUB=${HUB:-"docker.io/istio"}
    
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. bin/init.sh

    echo "Copying ${ISTIO_ENVOY_NATIVE_PATH} to ${TARGET_OUT}/${SIDECAR}"
    cp -f "${ISTIO_ENVOY_NATIVE_PATH}" "${TARGET_OUT}/${SIDECAR}"
    
    # Copy the envoy binary to TARGET_OUT_LINUX if the local OS is not Linux
    if [[ "$GOOS_LOCAL" != "linux" ]]; then
       echo "Copying ${ISTIO_ENVOY_LINUX_RELEASE_PATH} to ${TARGET_OUT_LINUX}/${SIDECAR}"
      cp -f "${ISTIO_ENVOY_LINUX_RELEASE_PATH}" "${TARGET_OUT_LINUX}/${SIDECAR}"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. bin/retry.sh

      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
          if [ "$(uname)" == "Darwin" ]; 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)
  8. ci/official/utilities/setup_macos.sh

    # link to the Bazelisk binary which needs to be downloaded.
    if [[ "${TFCI_MACOS_INSTALL_BAZELISK_ENABLE}" == 1 ]]; then
      sudo wget --no-verbose -O "/usr/local/bin/bazel" "${TFCI_MACOS_INSTALL_BAZELISK_URL}"
      chmod +x "/usr/local/bin/bazel"
    fi
    
    # "TFCI_MACOS_UPGRADE_PYENV_ENABLE" is used to decide if we need to upgrade the
    # Pyenv version. We enable this for macOS x86 builds as the default Pyenv on
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. common/scripts/tracing.sh

      { set +x; } 2>/dev/null
      # Throughout, "local" usage is critical to avoid nested calls overwriting things
      local start
      start="$(date -u +%s.%N)"
      # First, get a trace and span ID. We need to get one now so we can propagate it to the child
      # Get trace ID from TRACEPARENT, if present
      local tid
      tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. ci/official/any.sh

    #       export TF_ANY_SCRIPT=ci/official/wheel.sh
    #       ./any.sh
    #
    # 3. DO THE SAME WITH A LOCAL CACHE OR RBE:
    #       export TF_ANY_EXTRA_ENV=ci/official/envs/public_cache,ci/official/envs/disk_cache
    #       ...
    #       ./any.sh
    #     or
    #       export TF_ANY_EXTRA_ENV=ci/official/envs/local_rbe
    #       ./any.sh
    #       ...
    set -euxo pipefail
    cd "$(dirname "$0")/../../"  # tensorflow/
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 2.1K bytes
    - Viewed (1)
Back to top