Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for xworkdir (0.21 sec)

  1. src/cmd/go/internal/modfetch/codehost/codehost.go

    func ShortenSHA1(rev string) string {
    	if AllHex(rev) && len(rev) == 40 {
    		return rev[:12]
    	}
    	return rev
    }
    
    // WorkDir returns the name of the cached work directory to use for the
    // given repository type and name.
    func WorkDir(ctx context.Context, typ, name string) (dir, lockfile string, err error) {
    	if cfg.GOMODCACHE == "" {
    		return "", "", fmt.Errorf("neither GOPATH nor GOMODCACHE are set")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	if b.gccSupportsFlag(compiler, "-fdebug-prefix-map=a=b") {
    		if workdir == "" {
    			workdir = b.WorkDir
    		}
    		workdir = strings.TrimSuffix(workdir, string(filepath.Separator))
    		if b.gccSupportsFlag(compiler, "-ffile-prefix-map=a=b") {
    			a = append(a, "-ffile-prefix-map="+workdir+"=/tmp/go-build")
    		} else {
    			a = append(a, "-fdebug-prefix-map="+workdir+"=/tmp/go-build")
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. src/cmd/go/script_test.go

    		t.Run(name, func(t *testing.T) {
    			t.Parallel()
    			StartProxy()
    
    			workdir, err := os.MkdirTemp(testTmpDir, name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !*testWork {
    				defer removeAll(workdir)
    			}
    
    			s, err := script.NewState(tbContext(ctx, t), workdir, env)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			// Unpack archive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tests/integration/security/ca_custom_root/main_test.go

    		serverNakedFooAltConfig, serverConfig)
    
    	*customCfg = customConfig
    	return nil
    }
    
    func generateCerts(tmpdir, ns string) error {
    	workDir := path.Join(env.IstioSrc, "samples/certs")
    	script := path.Join(workDir, "generate-workload.sh")
    
    	// Create certificates signed by the same plugin CA that signs Istiod certificates
    	crts := []struct {
    		td string
    		sa string
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tests/integration/helm/install_test.go

    }
    
    func baseSetup(overrideValuesStr string, isAmbient bool, config NamespaceConfig,
    	check func(t framework.TestContext), revision string,
    ) func(t framework.TestContext) {
    	return func(t framework.TestContext) {
    		workDir, err := t.CreateTmpDirectory("helm-install-test")
    		if err != nil {
    			t.Fatal("failed to create test directory")
    		}
    		cs := t.Clusters().Default().(*kubecluster.Cluster)
    		h := helm.New(cs.Filename())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. docs/em/docs/deployment/docker.md

    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9 as requirements-stage
    
    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. docs/ru/docs/deployment/docker.md

    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9 as requirements-stage
    
    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/eastwest.go

    	gwIOP, err := cmd.CombinedOutput()
    	if err != nil {
    		return fmt.Errorf("failed generating eastwestgateway operator yaml: %v: %v", err, string(gwIOP))
    	}
    	iopFile := path.Join(i.workDir, fmt.Sprintf("eastwest-%s.yaml", cluster.Name()))
    	if err := os.WriteFile(iopFile, gwIOP, os.ModePerm); err != nil {
    		return err
    	}
    
    	// Install the gateway
    	s := i.ctx.Settings()
    	var inFileNames []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

            given:
            def testScript = ShellScript.builder()
                .printWorkingDir()
                .writeTo(testDirectory, "script")
    
            def workingDir = testDirectory.createDir("workdir")
    
            buildFile """
                def execProvider = providers.exec {
                    ${cmdToExecConfig(*testScript.commandLine)}
                    workingDir("${TextUtil.escapeString(workingDir.path)}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9 as requirements-stage
    
    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top