Lines Matching refs:task
285 task := &specs.TaskSpec{
329 timeout(task, time.Hour)
330 return task
800 func timeout(task *specs.TaskSpec, timeout time.Duration) {
801 task.ExecutionTimeout = timeout
802 task.IoTimeout = timeout // With kitchen, step logs don't count toward IoTimeout.
826 …task := kitchenTask(name, "compile", "swarm_recipe.isolate", SERVICE_ACCOUNT_COMPILE, swarmDimensi…
827 usesGit(task, name)
828 usesDocker(task, name)
836 … task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("android_ndk_darwin"))
840 task.CipdPackages = append(task.CipdPackages, pkg)
842 task.Dependencies = append(task.Dependencies, isolateCIPDAsset(b, ISOLATE_NDK_LINUX_NAME))
845 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("cast_toolchain"))
846 …task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("chromebook_arm_gles"))
848 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("clang_linux"))
850 …task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("chromebook_x86_64_gle…
852 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("armhf_sysroot"))
853 …task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("chromebook_arm_gles"))
857 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("clang_linux"))
863 …task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("mips64el_toolchain_li…
866 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("cmake_linux"))
869 task.CipdPackages = append(task.CipdPackages,
875 task.Dependencies = append(task.Dependencies, isolateCIPDAsset(b, ISOLATE_WIN_TOOLCHAIN_NAME))
877 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("clang_win"))
880 task.CipdPackages = append(task.CipdPackages,
885 task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_XCODE...)
886 task.Caches = append(task.Caches, &specs.Cache{
891 timeout(task, 2*time.Hour)
894 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("moltenvk"))
899 b.MustAddTask(name, task)
914 …task := kitchenTask(uploadName, "upload_skiaserve", "swarm_recipe.isolate", SERVICE_ACCOUNT_UPLOAD…
915 task.Dependencies = append(task.Dependencies, name)
916 b.MustAddTask(uploadName, task)
931 …task := kitchenTask(name, "recreate_skps", "swarm_recipe.isolate", SERVICE_ACCOUNT_RECREATE_SKPS, …
932 task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_GIT...)
933 usesGo(b, task)
934 timeout(task, 4*time.Hour)
935 b.MustAddTask(name, task)
944 …task := kitchenTask(name, "update_go_deps", "swarm_recipe.isolate", SERVICE_ACCOUNT_UPDATE_GO_DEPS…
945 task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_GIT...)
946 usesGo(b, task)
947 b.MustAddTask(name, task)
954 …task := kitchenTask(name, "check_generated_files", "swarm_recipe.isolate", SERVICE_ACCOUNT_COMPILE…
955 task.Caches = append(task.Caches, CACHES_WORKDIR...)
956 b.MustAddTask(name, task)
963 …task := kitchenTask(name, "housekeeper", "swarm_recipe.isolate", SERVICE_ACCOUNT_HOUSEKEEPER, linu…
964 usesGit(task, name)
965 b.MustAddTask(name, task)
972 …task := kitchenTask(name, "bookmaker", "swarm_recipe.isolate", SERVICE_ACCOUNT_BOOKMAKER, linuxGce…
973 task.Caches = append(task.Caches, CACHES_WORKDIR...)
974 task.CipdPackages = append(task.CipdPackages, CIPD_PKGS_GIT...)
975 …task.Dependencies = append(task.Dependencies, compileTaskName, isolateCIPDAsset(b, ISOLATE_GO_DEPS…
976 timeout(task, 2*time.Hour)
977 b.MustAddTask(name, task)
985 …task := kitchenTask(name, "android_compile", "swarm_recipe.isolate", SERVICE_ACCOUNT_COMPILE, linu…
986 timeout(task, time.Hour)
987 b.MustAddTask(name, task)
994 …task := kitchenTask(name, "infra", "swarm_recipe.isolate", SERVICE_ACCOUNT_COMPILE, linuxGceDimens…
995 usesGit(task, name)
996 usesGo(b, task)
997 b.MustAddTask(name, task)
1002 …task := kitchenTask(name, "compute_buildstats", "swarm_recipe.isolate", "", swarmDimensions(parts)…
1003 task.Dependencies = append(task.Dependencies, compileTaskName)
1004 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("bloaty"))
1005 b.MustAddTask(name, task)
1035 …task := kitchenTask(name, "calmbench", "calmbench.isolate", "", swarmDimensions(parts), nil, OUTPU…
1036 usesGit(task, name)
1037 …task.Dependencies = append(task.Dependencies, compileTaskName, compileParentName, ISOLATE_SKP_NAME…
1043 task.Dimensions = append(task.Dimensions, "rack:2")
1045 task.Dimensions = append(task.Dimensions, "rack:1")
1048 b.MustAddTask(name, task)
1111 task := kitchenTask(name, recipe, isolate, "", swarmDimensions(parts), extraProps, OUTPUT_TEST)
1112 task.CipdPackages = append(task.CipdPackages, pkgs...)
1114 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("lottie-samples"))
1118 task.Dependencies = append(task.Dependencies, compileTaskName)
1122 task.Dependencies = append(task.Dependencies, isolateCIPDAsset(b, ISOLATE_NDK_LINUX_NAME))
1126 task.Dependencies = append(task.Dependencies, isolateCIPDAsset(b, ISOLATE_GCLOUD_LINUX_NAME))
1130 task.Dependencies = append(task.Dependencies, deps...)
1132 task.Expiration = 20 * time.Hour
1134 timeout(task, 4*time.Hour)
1136 timeout(task, 9*time.Hour)
1137 task.Expiration = 48 * time.Hour
1138 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("valgrind"))
1139 task.Dimensions = append(task.Dimensions, "valgrind:1")
1141 timeout(task, 9*time.Hour)
1144 timeout(task, 6*time.Hour)
1146 b.MustAddTask(name, task)
1178 task := kitchenTask(name, recipe, isolate, "", swarmDimensions(parts), nil, OUTPUT_PERF)
1179 task.CipdPackages = append(task.CipdPackages, pkgs...)
1180 task.Dependencies = append(task.Dependencies, compileTaskName)
1181 task.Expiration = 20 * time.Hour
1182 timeout(task, 4*time.Hour)
1184 task.Dependencies = append(task.Dependencies, deps...)
1188 timeout(task, 9*time.Hour)
1189 task.Expiration = 48 * time.Hour
1190 task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("valgrind"))
1191 task.Dimensions = append(task.Dimensions, "valgrind:1")
1193 timeout(task, 9*time.Hour)
1196 timeout(task, 6*time.Hour)
1200 task.Command = append(task.Command, fmt.Sprintf("internal_hardware_label=%d", *iid))
1207 task.Dimensions = append(task.Dimensions, "rack:2")
1209 task.Dimensions = append(task.Dimensions, "rack:1")
1212 b.MustAddTask(name, task)
1241 …task := kitchenTask(name, "run_presubmit", "empty.isolate", SERVICE_ACCOUNT_COMPILE, linuxGceDimen…
1245 for idx, arg := range task.Command {
1247 task.Command[idx+1] = value
1252 task.Command = append(task.Command, key, value)
1257 usesGit(task, name)
1258 task.Dependencies = []string{} // No bundled recipes for this one.
1259 b.MustAddTask(name, task)