Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for mkdtemp (0.5 sec)

  1. hack/lib/etcd.sh

      printf '%s\n' "${@}" | awk -F . '{ printf("%d%03d%03d\n", $1, $2, $3) }'
    }
    
    kube::etcd::start() {
      # validate before running
      kube::etcd::validate
    
      # Start etcd
      ETCD_DIR=${ETCD_DIR:-$(mktemp -d 2>/dev/null || mktemp -d -t test-etcd.XXXXXX)}
      if [[ -d "${ARTIFACTS:-}" ]]; then
        ETCD_LOGFILE="${ARTIFACTS}/etcd.$(uname -n).$(id -un).log.DEBUG.$(date +%Y%m%d-%H%M%S).$$"
      else
        ETCD_LOGFILE=${ETCD_LOGFILE:-"/dev/null"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. 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)
  3. .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)
  4. 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)
  5. prow/release-commit.sh

    TAG=$(git rev-parse HEAD)
    VERSION="${NEXT_VERSION}-alpha.${TAG}"
    
    # In CI we want to store the outputs to artifacts, which will preserve the build
    # If not specified, we can just create a temporary directory
    WORK_DIR="$(mktemp -d)/build"
    mkdir -p "${WORK_DIR}"
    
    MANIFEST=$(cat <<EOF
    version: ${VERSION}
    docker: ${DOCKER_HUB}
    directory: ${WORK_DIR}
    ignoreVulnerability: true
    dependencies:
    ${DEPENDENCIES:-$(cat <<EOD
      istio:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	if err := clientcmd.WriteToFile(*config, filepath.Join(dir, name)); err != nil {
    		t.Fatalf("couldn't write out certificate")
    	}
    
    	return cert
    }
    
    func TestFileExists(t *testing.T) {
    	tmpdir, err := os.MkdirTemp("", "")
    	if err != nil {
    		t.Fatalf("Couldn't create tmpdir: %v", err)
    	}
    	defer func() {
    		err = os.RemoveAll(tmpdir)
    		if err != nil {
    			t.Fatalf("Fail to remove tmpdir: %v", err)
    		}
    	}()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. 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.6.3"}
    GRAFANA_VERSION=${GRAFANA_VERSION:-"8.0.1"}
    
    # Set up kiali
    {
    helm3 template kiali-server \
      --namespace istio-system \
      --version 1.85.0 \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/testing/internal/testdeps/deps.go

    }
    
    func coverTearDown(coverprofile string, gocoverdir string) (string, error) {
    	var err error
    	if gocoverdir == "" {
    		gocoverdir, err = os.MkdirTemp("", "gocoverdir")
    		if err != nil {
    			return "error setting GOCOVERDIR: bad os.MkdirTemp return", err
    		}
    		defer os.RemoveAll(gocoverdir)
    	}
    	CoverMarkProfileEmittedFunc(true)
    	cmode := CoverMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. 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"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 14:28:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. prow/integ-suite-kind.sh

    if [[ -z "${SKIP_BUILD:-}" ]]; then
      HUB="${KIND_REGISTRY}"
      export HUB
    fi
    
    # Setup junit report and verbose logging
    export T="${T:-"-v -count=1"}"
    export CI="true"
    
    export ARTIFACTS="${ARTIFACTS:-$(mktemp -d)}"
    trace "init" make init
    
    if [[ -z "${SKIP_SETUP:-}" ]]; then
      export DEFAULT_CLUSTER_YAML="./prow/config/default.yaml"
      export METRICS_SERVER_CONFIG_DIR='./prow/config/metrics'
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top