Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: ct/go/util/constants.go

Issue 1994663002: Use swarming in capture_skps and capture_skps_from_pdfs CT tasks (Closed) Base URL: https://skia.googlesource.com/buildbot@ct-5-capture_archives
Patch Set: Address comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ct/go/master_scripts/capture_skps_on_workers/main.go ('k') | ct/go/util/util.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package util 1 package util
2 2
3 import ( 3 import (
4 "fmt" 4 "fmt"
5 "path/filepath" 5 "path/filepath"
6 "time" 6 "time"
7 ) 7 )
8 8
9 const ( 9 const (
10 NUM_WORKERS_PROD int = 100 10 NUM_WORKERS_PROD int = 100
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 WEBHOOK_SALT_MSG = `For prod, set this file to the value of GCE metadata key webhook_request_salt or call webhook.MustInitRequestSaltFromMetadata() if r unning in GCE. For testing, run 'echo -n "notverysecret" | base64 -w 0 > /b/stor age/webhook_salt.data' or call frontend.InitForTesting().` 186 WEBHOOK_SALT_MSG = `For prod, set this file to the value of GCE metadata key webhook_request_salt or call webhook.MustInitRequestSaltFromMetadata() if r unning in GCE. For testing, run 'echo -n "notverysecret" | base64 -w 0 > /b/stor age/webhook_salt.data' or call frontend.InitForTesting().`
187 187
188 // Swarming constants. 188 // Swarming constants.
189 SWARMING_DIR_NAME = "swarming" 189 SWARMING_DIR_NAME = "swarming"
190 SWARMING_POOL = "CT" 190 SWARMING_POOL = "CT"
191 // Timeouts. 191 // Timeouts.
192 BATCHARCHIVE_TIMEOUT = 10 * time.Minute 192 BATCHARCHIVE_TIMEOUT = 10 * time.Minute
193 XVFB_TIMEOUT = 5 * time.Minute 193 XVFB_TIMEOUT = 5 * time.Minute
194 // Isolate files. 194 // Isolate files.
195 » CREATE_PAGESETS_ISOLATE = "create_pagesets.isolate" 195 » CREATE_PAGESETS_ISOLATE = "create_pagesets.isolate"
196 » CAPTURE_ARCHIVES_ISOLATE = "capture_archives.isolate" 196 » CAPTURE_ARCHIVES_ISOLATE = "capture_archives.isolate"
197 » CAPTURE_SKPS_ISOLATE = "capture_skps.isolate"
198 » CAPTURE_SKPS_FROM_PDFS_ISOLATE = "capture_skps_from_pdfs.isolate"
197 ) 199 )
198 200
199 type PagesetTypeInfo struct { 201 type PagesetTypeInfo struct {
200 NumPages int 202 NumPages int
201 CSVSource string 203 CSVSource string
202 UserAgent string 204 UserAgent string
203 CaptureArchivesTimeoutSecs int 205 CaptureArchivesTimeoutSecs int
204 CreatePagesetsTimeoutSecs int 206 CreatePagesetsTimeoutSecs int
205 CaptureSKPsTimeoutSecs int 207 CaptureSKPsTimeoutSecs int
206 RunChromiumPerfTimeoutSecs int 208 RunChromiumPerfTimeoutSecs int
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 337
336 SupportedPageSetsToDesc = map[string]string{ 338 SupportedPageSetsToDesc = map[string]string{
337 PLATFORM_LINUX: "Linux (100 Ubuntu12.04 machines)", 339 PLATFORM_LINUX: "Linux (100 Ubuntu12.04 machines)",
338 PLATFORM_ANDROID: "Android (100 N5 devices)", 340 PLATFORM_ANDROID: "Android (100 N5 devices)",
339 } 341 }
340 ) 342 )
341 343
342 func NumWorkers() int { 344 func NumWorkers() int {
343 return len(Slaves) 345 return len(Slaves)
344 } 346 }
OLDNEW
« no previous file with comments | « ct/go/master_scripts/capture_skps_on_workers/main.go ('k') | ct/go/util/util.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698