| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/gopath/src" |
| ], |
| "infra_step": true, |
| "name": "makedirs go/src" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clone", |
| "https://skia.googlesource.com/buildbot", |
| "[START_DIR]/gopath/src/go.skia.org/infra" |
| ], |
| "name": "git clone" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-x", |
| "-f" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "reset", |
| "--hard", |
| "origin/master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git reset" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec-path", |
| "cache_dir = '/b/cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'infra', 'url': 'https://skia.googlesource.com/buildbot'}]", |
| "--patch_root", |
| "infra", |
| "--revision_mapping_file", |
| "{\"got_revision\": \"infra\"}", |
| "--git-cache-dir", |
| "/b/cache", |
| "--cleanup-dir", |
| "[CLEANUP]/bot_update", |
| "--gerrit_repo", |
| "https://skia.googlesource.com/skia", |
| "--gerrit_ref", |
| "refs/changes/89/456789/12", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--revision", |
| "infra@origin/master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org", |
| "env_prefixes": { |
| "PATH": [ |
| "RECIPE_PACKAGE_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\": \"origin/master\"@@@", |
| "@@@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@ \"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": [ |
| "git", |
| "remote", |
| "set-url", |
| "origin", |
| "https://skia.googlesource.com/buildbot" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git checkout (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "status" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git status" |
| }, |
| { |
| "cmd": [ |
| "which", |
| "go" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "which go" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "get", |
| "-u", |
| "-t", |
| "./..." |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "update_deps" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clone", |
| "https://skia.googlesource.com/buildbot", |
| "[START_DIR]/gopath/src/go.skia.org/infra" |
| ], |
| "name": "git clone (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git fetch (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-x", |
| "-f" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git clean (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git checkout (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "reset", |
| "--hard", |
| "origin/master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git reset (2)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec-path", |
| "cache_dir = '/b/cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'infra', 'url': 'https://skia.googlesource.com/buildbot'}]", |
| "--patch_root", |
| "infra", |
| "--revision_mapping_file", |
| "{\"got_revision\": \"infra\"}", |
| "--git-cache-dir", |
| "/b/cache", |
| "--cleanup-dir", |
| "[CLEANUP]/bot_update", |
| "--gerrit_repo", |
| "https://skia.googlesource.com/skia", |
| "--gerrit_ref", |
| "refs/changes/89/456789/12", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--revision", |
| "infra@origin/master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org", |
| "env_prefixes": { |
| "PATH": [ |
| "RECIPE_PACKAGE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "bot_update (2)", |
| "~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\": \"origin/master\"@@@", |
| "@@@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@ \"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": [ |
| "git", |
| "remote", |
| "set-url", |
| "origin", |
| "https://skia.googlesource.com/buildbot" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git remote (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "master" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git checkout (4)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "status" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git status (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "name": "git rev-parse", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "npm", |
| "i", |
| "-g", |
| "npm@5.4.2" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "install npm" |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "npm", |
| "i", |
| "-g", |
| "bower@1.8.2" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "install bower" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "get", |
| "golang.org/x/tools/cmd/goimports" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "install goimports" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "get", |
| "github.com/kisielk/errcheck" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "install errcheck" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "get", |
| "-u", |
| "github.com/golang/protobuf/protoc-gen-go" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "install protoc-gen-go" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "get", |
| "-u", |
| "golang.org/x/tools/cmd/stringer" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "install stringer" |
| }, |
| { |
| "cmd": [ |
| "./setup_test_db" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra/go/database", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>" |
| }, |
| "name": "setup database" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "run", |
| "./run_unittests.go", |
| "--alsologtostderr", |
| "--small" |
| ], |
| "cwd": "[START_DIR]/gopath/src/go.skia.org/infra", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "DEPOT_TOOLS": "[DEPOT_TOOLS]", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOPATH": "[START_DIR]/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "KARMA_PORT": "9876", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath/bin:[START_DIR]/protoc/bin:<PATH>:[DEPOT_TOOLS]", |
| "TMPDIR": null |
| }, |
| "name": "run_unittests" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |