Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 147 for mkdtemp (0.18 sec)

  1. util/gradle_integration_tests.sh

    #         integration-tests/gradle/gradlew
    #         integration-tests/gradle/gradlew.bat
    # Please commit your changes or stash them before you switch branches.
    
    GRADLE_TEMP="$(mktemp -d)"
    trap 'rm -rf "${GRADLE_TEMP}"' EXIT
    
    # The Gradle tests need the pom.xml only to read its version number.
    # (And the file needs to be two directory levels up from the Gradle build file.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/io/ioutil/tempfile.go

    // will not choose the same directory. It is the caller's responsibility
    // to remove the directory when no longer needed.
    //
    // Deprecated: As of Go 1.17, this function simply calls [os.MkdirTemp].
    func TempDir(dir, pattern string) (name string, err error) {
    	return os.MkdirTemp(dir, pattern)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. hack/verify-openapi-docs-urls.sh

    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    SPECROOT="${KUBE_ROOT}/api/openapi-spec"
    SPECV3PATH="${SPECROOT}/v3"
    
    _tmpdir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")"
    mkdir -p "${_tmpdir}"
    trap 'rm -rf ${_tmpdir}' EXIT SIGINT
    trap "echo Aborted; exit;" SIGINT SIGTERM
    
    TMP_URLS="${_tmpdir}/docs_urls.txt"
    touch "${TMP_URLS}"
    
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 18:22:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. pkg/util/filesystem/defaultfs.go

    }
    
    // ReadFile via os.ReadFile
    func (fs *DefaultFs) ReadFile(filename string) ([]byte, error) {
    	return os.ReadFile(fs.prefix(filename))
    }
    
    // TempDir via os.MkdirTemp
    func (fs *DefaultFs) TempDir(dir, prefix string) (string, error) {
    	return os.MkdirTemp(fs.prefix(dir), prefix)
    }
    
    // TempFile via os.CreateTemp
    func (fs *DefaultFs) TempFile(dir, prefix string) (File, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. hack/update-vendor.sh

    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run hack/update-vendor.sh with \$GOPROXY=off"
      exit 1
    fi
    
    kube::util::require-jq
    
    TMP_DIR="${TMP_DIR:-$(mktemp -d /tmp/update-vendor.XXXX)}"
    LOG_FILE="${LOG_FILE:-${TMP_DIR}/update-vendor.log}"
    kube::log::status "logfile at ${LOG_FILE}"
    
    # Set up some FDs for this script to use, while capturing everything else to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. .github/workflows/maven_build_itself.yml

          - name: Extract tarball
            shell: bash
            run: |
              set +e
              if [ -f ${{ env.TAR_BALL }} ]; then
                temp_dir=$(mktemp -d)
                tar -xzf ${{ env.TAR_BALL }} -C "$temp_dir" --strip 1
                maven_bin_dir=$temp_dir/bin
                if [ -d $maven_bin_dir ]; then
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. hack/lib/verify-generated.sh

        shift
    
        kube::util::ensure_clean_working_dir
    
        # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
        kube::golang::setup_env
    
        _tmpdir="$(kube::realpath "$(mktemp -d -t "verify-generated-$(basename "$1").XXXXXX")")"
        git worktree add -f -q "${_tmpdir}" HEAD
        kube::util::trap_add "git worktree remove -f ${_tmpdir}" EXIT
        cd "${_tmpdir}"
    
        # Update generated files.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. samples/bookinfo/platform/kube/cleanup.sh

          kubectl delete -n "${NAMESPACE}" "$resource";
        done
      done
      kubectl delete -n "${NAMESPACE}" -f "$SCRIPTDIR/bookinfo-versions.yaml" >/dev/null 2>&1
    fi
    
    OUTPUT=$(mktemp)
    export OUTPUT
    echo "Application cleanup may take up to one minute"
    kubectl delete -n "${NAMESPACE}" -f "$SCRIPTDIR/bookinfo.yaml" > "${OUTPUT}" 2>&1
    ret=$?
    function cleanup() {
      rm -f "${OUTPUT}"
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top