| [ |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.install fuchsia/tools/jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version" |
| ], |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} pinned-jiri-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-pinned-jiri-vers\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "[START_DIR]" |
| ], |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-name", |
| "integration", |
| "-revision", |
| "HEAD", |
| "flower", |
| "https://fuchsia.googlesource.com/integration" |
| ], |
| "name": "checkout.jiri import", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "name": "checkout.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-autoupdate=false", |
| "-attempts=1", |
| "-run-hooks=false" |
| ], |
| "name": "checkout.jiri update", |
| "timeout": 1800, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "name": "checkout.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "run-hooks", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-attempts=3" |
| ], |
| "env": { |
| "HOME": "[START_DIR]", |
| "INFRA_RECIPES": "1" |
| }, |
| "name": "checkout.jiri run-hooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "checkout.source-info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "snapshot", |
| "-vv", |
| "-time", |
| "-j=16", |
| "[CLEANUP]/jiri.snapshot" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/jiri.snapshot", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "checkout.read snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@jiri.snapshot@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/super" |
| ], |
| "infra_step": true, |
| "name": "make dirs" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/super" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/super" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "set fetch.uriprotocols" |
| }, |
| { |
| "cmd": [], |
| "name": "cache" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-super" |
| ], |
| "cwd": "[START_DIR]/super", |
| "infra_step": true, |
| "name": "cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "infra_step": true, |
| "name": "cache.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "name": "cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/super" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "name": "cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "name": "cache.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "name": "cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "name": "cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-super", |
| "infra_step": true, |
| "name": "cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/super/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/super", |
| "infra_step": true, |
| "name": "cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-super/objects\n", |
| "[START_DIR]/super/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/super", |
| "infra_step": true, |
| "name": "cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-super/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "generate-gitmodules", |
| "-vv", |
| "-time", |
| "-j=16", |
| "--redir-root", |
| "--generate-script", |
| "[START_DIR]/super/setup.sh", |
| ".gitmodules" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "jiri generate-gitmodules" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/super/setup.sh" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "run setup.sh" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[START_DIR]/super/setup.sh" |
| ], |
| "cwd": "[START_DIR]/super", |
| "infra_step": true, |
| "name": "remove setup.sh" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| ".gitmodules" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "--cached", |
| "--exit-code" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git diff" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "Update submodules based on jiri manifest" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "origin", |
| "HEAD:master" |
| ], |
| "cwd": "[START_DIR]/super", |
| "name": "git push" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |