- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for if (0.14 sec)
-
common/scripts/report_build_info.sh
# limitations under the License. if BUILD_GIT_REVISION=$(git rev-parse HEAD 2> /dev/null); then 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
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) -
common/scripts/setup_env.sh
# testcase: "a b:c:d e" parse_KUBECONFIG () { TMPDIR="" if [[ "$1" =~ ([^:]*):(.*) ]]; then while true; do rematch=${BASH_REMATCH[1]} 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
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) -
bin/init.sh
set -o errexit set -o nounset set -o pipefail if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly." exit 1 fi # Setup arch suffix for envoy binary. For backwards compatibility, amd64 has no suffix. if [[ "${TARGET_ARCH}" == "amd64" ]]; then ISTIO_ENVOY_ARCH_SUFFIX="" else
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) -
common/scripts/kind_provisioner.sh
# Kubernetes 1.15+ CONFIG=${DEFAULT_CLUSTER_YAML} fi # Configure the cluster IP Family if explicitly set if [ "${IP_FAMILY}" != "ipv4" ]; then grep "ipFamily: ${IP_FAMILY}" "${CONFIG}" || \ cat <<EOF >> "${CONFIG}" networking: ipFamily: ${IP_FAMILY} EOF fi KIND_WAIT_FLAG="--wait=180s" KIND_DISABLE_CNI="false" if [[ -n "${KUBERNETES_CNI:-}" ]]; then
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) -
common/scripts/lint_go.sh
#!/bin/bash # 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 #
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 26 21:57:53 GMT 2022 - 1.2K bytes - Viewed (0) -
common/scripts/run.sh
#!/bin/bash # 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 #
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) -
bin/build_ztunnel.sh
if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]] && [[ "${BUILD_ZTUNNEL:-}" != "" ]]; then local ZTUNNEL_DIR ZTUNNEL_DIR="$(pwd)/../ztunnel" if [[ -d "${ZTUNNEL_DIR}" ]]; then BUILD_ZTUNNEL_REPO="${ZTUNNEL_DIR}" else echo "No directory at ${ZTUNNEL_DIR}" return fi fi if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]]; then return fi
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) -
bin/retry.sh
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 script -q -r "${tmpFile}" "${*}" else script --flush --quiet --return "${tmpFile}" --command "${*}" fi else # if we aren't a TTY, run directly as script will always run with a tty, which may output content that # we cannot display
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 11 16:08:08 GMT 2021 - 2K bytes - Viewed (0) -
common/scripts/tracing.sh
# limitations under the License. # Usage: tracing::extract_prow_trace. # If running in a prow job, this sets the parent trace to the same value Prow tracing will use, as defined in https://github.com/kubernetes/test-infra/issues/30010 function tracing::extract_prow_trace() { if [[ "${PROW_JOB_ID:-}" != "" ]]; then local trace trace="$(<<< "$PROW_JOB_ID" tr -d '\-')" local span
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) -
bin/update_crds.sh
# 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)