| [ |
| { |
| "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": "checkout", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@cached_revision@null@@@", |
| "@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"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", |
| "[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", |
| "h3ll0", |
| "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", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.write 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 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": [], |
| "name": "resolve release version" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--exact-match", |
| "h3ll0" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "resolve release version.ref to release version", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--tags", |
| "https://fuchsia.googlesource.com/integration", |
| "releases/0.20200101.0.2" |
| ], |
| "name": "resolve release version.get remote tag", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get project info" |
| }, |
| { |
| "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", |
| "test-project" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "get project info.jiri project", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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\": \"test-project/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"test-project\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/fuchsia/integration/test-project\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"relativePath\": \"test-project\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/test-project\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\"@@@", |
| "@@@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", |
| "manifest", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-element", |
| "test-project", |
| "-template", |
| "\n {\n \"gerrithost\": \"{{.GerritHost}}\",\n \"githooks\": \"{{.GitHooks}}\",\n \"historydepth\": \"{{.HistoryDepth}}\",\n \"name\": \"{{.Name}}\",\n \"path\": \"{{.Path}}\",\n \"remote\": \"{{.Remote}}\",\n \"remotebranch\": \"{{.RemoteBranch}}\",\n \"revision\": \"{{.Revision}}\"\n }\n ", |
| "test-project/manifest" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "get project info.read manifest for test-project", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"gerrithost\": \"https://fuchsia-review.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": \"fuchsia/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"test-project\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get project info.ensure gerrit", |
| "~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::gerrit]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "get project info.ensure gerrit.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gerrit\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get project info.ensure gerrit.install path/to/gerrit", |
| "~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/gerrit/version%3Apinned-version" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "get project info.ensure gerrit.install path/to/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/gerrit version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "get project info.ensure gerrit.install path/to/gerrit.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/gerrit\"@@@", |
| "@@@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/gerrit/version%3Apinned-version/gerrit", |
| "change-detail", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"Ia123b\", \"params\": {\"o\": [\"CURRENT_REVISION\"]}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "get project info.get change details", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"current_revision\": \"foo\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"labels\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Code-Review\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"approved\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"approver@google.com\"@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"Ia123b\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"o\": [@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_REVISION\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ ]@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/Ia123b@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "apply 1 revert" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/test-project", |
| "releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.check project branch exists", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/releases/targetbranch@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "apply 1 revert.Ia123b", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.Ia123b.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.Ia123b.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "revert", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.Ia123b.git revert", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "foo", |
| "--format=%B", |
| "--no-patch", |
| "--oneline" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.Ia123b.get commit msg", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@commit message@[foo] bar@@@", |
| "@@@STEP_LOG_LINE@commit message@baz@@@", |
| "@@@STEP_LOG_END@commit message@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "origin", |
| "HEAD:refs/heads/releases/targetbranch" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.git push", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration/test-project", |
| "name": "apply 1 revert.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "update integration", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@release_version@http://go/fuchsia-release-version/0.20200101.0.2@@@", |
| "@@@SET_BUILD_PROPERTY@release_revision@\"deadbeef\"@@@", |
| "@@@SET_BUILD_PROPERTY@release_version@\"releases/0.20200101.0.2\"@@@" |
| ] |
| }, |
| { |
| "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" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "update integration.jiri init", |
| "~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", |
| "test-project=deadbeef", |
| "test-project/manifest" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "update integration.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\": \"test-project\", @@@", |
| "@@@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/test-project\", @@@", |
| "@@@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", |
| "commit", |
| "-m", |
| "[release] Update test-project to deadbeef after revert https://fuchsia-review.googlesource.com/c/test-project/+/Ia123b\n\n[foo] bar\nbaz\n\nBug: 123456", |
| "-a" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "name": "update integration.git commit", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "update integration.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "tag", |
| "releases/0.20200101.0.2" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "update 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.20200101.0.2" |
| ], |
| "cwd": "[START_DIR]/fuchsia/integration", |
| "infra_step": true, |
| "name": "update integration.push release", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |