blob: 05b9162223e24a54ba1462c10f6e14081bae02c9 [file] [log] [blame]
[
{
"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]/fuchsia"
],
"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",
"minimal",
"sso://manifest-host/manifest"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"override",
"-vv",
"-time",
"-j=16",
"-revision",
"2d72510e447ab60a9728aeea2362d8be2cbd7789",
"not-garnet",
"sso://fuchsia/not-garnet"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri override",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"update",
"-vv",
"-time",
"-j=16",
"-autoupdate=false",
"-attempts=3",
"-run-hooks=false"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri update",
"timeout": 1800,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"run-hooks",
"-vv",
"-time",
"-j=16",
"-attempts=3"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri run-hooks",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"source-manifest",
"-vv",
"-time",
"-j=16",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia",
"name": "checkout.jiri source-manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@{@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"repo_url\": \"https://fuchsia.googlesource.com/manifest\", @@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@",
"@@@STEP_LOG_LINE@json.output[source manifest]@}@@@",
"@@@STEP_LOG_END@json.output[source manifest]@@@"
]
},
{
"cmd": [
"[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri",
"snapshot",
"-vv",
"-time",
"-j=16",
"[CLEANUP]/jiri.snapshot"
],
"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",
"/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@@@"
]
},
{
"cmd": [],
"name": "upload checkout results",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@integration-revision-count@1@@@"
]
},
{
"cmd": [],
"name": "upload checkout results.install infra/gsutil",
"~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/infra/gsutil/version%3A4.41"
],
"infra_step": true,
"name": "upload checkout results.install infra/gsutil.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/gsutil/version%3A4.41",
"-ensure-file",
"infra/gsutil version:4.41",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "upload checkout results.install infra/gsutil.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:4.41----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gsutil\"@@@",
"@@@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": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython",
"-u",
"[CACHE]/cipd/infra/gsutil/version%3A4.41/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"[CLEANUP]/jiri.snapshot",
"gs://gcs_bucket/builds/8945511751514863184/jiri.snapshot"
],
"infra_step": true,
"name": "upload checkout results.upload jiri.snapshot to gcs_bucket",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@jiri.snapshot@https://storage.cloud.google.com/gcs_bucket/builds/8945511751514863184/jiri.snapshot@@@"
]
},
{
"cmd": [
"git",
"-C",
"[START_DIR]/fuchsia/integration",
"rev-list",
"--count",
"HEAD"
],
"name": "upload checkout results.git -C",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "upload source manifest"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"{\"directories\": {\"manifest\": {\"git_checkout\": {\"repo_url\": \"https://fuchsia.googlesource.com/manifest\", \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"}}}}",
"[CLEANUP]/tmp_tmp_1"
],
"infra_step": true,
"name": "upload source manifest.source_manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@tmp_tmp_1@{\"directories\": {\"manifest\": {\"git_checkout\": {\"repo_url\": \"https://fuchsia.googlesource.com/manifest\", \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"}}}}@@@",
"@@@STEP_LOG_END@tmp_tmp_1@@@"
]
},
{
"cmd": [
"vpython",
"-vpython-spec",
"RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython",
"-u",
"[CACHE]/cipd/infra/gsutil/version%3A4.41/gsutil",
"-o",
"GSUtil:software_update_check_period=0",
"cp",
"-n",
"[CLEANUP]/tmp_tmp_1",
"gs://gcs_artifact_bucket/builds/8945511751514863184/source_manifest.json"
],
"infra_step": true,
"name": "upload source manifest.upload source_manifest.json to gcs_artifact_bucket",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@source_manifest.json@https://storage.cloud.google.com/gcs_artifact_bucket/builds/8945511751514863184/source_manifest.json@@@"
]
},
{
"name": "$result"
}
]