Created
January 30, 2019 22:55
-
-
Save nodirt/4b66087435947148be477f7070d9d4b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "bb-${build_id}-${project}-${builder}", | |
"priority": "30", | |
"tags": [ | |
"log_location:logdog://logs.chromium.org/${project}/buildbucket/${hostname}/${build_id}/+/annotations", | |
"luci_project:${project}" | |
], | |
"pool_task_template": "SKIP", | |
"task_slices": [ | |
{ | |
"expiration_secs": "21600", | |
"properties": { | |
"execution_timeout_secs": "10800", | |
"caches": [ | |
{ | |
"name": "git", | |
"path": "${cache_dir}/git" | |
}, | |
{ | |
"name": "goma_v2", | |
"path": "${cache_dir}/goma" | |
}, | |
{ | |
"name": "builder_${builder_hash}_v2", | |
"path": "${cache_dir}/builder", | |
"wait_for_warm_cache_secs": 120 | |
}, | |
{ | |
"name": "vpython", | |
"path": "${cache_dir}/vpython" | |
} | |
], | |
"env_prefixes": [ | |
{ | |
"key": "PATH", | |
"value": ["cipd_bin_packages", "cipd_bin_packages/bin"] | |
}, | |
{ | |
"key": "VPYTHON_VIRTUALENV_ROOT", | |
"value": ["${cache_dir}/vpython"] | |
} | |
], | |
"cipd_input": { | |
"packages": [ | |
{ | |
"package_name": "infra/tools/luci/kitchen/${platform}", | |
"path": ".", | |
"version": "git_revision:d33358177843fbb274d7fec89bfdda7db02c43c6" | |
}, | |
{ | |
"package_name": "infra/git/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "version:2.17.1.chromium15" | |
}, | |
{ | |
"package_name": "infra/python/cpython/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "version:2.7.14.chromium14" | |
}, | |
{ | |
"package_name": "infra/tools/git/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:c9c8a52bfeaf8bc00ece22fdfd447822c8fcad77" | |
}, | |
{ | |
"package_name": "infra/tools/luci/git-credential-luci/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
}, | |
{ | |
"package_name": "infra/tools/luci/docker-credential-luci/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:770bd591835116b72af3b6932c8bce3f11c5c6a8" | |
}, | |
{ | |
"package_name": "infra/tools/luci/vpython/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:96f81e737868d43124b4661cf1c325296ca04944" | |
}, | |
{ | |
"package_name": "infra/tools/luci/vpython-native/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:96f81e737868d43124b4661cf1c325296ca04944", | |
"#if-tag": "vpython:native-python-wrapper" | |
}, | |
{ | |
"package_name": "infra/tools/luci-auth/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
}, | |
{ | |
"package_name": "infra/tools/buildbucket/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:c2f5215187e0eb2acdfd4217b08cdcab019f2884" | |
}, | |
{ | |
"package_name": "infra/tools/cloudtail/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
}, | |
{ | |
"package_name": "infra/tools/prpc/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
} | |
] | |
}, | |
"command": [ | |
"kitchen${EXECUTABLE_SUFFIX}", | |
"cook", | |
"-buildbucket-hostname", "${hostname}", | |
"-buildbucket-build-id", "${build_id}", | |
"-call-update-build", | |
"-build-url", "${build_url}", | |
"-luci-system-account", "system", | |
"-repository", "${repository}", | |
"-revision", "${revision}", | |
"-recipe", "${recipe}", | |
"-cache-dir", "${cache_dir}", | |
"-checkout-dir", "${checkout_dir}", | |
"-temp-dir", "tmp", | |
"-properties", "${properties_json}", | |
"-known-gerrit-host", "android.googlesource.com", | |
"-known-gerrit-host", "boringssl.googlesource.com", | |
"-known-gerrit-host", "chromium.googlesource.com", | |
"-known-gerrit-host", "dart.googlesource.com", | |
"-known-gerrit-host", "fuchsia.googlesource.com", | |
"-known-gerrit-host", "gn.googlesource.com", | |
"-known-gerrit-host", "go.googlesource.com", | |
"-known-gerrit-host", "llvm.googlesource.com", | |
"-known-gerrit-host", "pdfium.googlesource.com", | |
"-known-gerrit-host", "skia.googlesource.com", | |
"-known-gerrit-host", "webrtc.googlesource.com", | |
"-logdog-annotation-url", "logdog://logs.chromium.org/${project}/buildbucket/${hostname}/${build_id}/+/annotations", | |
"-output-result-json", "$${ISOLATED_OUTDIR}/${build_result_filename}" | |
] | |
}, | |
"wait_for_capacity": false | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__comment__": "DO NOT CHANGE THIS FILE unless you read README.md", | |
"name": "bb-${build_id}-${project}-${builder}", | |
"priority": "30", | |
"tags": [ | |
"log_location:logdog://logs.chromium.org/${project}/buildbucket/${hostname}/${build_id}/+/annotations", | |
"luci_project:${project}" | |
], | |
"pool_task_template": "SKIP", | |
"task_slices": [ | |
{ | |
"expiration_secs": "21600", | |
"properties": { | |
"execution_timeout_secs": "10800", | |
"caches": [ | |
{ | |
"name": "git", | |
"path": "${cache_dir}/git" | |
}, | |
{ | |
"name": "goma_v2", | |
"path": "${cache_dir}/goma" | |
}, | |
{ | |
"name": "builder_${builder_hash}_v2", | |
"path": "${cache_dir}/builder", | |
"wait_for_warm_cache_secs": 120 | |
}, | |
{ | |
"name": "vpython", | |
"path": "${cache_dir}/vpython" | |
} | |
], | |
"env_prefixes": [ | |
{ | |
"key": "PATH", | |
"value": ["cipd_bin_packages", "cipd_bin_packages/bin"] | |
}, | |
{ | |
"key": "VPYTHON_VIRTUALENV_ROOT", | |
"value": ["${cache_dir}/vpython"] | |
} | |
], | |
"cipd_input": { | |
"packages": [ | |
{ | |
"package_name": "infra/tools/luci/kitchen/${platform}", | |
"path": ".", | |
"version": "git_revision:074bb031426a238dd38b67314312d334d9d13ae7" | |
}, | |
{ | |
"package_name": "infra/git/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "version:2.17.1.chromium15" | |
}, | |
{ | |
"package_name": "infra/python/cpython/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "version:2.7.14.chromium14" | |
}, | |
{ | |
"package_name": "infra/tools/git/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:c9c8a52bfeaf8bc00ece22fdfd447822c8fcad77" | |
}, | |
{ | |
"package_name": "infra/tools/luci/git-credential-luci/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
}, | |
{ | |
"package_name": "infra/tools/luci/docker-credential-luci/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:770bd591835116b72af3b6932c8bce3f11c5c6a8" | |
}, | |
{ | |
"package_name": "infra/tools/luci/vpython/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:96f81e737868d43124b4661cf1c325296ca04944" | |
}, | |
{ | |
"package_name": "infra/tools/luci/vpython-native/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:96f81e737868d43124b4661cf1c325296ca04944", | |
"#if-tag": "vpython:native-python-wrapper" | |
}, | |
{ | |
"package_name": "infra/tools/luci-auth/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
}, | |
{ | |
"package_name": "infra/tools/buildbucket/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:c2f5215187e0eb2acdfd4217b08cdcab019f2884" | |
}, | |
{ | |
"package_name": "infra/tools/cloudtail/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
}, | |
{ | |
"package_name": "infra/tools/prpc/${platform}", | |
"path": "cipd_bin_packages", | |
"version": "git_revision:2c805f1c716f6c5ad2126b27ec88b8585a09481e" | |
} | |
] | |
}, | |
"command": [ | |
"kitchen${EXECUTABLE_SUFFIX}", | |
"cook", | |
"-buildbucket-hostname", "${hostname}", | |
"-buildbucket-build-id", "${build_id}", | |
"-call-update-build", | |
"-build-url", "${build_url}", | |
"-luci-system-account", "system", | |
"-repository", "${repository}", | |
"-revision", "${revision}", | |
"-recipe", "${recipe}", | |
"-cache-dir", "${cache_dir}", | |
"-checkout-dir", "${checkout_dir}", | |
"-temp-dir", "tmp", | |
"-properties", "${properties_json}", | |
"-known-gerrit-host", "android.googlesource.com", | |
"-known-gerrit-host", "boringssl.googlesource.com", | |
"-known-gerrit-host", "chromium.googlesource.com", | |
"-known-gerrit-host", "dart.googlesource.com", | |
"-known-gerrit-host", "fuchsia.googlesource.com", | |
"-known-gerrit-host", "gn.googlesource.com", | |
"-known-gerrit-host", "go.googlesource.com", | |
"-known-gerrit-host", "llvm.googlesource.com", | |
"-known-gerrit-host", "pdfium.googlesource.com", | |
"-known-gerrit-host", "skia.googlesource.com", | |
"-known-gerrit-host", "webrtc.googlesource.com", | |
"-logdog-annotation-url", "logdog://logs.chromium.org/${project}/buildbucket/${hostname}/${build_id}/+/annotations", | |
"-output-result-json", "$${ISOLATED_OUTDIR}/${build_result_filename}" | |
] | |
}, | |
"wait_for_capacity": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment