Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for user (0.14 sec)

  1. common/scripts/setup_env.sh

    set -e
    
    # https://stackoverflow.com/questions/59895/how-can-i-get-the-source-directory-of-a-bash-script-from-within-the-script-itsel
    # 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)
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. common/scripts/report_build_info.sh

    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"}
    
    # used by common/scripts/gobuild.sh
    echo "istio.io/istio/pkg/version.buildVersion=${VERSION:-$BUILD_GIT_REVISION}"
    echo "istio.io/istio/pkg/version.buildGitRevision=${BUILD_GIT_REVISION}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. common/scripts/kind_provisioner.sh

    }
    
    # setup_kind_cluster creates new KinD cluster with given name, image and configuration
    # 1. NAME: Name of the Kind cluster (optional)
    # 2. IMAGE: Node image used by KinD (optional)
    # 3. CONFIG: KinD cluster configuration YAML file. If not specified then DEFAULT_CLUSTER_YAML is used
    # 4. NOMETALBINSTALL: Dont install matllb if set.
    # This function returns 0 when everything goes well, or 1 otherwise
    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)
  4. bin/build_ztunnel.sh

      echo "Copying $2 to $(dirname "$2")/${3}"
      cp -f "$2" "$(dirname "$2")/${3}"
      popd
    
      # Also copy it to out/$os_arch/ztunnel as that's whats used in the build
      echo "Copying '${2}' to ${TARGET_OUT_LINUX}/ztunnel"
      cp -f "${2}" "${TARGET_OUT_LINUX}/ztunnel"
    }
    
    function maybe_build_ztunnel() {
      # TODO detect git changes or something to avoid unnecessarily building
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. bin/update_crds.sh

    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    REPO="github.com/istio/api"
    # using the pseudo version we have in go.mod file. e.g. v.0.0.0-<timestamp>-<SHA>
    # first check if there's a replace: e.g. replace istio.io/api => github.com/USER/istioapi v0.0.0-<timestamp>-<SHA>
    SHA=$(grep "istio.io/api" go.mod | grep "^replace" | awk -F "-" '{print $NF}')
    if [ -n "${SHA}" ]; then
      REPO=$(grep "istio.io/api" go.mod | grep "^replace" | awk '{print $4}')
    else
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. common/scripts/gobuild.sh

    export CGO_ENABLED=${CGO_ENABLED:-0}
    
    if [[ "${STATIC}" !=  "1" ]];then
        LDFLAGS=""
    fi
    
    # gather buildinfo if not already provided
    # For a release build BUILDINFO should be produced
    # at the beginning of the build and used throughout
    if [[ -z ${BUILDINFO} ]];then
        BUILDINFO=$(mktemp)
        "${SCRIPTPATH}/report_build_info.sh" > "${BUILDINFO}"
    fi
    
    # BUILD LD_EXTRAFLAGS
    LD_EXTRAFLAGS=""
    
    while read -r line; do
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Oct 21 14:08:46 GMT 2022
    - 2.4K bytes
    - Viewed (0)
Back to top