| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec", |
| "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", |
| "--patch_root", |
| "v8", |
| "--revision_mapping_file", |
| "{\"v8\": \"got_revision\"}", |
| "--git-cache-dir", |
| "[GIT_CACHE]", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--revision", |
| "v8@HEAD", |
| "--no_shallow", |
| "--output_manifest" |
| ], |
| "env": { |
| "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" |
| }, |
| "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@ \"v8\": \"HEAD\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"v8\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/v8.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@", |
| "@@@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\": \"v8\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#50110}\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"v8\", @@@", |
| "@@@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@\"f2cbea7e89a45f46819777bb78a1f5bd0241f64c\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#50110}\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[BUILD]/scripts/tools/runit.py", |
| "[BUILD]/scripts/tools/pycurl.py", |
| "https://v8-status.appspot.com/lkgr" |
| ], |
| "name": "get new lkgr", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@logs@New candidate: 0df953c9e12c1e3b0e37f2d4ef1ef8c319e095cb (396002)@@@", |
| "@@@STEP_LOG_END@logs@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "https://chromium.googlesource.com/v8/v8", |
| "+refs/heads/lkgr:refs/heads/lkgr" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show-ref", |
| "-s", |
| "refs/heads/lkgr" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git show-ref refs/heads/lkgr", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@ref@0df953c9e12c1e3b0e37f2d4ef1ef8c319e095cb@@@", |
| "@@@STEP_LOG_END@ref@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "There is no new lkgr." |
| ], |
| "name": "log" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "https://chromium.googlesource.com/v8/v8", |
| "+refs/heads/candidate:refs/heads/candidate" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git fetch (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show-ref", |
| "-s", |
| "refs/heads/candidate" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git show-ref refs/heads/candidate", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@ref@0df953c9e12c1e3b0e37f2d4ef1ef8c319e095cb@@@", |
| "@@@STEP_LOG_END@ref@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "https://chromium.googlesource.com/v8/v8", |
| "+refs/heads/roll:refs/heads/roll" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git fetch (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show-ref", |
| "-s", |
| "refs/heads/roll" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git show-ref refs/heads/roll", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@ref@74882b7a8e55268d1658f83efefa1c2585cee723@@@", |
| "@@@STEP_LOG_END@ref@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "[SLAVE_BUILD]/timestamp.txt", |
| "/path/to/tmp/" |
| ], |
| "name": "check timestamp" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/v8/tools/release/check_clusterfuzz.py", |
| "--key-file", |
| "[SLAVE_BUILD]/.cf_key", |
| "--results-file", |
| "/path/to/tmp/json" |
| ], |
| "name": "check clusterfuzz", |
| "stderr": "/path/to/tmp/err", |
| "stdout": "/path/to/tmp/out" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "Current candidate is 10h old (limit: 8h)." |
| ], |
| "name": "log (2)" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "There is no new candidate." |
| ], |
| "name": "log (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "update-ref", |
| "refs/heads/roll", |
| "0df953c9e12c1e3b0e37f2d4ef1ef8c319e095cb" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git update-ref" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "https://chromium.googlesource.com/v8/v8", |
| "refs/heads/roll:refs/heads/roll" |
| ], |
| "cwd": "[SLAVE_BUILD]/v8", |
| "name": "git push" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "0df953c9e12c1e3b0e37f2d4ef1ef8c319e095cb 396006", |
| "[SLAVE_BUILD]/refs_heads_roll.log" |
| ], |
| "name": "Write refs_heads_roll.log" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| "--", |
| "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "[SLAVE_BUILD]/refs_heads_roll.log", |
| "gs://chromium-v8-auto-roll/v8_release_process/refs_heads_roll.log" |
| ], |
| "name": "gsutil upload", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium-v8-auto-roll/v8_release_process/refs_heads_roll.log@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |