Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for go (0.14 sec)

  1. common/scripts/report_build_info.sh

    # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY
    #
    # The original version of this file is located in the https://github.com/istio/common-files repo.
    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    # Copyright Istio Authors
    #
    #   Licensed under the Apache License, Version 2.0 (the "License");
    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)
  2. common/scripts/setup_env.sh

    else
      LOCAL_OUT="${TARGET_OUT}"
    fi
    
    go_os_arch=${LOCAL_OUT##*/}
    # Golang OS/Arch format
    LOCAL_GO_OS=${go_os_arch%_*}
    LOCAL_GO_ARCH=${go_os_arch##*_}
    
    BUILD_WITH_CONTAINER=0
    
    VARS=(
          CONTAINER_TARGET_OUT
          CONTAINER_TARGET_OUT_LINUX
          TARGET_OUT
          TARGET_OUT_LINUX
          LOCAL_GO_OS
          LOCAL_GO_ARCH
          LOCAL_OUT
          LOCAL_OS
          TARGET_OS
    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)
  3. common/scripts/run.sh

        --env-file <(env | grep -v ${ENV_BLOCKLIST}) \
        -e IN_BUILD_CONTAINER=1 \
        -e TZ="${TIMEZONE:-$TZ}" \
        --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \
        --mount "type=volume,source=go,destination=/go" \
        --mount "type=volume,source=gocache,destination=/gocache" \
        --mount "type=volume,source=cache,destination=/home/.cache" \
        --mount "type=volume,source=crates,destination=/home/.cargo/registry" \
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 02:34:11 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  4. bin/init.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # Init script downloads or updates envoy and the go dependencies. Called from Makefile, which sets
    # the needed environment variables.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY
    #
    # The original version of this file is located in the https://github.com/istio/common-files repo.
    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    # Copyright Istio Authors
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    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. bin/update_crds.sh

    # 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
      SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }')
    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)
  7. bin/update_deps.sh

    function getSha() {
      git ls-remote "https://github.com/istio/${1}.git" "refs/heads/${UPDATE_BRANCH}" | cut -f 1
    }
    
    make update-common
    
    export GO111MODULE=on
    go get -u "istio.io/api@${UPDATE_BRANCH}"
    go get -u "istio.io/client-go@${UPDATE_BRANCH}"
    go mod tidy
    
    sed -i "s/^BUILDER_SHA=.*\$/BUILDER_SHA=$(getSha release-builder)/" prow/release-commit.sh
    chmod +x prow/release-commit.sh
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Sep 12 14:07:30 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. common/scripts/fix_copyright_banner.sh

    set -e
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
        if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
          newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
          echo "${newfile}" > "${fn}"
          echo "Fixing license: ${fn}"
        else
          echo "Cannot fix license: ${fn}. Unknown file type"
        fi
      fi
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 17 04:35:57 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  9. common/scripts/tracing.sh

    # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY
    #
    # The original version of this file is located in the https://github.com/istio/common-files repo.
    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    # Copyright Istio Authors
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. bin/check_samples.sh

    # limitations under the License.
    
    shopt -s globstar
    set -e
    
    SCRIPTPATH=$( cd "$(dirname "$0")" && pwd -P )
    ROOTDIR=$SCRIPTPATH/..
    cd "$ROOTDIR" || exit
    
    # rely on go build cache
    ISTIOCTL=bin/istioctl
    go build -o $ISTIOCTL ./istioctl/cmd/istioctl
    
    for f in samples/**/*.yaml; do
      if grep -q -e "{{" "$f" ; then
        echo "Skipping check for helm template $f"
        continue
      else
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Nov 04 01:54:50 GMT 2023
    - 1010 bytes
    - Viewed (0)
Back to top