blob: 070f187f1062c935f37b32c38fa86b601adc2658 [file]
[
{
"cmd": [],
"name": "install fuchsia/gce_mediator/client/gcem_client"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/cipd_tool/fuchsia/gce_mediator/client/gcem_client/g3-revision%3Agce-mediator-client_20210405_RC00"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": ":"
},
"resultdb": {
"current_invocation": {
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install fuchsia/gce_mediator/client/gcem_client.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/gce_mediator/client/gcem_client/g3-revision%3Agce-mediator-client_20210405_RC00",
"-ensure-file",
"fuchsia/gce_mediator/client/gcem_client g3-revision:gce-mediator-client_20210405_RC00",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": ":"
},
"resultdb": {
"current_invocation": {
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install fuchsia/gce_mediator/client/gcem_client.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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-g3-revision:gce-\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/gce_mediator/client/gcem_client\"@@@",
"@@@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/fuchsia/gce_mediator/client/gcem_client/g3-revision%3Agce-mediator-client_20210405_RC00/gcem_client",
"create-image",
"-host",
"http://gce-endpoint",
"-project",
"cloud-project",
"-swarming-host",
"chrome-swarming",
"-build-id",
"50a0cbcff444d810",
"-gcs-path",
"https://storage.googleapis.com/fuchsia-artifacts/builds/123456789/images/images/disk.tar.gz"
],
"luci_context": {
"realm": {
"name": ":"
},
"resultdb": {
"current_invocation": {
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "create GCE image",
"timeout": 300
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[\n {\n \"build_id\": \"50a0cbcff444d810\", \n \"cloud_project\": \"cloud-project\", \n \"machine_shape\": \"n2-standard-4\", \n \"mediator_url\": \"http://gce-endpoint\", \n \"swarming_server\": \"chrome-swarming\", \n \"type\": \"gce\"\n }\n]",
"[CLEANUP]/tmp_tmp_1/gce.json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": ":"
},
"resultdb": {
"current_invocation": {
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "write gce config",
"~followup_annotations": [
"@@@STEP_LOG_LINE@gce.json@[@@@",
"@@@STEP_LOG_LINE@gce.json@ {@@@",
"@@@STEP_LOG_LINE@gce.json@ \"build_id\": \"50a0cbcff444d810\", @@@",
"@@@STEP_LOG_LINE@gce.json@ \"cloud_project\": \"cloud-project\", @@@",
"@@@STEP_LOG_LINE@gce.json@ \"machine_shape\": \"n2-standard-4\", @@@",
"@@@STEP_LOG_LINE@gce.json@ \"mediator_url\": \"http://gce-endpoint\", @@@",
"@@@STEP_LOG_LINE@gce.json@ \"swarming_server\": \"chrome-swarming\", @@@",
"@@@STEP_LOG_LINE@gce.json@ \"type\": \"gce\"@@@",
"@@@STEP_LOG_LINE@gce.json@ }@@@",
"@@@STEP_LOG_LINE@gce.json@]@@@",
"@@@STEP_LOG_END@gce.json@@@"
]
},
{
"name": "$result"
}
]