| [ |
| { |
| "cmd": [], |
| "name": "check inputs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/integration", |
| "releases/targetbranch" |
| ], |
| "name": "check inputs.get target branch HEAD", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/releases/targetbranch@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "resolve source revision" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@cached_revision@null@@@", |
| "@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"foo\", \"manifest\": \"integration\", \"manifest_remote\": \"sso://fuchsia/integration\", \"patches\": []}@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.ensure checkout dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.ensure jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::jiri]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.ensure jiri.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/jiri\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.ensure jiri.install path/to/jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.ensure jiri.install path/to/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/jiri version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.ensure jiri.install path/to/jiri.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/jiri\"@@@", |
| "@@@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": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "-fetch-optional=", |
| "[START_DIR]/fuchsia" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-name", |
| "integration", |
| "-revision", |
| "foo", |
| "integration", |
| "sso://fuchsia/integration" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "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", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.ensure git cache dir", |
| "~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": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.write git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-autoupdate=false", |
| "-attempts=1", |
| "-gc=true", |
| "-run-hooks=false", |
| "-fetch-packages=false" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri update", |
| "timeout": 2700, |
| "~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": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.remove git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.source-info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "snapshot", |
| "-vv", |
| "-time", |
| "-j=8", |
| "[CLEANUP]/jiri_snapshot.xml" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "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.xml", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.read snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@jiri_snapshot.xml@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "check-clean", |
| "-vv", |
| "-time", |
| "-j=8" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "checkout.jiri check-clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-list-remote-projects", |
| "integration" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "get project path", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branches\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"(HEAD detached at c22471f)\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"current_branch\": \"\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": \"integration/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/fuchsia/integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"relativePath\": \"integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "git fetch", |
| "timeout": 1200.0 |
| }, |
| { |
| "cmd": [], |
| "name": "resolve release version" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "resolve release version.ref to release version", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "--no-pager", |
| "tag", |
| "--merged", |
| "origin/releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "resolve release version.get release versions on origin/releases/targetbranch", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/fuchsia/integration/MILESTONE", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "resolve release version.get major number", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@MILESTONE@0@@@", |
| "@@@STEP_LOG_END@MILESTONE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--tags", |
| "https://fuchsia.googlesource.com/integration", |
| "releases/0.20120514.0.1" |
| ], |
| "name": "resolve release version.get remote tag", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "snap integration" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.ref to release version", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "snap integration.snap branch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.snap branch.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-C", |
| "[START_DIR]/fuchsia/integration", |
| "checkout", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.snap branch.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.snap branch.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-b", |
| "tmp_branch", |
| "origin/releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.snap branch.git checkout (2)", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "reset", |
| "--hard", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.snap branch.git reset", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge", |
| "--strategy", |
| "ours", |
| "origin/releases/targetbranch", |
| "--message", |
| "[release] Snap to foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "snap integration.snap branch.git merge", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "snap petals" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-list-remote-projects" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "snap petals.jiri project", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": \"local/path/to/foo/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"foo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/local/path/to/foo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/foo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"snapme\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": \"local/path/to/bar/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"bar\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/local/path/to/bar\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/bar\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"deadbeef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": \"local/path/to/integration/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/local/path/to/integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/integration\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"skipme\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/foo", |
| "releases/targetbranch" |
| ], |
| "infra_step": true, |
| "name": "snap petals.get foo branch HEAD", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/releases/targetbranch@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "snap petals.snap foo", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.snap foo.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-C", |
| "[START_DIR]/local/path/to/foo", |
| "checkout", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.snap foo.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.snap foo.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-b", |
| "tmp_branch", |
| "origin/releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.snap foo.git checkout (2)", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "reset", |
| "--hard", |
| "snapme" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.snap foo.git reset", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge", |
| "--strategy", |
| "ours", |
| "origin/releases/targetbranch", |
| "--message", |
| "[release] Snap to snapme" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.snap foo.git merge", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/jiri/version%3Apinned-version/jiri", |
| "edit", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-project", |
| "foo=deadbeef", |
| "local/path/to/foo/manifest" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "snap petals.jiri edit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"imports\": [], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"packages\": [], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"projects\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"foo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_revision\": \"deadbeef\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_revision\": \"[OLD_REVISION]\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"/path/to/foo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"http://example.com\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/bar", |
| "releases/targetbranch" |
| ], |
| "infra_step": true, |
| "name": "snap petals.get bar branch HEAD", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@deadbeef\trefs/heads/branch@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "snap petals.snap bar", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/local/path/to/bar", |
| "infra_step": true, |
| "name": "snap petals.snap bar.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-C", |
| "[START_DIR]/local/path/to/bar", |
| "checkout", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/local/path/to/bar", |
| "infra_step": true, |
| "name": "snap petals.snap bar.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/local/path/to/bar", |
| "infra_step": true, |
| "name": "snap petals.snap bar.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/local/path/to/bar", |
| "infra_step": true, |
| "name": "snap petals.git rev-parse (2)", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "origin", |
| "HEAD:refs/heads/releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/local/path/to/foo", |
| "infra_step": true, |
| "name": "snap petals.push commit", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "push integration", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@release_version@http://go/fuchsia-release-version/0.20120514.0.1@@@", |
| "@@@SET_BUILD_PROPERTY@release_revision@\"deadbeef\"@@@", |
| "@@@SET_BUILD_PROPERTY@release_version@\"releases/0.20120514.0.1\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--all" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "push integration.add petal syncs", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "--no-edit", |
| "--amend" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "push integration.squash petal syncs", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "push integration.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "tag", |
| "releases/0.20120514.0.1" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "push integration.tag release", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--atomic", |
| "origin", |
| "HEAD:refs/heads/releases/targetbranch", |
| "refs/tags/releases/0.20120514.0.1" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "push integration.push release", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "lookup builds", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@a/b/c@https://cr-buildbucket.appspot.com/build/0@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "lookup builds.ensure buildsetlookup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::buildsetlookup]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "lookup builds.ensure buildsetlookup.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/buildsetlookup\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "lookup builds.ensure buildsetlookup.install path/to/buildsetlookup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/buildsetlookup/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "name": "lookup builds.ensure buildsetlookup.install path/to/buildsetlookup.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/buildsetlookup/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/buildsetlookup version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "lookup builds.ensure buildsetlookup.install path/to/buildsetlookup.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/buildsetlookup\"@@@", |
| "@@@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": [], |
| "name": "lookup builds.lookup a/b/c", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/buildsetlookup/version%3Apinned-version/buildsetlookup", |
| "-builder-id", |
| "a/b/c", |
| "-build-set", |
| "commit/gitiles/fuchsia.googlesource.com/integration/+/deadbeef", |
| "-build-status", |
| "0" |
| ], |
| "name": "lookup builds.lookup a/b/c.attempt 0", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |