Prevent de-duplication of Housekeeper-PerCommit-BuildTaskDrivers

Without this the task was getting deduped with tasks that ran days ago.
Eg: https://chromium-swarm.appspot.com/task?d=true&id=496142b461f15f10

Bug: skia:9514
Change-Id: I1c93e3f298ef5d6be222578618759b5fb63ca8c1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/261555
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
This commit is contained in:
Ravi Mistry 2019-12-27 13:19:19 -05:00
parent 0a7ca7a2a3
commit 81158535ed
2 changed files with 13 additions and 1 deletions

View File

@ -822,6 +822,13 @@ func (b *builder) buildTaskDrivers() string {
CipdPackages: append(specs.CIPD_PKGS_GIT, b.MustGetCipdPackageFromAsset("go")),
Command: []string{
"/bin/bash", "skia/infra/bots/build_task_drivers.sh", specs.PLACEHOLDER_ISOLATED_OUTDIR,
// The following arguments are not used by the script but are specified
// because they prevent de-duplication.
specs.PLACEHOLDER_REPO,
specs.PLACEHOLDER_REVISION,
specs.PLACEHOLDER_ISSUE,
specs.PLACEHOLDER_PATCHSET,
specs.PLACEHOLDER_CODEREVIEW_SERVER,
},
Dimensions: b.linuxGceDimensions(MACHINE_TYPE_SMALL),
EnvPrefixes: map[string][]string{

View File

@ -14224,7 +14224,12 @@
"command": [
"/bin/bash",
"skia/infra/bots/build_task_drivers.sh",
"${ISOLATED_OUTDIR}"
"${ISOLATED_OUTDIR}",
"<(REPO)",
"<(REVISION)",
"<(ISSUE)",
"<(PATCHSET)",
"<(CODEREVIEW_SERVER)"
],
"dimensions": [
"cpu:x86-64-Haswell_GCE",