Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 473 for recreate (0.17 sec)

  1. pkg/controller/deployment/recreate.go

    	}
    
    	// Do not process a deployment when it has old pods running.
    	if oldPodsRunning(newRS, oldRSs, podMap) {
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	// If we need to create a new RS, create it now.
    	if newRS == nil {
    		newRS, oldRSs, err = dc.getAllReplicaSetsAndSyncRevision(ctx, d, rsList, true)
    		if err != nil {
    			return err
    		}
    		allRSs = append(oldRSs, newRS)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 13 20:32:13 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEnablementIntegrationTest.groovy

                assert ${debug == _ } || gradle.startParameter.configurationCacheDebug == ${debug}
                assert ${recreate == _ } || gradle.startParameter.configurationCacheRecreateCache == ${recreate}
            }
            """
    
            when:
            run(task, *options)
    
            then:
            if (ccOn) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/DirectoryPropertyExtensions.kt

    import java.io.File
    
    
    internal
    inline fun <T> DirectoryProperty.withOutputDirectory(action: (File) -> T): T =
        asFile.get().let { outputDir ->
            recreate(outputDir)
            action(outputDir)
        }
    
    
    internal
    fun recreate(outputDir: File) {
        outputDir.deleteRecursively()
        outputDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskIdentityFactory.java

            this.idFactory = idFactory;
        }
    
        /**
         * Create a task identity.
         */
        public <T extends Task> TaskIdentity<T> create(String name, Class<T> type, ProjectInternal project) {
            long id = idFactory.createId();
            return doCreate(name, type, project, id);
        }
    
        /**
         * Recreate a task identity.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/tasks/CodeGenerationTask.kt

        fun run() {
            outputDir.get().asFile.apply {
                recreate()
                writeFiles()
            }
        }
    
        protected
        fun File.writeFile(relativePath: String, text: String) {
            resolve(relativePath).apply {
                parentFile.mkdirs()
                writeText(text)
            }
        }
    
        private
        fun File.recreate() {
            deleteRecursively()
            mkdirs()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:26 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/controller/repair.go

    				c.recorder.Eventf(&svc, nil, v1.EventTypeWarning, "ClusterIPNotValid", "ClusterIPValidation", "Cluster IP %s is not a valid IP; please recreate service", ip)
    				runtime.HandleError(fmt.Errorf("the cluster IP %s for service %s/%s is not a valid IP; please recreate", ip, svc.Name, svc.Namespace))
    				continue
    			}
    
    			family := getFamilyByIP(ip)
    			if _, ok := rebuiltByFamily[family]; !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. cmd/peer-s3-server.go

    		}, index)
    	}
    
    	var recreate bool
    	errs := g.Wait()
    	for index, err := range errs {
    		if errors.Is(err, errVolumeNotEmpty) {
    			recreate = true
    		}
    		if err == nil && recreate {
    			// ignore any errors
    			localDrives[index].MakeVol(ctx, bucket)
    		}
    	}
    
    	// Since we recreated buckets and error was `not-empty`, return not-empty.
    	if recreate {
    		return errVolumeNotEmpty
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise-plugin-performance/README.md

    To run locally, you will need to set this value whatever version of the build scan plugin you want to test with (whatever value is in source control is likely quite out of date).  Note also that when this value changes, you will need to clean and recreate the test projects in `templates.gradle`....
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:38:06 UTC 2023
    - 716 bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            def original1 = cl.action(123)
            original1 instanceof Serializable
    
            def recreated1 = recreate(original1)
            def result1 = new StringBuilder()
            recreated1.execute(result1)
    
            result1.toString() == "123"
    
            def original2 = cl.thing(123)
            def result2 = recreate(original2).call()
    
            result2 == "123"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. hack/testdata/retainKeys/deployment/deployment-after.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: test-deployment-retainkeys
      labels:
        app: nginx
    spec:
      strategy:
        type: Recreate
      replicas: 1
      selector:
        matchLabels:
          app: nginx
      template:
        metadata:
          labels:
            app: nginx
        spec:
          containers:
          - name: nginx
            image: nginx
            ports:
            - containerPort: 80
          volumes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 19 16:19:12 UTC 2018
    - 456 bytes
    - Viewed (0)
Back to top