Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for mktime (0.26 sec)

  1. bin/update_ztunnel.sh

    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)
  2. common/scripts/setup_env.sh

    # of the original file, so that the container can write to it.
    add_KUBECONFIG_if_exists () {
      if [[ -f "$1" ]]; then
        local local_config
        local_config="$(mktemp)"
        cp "${1}" "${local_config}"
    
        kubeconfig_random="$(od -vAn -N4 -tx /dev/random | tr -d '[:space:]' | cut -c1-8)"
        container_kubeconfig+="/config/${kubeconfig_random}:"
    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)
  3. ci/official/utilities/repack_libtensorflow.sh

    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    function cp_normalized_srcjar() {
      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. common/scripts/kind_provisioner.sh

    # cluster topology information to be loaded in advance
    function setup_kind_clusters() {
      IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
      KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig"
      IP_FAMILY="${2:-ipv4}"
    
      check_default_cluster_yaml
    
      # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here
      trap cleanup_kind_clusters EXIT
    
    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. buildscripts/verify-healing-with-root-disks.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$(mktemp -d)"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. manifests/addons/gen.sh

    # This script sets up the plain text rendered deployments for addons
    # See samples/addons/README.md for more information
    
    ADDONS="${WD}/../../samples/addons"
    DASHBOARDS="${WD}/dashboards"
    mkdir -p "${ADDONS}"
    TMP=$(mktemp -d)
    LOKI_VERSION=${LOKI_VERSION:-"6.0.0"}
    GRAFANA_VERSION=${GRAFANA_VERSION:-"7.3.7"}
    
    # Set up kiali
    {
    helm3 template kiali-server \
      --namespace istio-system \
      --version 1.82.0 \
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. ci/official/upload.sh

    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    ls "$DOWNLOADS"
    
    # Upload all build artifacts to e.g. gs://tensorflow/versions/2.16.0-rc1 (releases) or
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. bin/update_crds.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    fail() {
      echo "$@" 1>&2
      exit 1
    }
    
    API_TMP="$(mktemp -d -u)"
    
    trap 'rm -rf "${API_TMP}"' EXIT
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    REPO="github.com/istio/api"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. ci/official/utilities/setup.sh

      echo 'already sourced a TFCI env file with "set -a; source <path>; set +a".'
      echo 'If you have not, you will see a lot of undefined variable errors.'
    else
      FROM_ENV=$(mktemp)
      # "export -p" prints a list of environment values in a safe-to-source format,
      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  10. ci/official/utilities/setup_docker.sh

    # The container is not cleaned up automatically! Remove it with:
    # docker rm tf
    if ! docker container inspect tf >/dev/null 2>&1 ; then
      # Pass all existing TFCI_ variables into the Docker container
      env_file=$(mktemp)
      env | grep ^TFCI_ > "$env_file"
      docker run $TFCI_DOCKER_ARGS --name tf -w "$TFCI_GIT_DIR" -itd --rm \
          -v "$TFCI_GIT_DIR:$TFCI_GIT_DIR" \
          --env-file "$env_file" \
          "$TFCI_DOCKER_IMAGE" \
        bash
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 15:27:59 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top