Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RunDocker (0.28 sec)

  1. tools/docker-builder/docker.go

    // bake` and let it do its work.
    func RunDocker(args Args) error {
    	requiresSplitBuild := len(args.Architectures) > 1 && (args.Save || !args.Push)
    	if !requiresSplitBuild {
    		log.Infof("building for architectures: %v", args.Architectures)
    		return runDocker(args)
    	}
    	// https://github.com/docker/buildx/issues/59 - load and save are not supported for multi-arch
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. tools/docker-builder/main.go

    		// The crane builder is much faster but less tested.
    		// Neither builder is doing standard logic; see each builder for details.
    		if args.Builder == CraneBuilder {
    			return RunCrane(ctx, args)
    		}
    
    		return RunDocker(args)
    	},
    }
    
    func ValidateArgs(a Args) error {
    	if len(a.Targets) == 0 {
    		return fmt.Errorf("no targets specified")
    	}
    	if a.Push && a.Save {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccess.java

        private final FileLockManager lockManager;
        private final Lock stateLock;
        private final Consumer<FileLock> onOpen;
        private final Consumer<FileLock> onClose;
        private final Runnable unlocker;
        private final Consumer<FileLockReleasedSignal> whenContended;
        private int lockCount;
        private FileLock fileLock;
        private final CacheInitializationAction initAction;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. cmd/metrics-v3-handler.go

    			// are provided, we will not return bucket metrics.
    			if bmg, ok := h.metricsData.bucketMGMap[collectorPath]; ok {
    				if len(buckets) == 0 {
    					continue
    				}
    				unLocker := bmg.LockAndSetBuckets(buckets)
    				defer unLocker()
    			}
    			gatherers = append(gatherers, gatherer)
    		}
    	}
    
    	if len(gatherers) == 0 {
    		return notFoundHandler
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:06:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    	unlocksFailed := 0
    	for lockID := range locks {
    		if isLocked(locks[lockID]) {
    			unlocksFailed++
    		}
    	}
    
    	// Unlock failures are higher than tolerance limit
    	// for this instance of unlocker, we should let the
    	// caller know that lock is not successfully released
    	// yet.
    	if len(locks)-tolerance == tolerance {
    		// In case of split brain scenarios where
    		// tolerance is exactly half of the len(*locks)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top