| [ |
| { |
| "cmd": [], |
| "name": "checkout integration" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/integration_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "checkout integration.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/integration" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout integration.cache", |
| "~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": "[CLEANUP]/integration_tmp_1", |
| "infra_step": true, |
| "name": "checkout integration.cache.write guard file", |
| "~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", |
| "[CACHE]/git/fuchsia.googlesource.com-integration" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "infra_step": true, |
| "name": "checkout integration.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-integration", |
| "name": "checkout integration.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/integration" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-integration", |
| "name": "checkout integration.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-integration", |
| "name": "checkout integration.cache.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-integration", |
| "name": "checkout integration.cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-integration", |
| "name": "checkout integration.cache.git fetch", |
| "~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", |
| "[CLEANUP]/integration_tmp_1/.git/objects/info" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "infra_step": true, |
| "name": "checkout integration.cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-integration/objects\n", |
| "[CLEANUP]/integration_tmp_1/.git/objects/info/alternates" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "infra_step": true, |
| "name": "checkout integration.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-integration/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "infra_step": true, |
| "name": "checkout integration.cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "main" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout integration.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "checkout integration.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "resolve target platform version" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--all" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "resolve target platform version.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "branch", |
| "--remotes" |
| ], |
| "cwd": "[CLEANUP]/integration_tmp_1", |
| "name": "resolve target platform version.get branches", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@ releases/foo@@@", |
| "@@@STEP_LOG_LINE@stdout@ releases/f1@@@", |
| "@@@STEP_LOG_LINE@stdout@ releases/f2@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "resolve current platform version" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| "--url", |
| "https://fuchsia.googlesource.com/fuchsia/+/main/build/config/fuchsia/platform_version.json?format=TEXT", |
| "--status-json", |
| "/path/to/tmp/json", |
| "--outfile", |
| "/path/to/tmp/" |
| ], |
| "name": "resolve current platform version.fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@cached_revision@null@@@", |
| "@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"manifest\": \"flower\", \"manifest_remote\": \"https://fuchsia.googlesource.com/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": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/integration", |
| "main" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.resolve head of 'main' branch", |
| "~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", |
| "flower", |
| "https://fuchsia.googlesource.com/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", |
| "run-hooks", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-attempts=3", |
| "-hook-timeout=9" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "env": { |
| "HOME": "[START_DIR]/fuchsia", |
| "INFRA_RECIPES": "1" |
| }, |
| "infra_step": true, |
| "name": "checkout.jiri run-hooks", |
| "~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": [], |
| "name": "gen" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/fuchsia/tools/integration/bootstrap.sh", |
| "-o", |
| "[CLEANUP]/fint_tmp_1/fint" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "gen.bootstrap fint", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/fuchsia/fint_params/platform-version-roller.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]/fuchsia\"\nbuild_dir: \"[START_DIR]/fuchsia/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "gen.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]/fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/fuchsia/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "gen.read fint set artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@{@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"enable_rbe\": true,@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"gn_trace_path\": \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\",@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"metadata\": {@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"board\": \"boards/x64.gni\",@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"optimize\": \"debug\",@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"product\": \"products/core.gni\",@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"target_arch\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"variants\": [@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"asan\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ ]@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ },@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ \"use_goma\": true@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@}@@@", |
| "@@@STEP_LOG_END@set_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/fuchsia/out/not-default/tool_paths.json", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "gen.read tool_paths manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@[@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ {@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ }@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@]@@@", |
| "@@@STEP_LOG_END@tool_paths.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/fuchsia/out/not-default/linux_x64/python3", |
| "[START_DIR]/fuchsia/scripts/versioning/update_platform_version.py", |
| "--fuchsia-api-level", |
| "3" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "update platform version" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-files", |
| "--modified", |
| "--deleted", |
| "--exclude-standard" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "check for no-op commit", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@hello@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--update" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [], |
| "name": "calculate Change-Id", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "--unified=0", |
| "--cached" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "calculate Change-Id.git diff", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@diff --git a/foo.txt b/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@--- a/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+++ b/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@ -16 +16 @@@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@- foo = 5@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+ foo = 6@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@diff --git a/bar.txt b/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@--- a/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+++ b/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@ -5 +5 @@@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@- bar = 0@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+ bar = 1@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@@", |
| "@@@STEP_LOG_END@diff (without hashes)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "diff --git a/foo.txt b/foo.txt\n--- a/foo.txt\n+++ b/foo.txt\n@@ -16 +16 @@\n- foo = 5\n+ foo = 6\ndiff --git a/bar.txt b/bar.txt\n--- a/bar.txt\n+++ b/bar.txt\n@@ -5 +5 @@\n- bar = 0\n+ bar = 1\n############" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "calculate Change-Id.git hash-object", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure gerrit" |
| }, |
| { |
| "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", |
| "infra_step": true, |
| "name": "ensure gerrit.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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": "ensure gerrit.install path/to/gerrit", |
| "~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]/cipd_tool/path/to/gerrit/version%3Apinned-version" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "ensure gerrit.install path/to/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "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", |
| "infra_step": true, |
| "name": "ensure gerrit.install path/to/gerrit.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-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-query", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"o\": [\"CURRENT_COMMIT\", \"CURRENT_REVISION\", \"MESSAGES\"], \"q\": \"change:fuchsia~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "check for identical roll", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@null@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"o\": [@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_COMMIT\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_REVISION\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"MESSAGES\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ ], @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"q\": \"change:fuchsia~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "[roll] Update platform version from 2 to 3\n\nRoller-URL: https://ci.chromium.org/b/0\nCq-Cl-Tag: roller-builder:\nCq-Cl-Tag: roller-bid:0\nCQ-Do-Not-Cancel-Tryjobs: true\nChange-Id: Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad", |
| "-a" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--push-option", |
| "nokeycheck", |
| "origin", |
| "HEAD:refs/for/main%l=Commit-Queue+2" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "git push", |
| "timeout": 180.0, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@@@@", |
| "@@@STEP_LOG_END@stdout@@@", |
| "@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/fuchsia~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check for completion" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-detail", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"fuchsia~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\", \"params\": {\"o\": [\"CURRENT_REVISION\"]}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check for completion.check if done (0)", |
| "timeout": 30.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"current_revision\": \"abc123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"labels\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Commit-Queue\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"approved\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"MERGED\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"fuchsia~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\", @@@", |
| "@@@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/fuchsia~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |