blob: ec0029b65bd4a78835aab0a2b0aeb2c06aab9617 [file] [log] [blame]
[
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]/infra_gclient_with_go"
],
"infra_step": true,
"name": "ensure builder dir"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
"--spec-path",
"cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]",
"--revision_mapping_file",
"{\"got_revision\": \"infra\"}",
"--git-cache-dir",
"[CACHE]/git",
"--cleanup-dir",
"[CLEANUP]/bot_update",
"--output_json",
"/path/to/tmp/json",
"--revision",
"infra@HEAD"
],
"cwd": "[CACHE]/infra_gclient_with_go",
"env": {
"GIT_HTTP_LOW_SPEED_LIMIT": "102400",
"GIT_HTTP_LOW_SPEED_TIME": "300"
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"name": "bot_update",
"~followup_annotations": [
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/infra.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"infra\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#197293}\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"infra\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/infra.git\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#197293}\"@@@"
]
},
{
"cmd": [
"python",
"-u",
"RECIPE_REPO[depot_tools]/gclient.py",
"runhooks"
],
"cwd": "[CACHE]/infra_gclient_with_go",
"env": {
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_suffixes": {
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "gclient runhooks"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"glob",
"[CACHE]/infra_gclient_with_go/infra/build/images/deterministic",
"**/*.yaml"
],
"infra_step": true,
"name": "list infra/build/images/deterministic",
"~followup_annotations": [
"@@@STEP_LOG_LINE@glob@[CACHE]/infra_gclient_with_go/infra/build/images/deterministic/target.yaml@@@",
"@@@STEP_LOG_END@glob@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"[CACHE]/infra_gclient_with_go/infra/go/bootstrap.py",
"/path/to/tmp/json"
],
"cwd": "[CACHE]/infra_gclient_with_go",
"env": {
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"infra_step": true,
"name": "init infra go env",
"~followup_annotations": [
"@@@STEP_TEXT@Using go 1.66.6@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"GOPATH\": \"[CACHE]/infra_gclient_with_go/infra/go\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"GOROOT\": \"[CACHE]/infra_gclient_with_go/golang/go\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"env_prefixes\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"[CACHE]/infra_gclient_with_go/golang/go\"@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"env_suffixes\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"[CACHE]/infra_gclient_with_go/infra/go/bin\"@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"go_version\": \"1.66.6\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cloudbuildhelper",
"version"
],
"cwd": "[CACHE]/infra_gclient_with_go",
"env": {
"GOPATH": "[CACHE]/infra_gclient_with_go/infra/go",
"GOROOT": "[CACHE]/infra_gclient_with_go/golang/go",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/infra_gclient_with_go/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/infra_gclient_with_go/infra/go/bin"
]
},
"name": "cloudbuildhelper version",
"~followup_annotations": [
"@@@STEP_TEXT@<br/>cloudbuildhelper v6.6.6<br/><br/>CIPD package name: infra/tools/cloudbuildhelper/...<br/>CIPD instance ID: lTJD7x...@@@"
]
},
{
"cmd": [
"cloudbuildhelper",
"build",
"[CACHE]/infra_gclient_with_go/infra/build/images/deterministic/target.yaml",
"-canonical-tag",
"ci-2012.05.14-197293-5e03a58",
"-build-id",
"https://cr-buildbucket.appspot.com/build/0",
"-infra",
"prod",
"-label",
"org.opencontainers.image.revision=5e03a58dc0850e5137a8ebbce29610670c756aed",
"-label",
"org.opencontainers.image.source=https://chromium.googlesource.com/infra/infra",
"-tag",
"latest",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]/infra_gclient_with_go",
"env": {
"GOPATH": "[CACHE]/infra_gclient_with_go/infra/go",
"GOROOT": "[CACHE]/infra_gclient_with_go/golang/go",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/infra_gclient_with_go/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/infra_gclient_with_go/infra/go/bin"
]
},
"name": "cloudbuildhelper build target",
"~followup_annotations": [
"@@@STEP_TEXT@<br/>ERROR: Boom@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"error\": \"Boom\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"view_build_url\": \"https://example.com/build/target\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@build@https://example.com/build/target@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"failure": {
"failure": {},
"humanReason": "Failed to build: target.yaml"
},
"name": "$result"
}
]