blob: 75174752b3550497dd0519c5ec0b31584b9ca496 [file] [log] [blame] [edit]
[
{
"cmd": [
"prpc",
"call",
"-format=json",
"https://luci-scheduler-dev.appspot.com",
"scheduler.Scheduler.EmitTriggers"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "luci-scheduler.EmitTriggers",
"stdin": "{\"batches\": [{\"jobs\": [{\"job\": \"job1\", \"project\": \"proj\"}, {\"job\": \"job2\", \"project\": \"proj\"}], \"trigger\": {\"buildbucket\": {\"properties\": {\"some\": \"none\"}, \"tags\": [\"this:test\"]}, \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00001\", \"title\": \"compiler/123\", \"url\": \"https://example.com\"}}], \"timestamp\": 1337000001500000}",
"~followup_annotations": [
"@@@STEP_LOG_LINE@input@{@@@",
"@@@STEP_LOG_LINE@input@ \"batches\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"jobs\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"job1\",@@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"proj\"@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"job2\",@@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"proj\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ],@@@",
"@@@STEP_LOG_LINE@input@ \"trigger\": {@@@",
"@@@STEP_LOG_LINE@input@ \"buildbucket\": {@@@",
"@@@STEP_LOG_LINE@input@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@input@ \"some\": \"none\"@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@input@ \"this:test\"@@@",
"@@@STEP_LOG_LINE@input@ ]@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00001\",@@@",
"@@@STEP_LOG_LINE@input@ \"title\": \"compiler/123\",@@@",
"@@@STEP_LOG_LINE@input@ \"url\": \"https://example.com\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ],@@@",
"@@@STEP_LOG_LINE@input@ \"timestamp\": 1337000001500000@@@",
"@@@STEP_LOG_LINE@input@}@@@",
"@@@STEP_LOG_END@input@@@"
]
},
{
"cmd": [
"prpc",
"call",
"-format=json",
"https://luci-scheduler-dev.appspot.com",
"scheduler.Scheduler.EmitTriggers"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "project:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "custom-batch-step",
"stdin": "{\"batches\": [{\"jobs\": [{\"job\": \"job1\", \"project\": \"proj\"}, {\"job\": \"job2\", \"project\": \"proj\"}], \"trigger\": {\"buildbucket\": {\"properties\": {\"some\": \"none\"}, \"tags\": [\"buildset:commit/gitiles/chromium.googlesource.com/project/+/2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"gitiles_ref:refs/heads/main\", \"parent_buildername:compiler\", \"parent_buildnumber:123\", \"this:test\", \"user_agent:recipe\"]}, \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00002\", \"title\": \"compiler/123\"}}, {\"jobs\": [{\"job\": \"job1\", \"project\": \"proj3\"}], \"trigger\": {\"gitiles\": {\"ref\": \"refs/branch-heads/1235\", \"repo\": \"https://chromium.googlesource.com/chromium/src\", \"revision\": \"2d2b87e5f9c872902d8508f6377470a4a6fa87e1\", \"tags\": [\"parent_buildername:compiler\", \"parent_buildnumber:123\", \"user_agent:recipe\"]}, \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00003\", \"title\": \"advanced gitiles trigger\"}}], \"timestamp\": 1337000003000000}",
"~followup_annotations": [
"@@@STEP_LOG_LINE@input@{@@@",
"@@@STEP_LOG_LINE@input@ \"batches\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"jobs\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"job1\",@@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"proj\"@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"job2\",@@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"proj\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ],@@@",
"@@@STEP_LOG_LINE@input@ \"trigger\": {@@@",
"@@@STEP_LOG_LINE@input@ \"buildbucket\": {@@@",
"@@@STEP_LOG_LINE@input@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@input@ \"some\": \"none\"@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@input@ \"buildset:commit/gitiles/chromium.googlesource.com/project/+/2d72510e447ab60a9728aeea2362d8be2cbd7789\",@@@",
"@@@STEP_LOG_LINE@input@ \"gitiles_ref:refs/heads/main\",@@@",
"@@@STEP_LOG_LINE@input@ \"parent_buildername:compiler\",@@@",
"@@@STEP_LOG_LINE@input@ \"parent_buildnumber:123\",@@@",
"@@@STEP_LOG_LINE@input@ \"this:test\",@@@",
"@@@STEP_LOG_LINE@input@ \"user_agent:recipe\"@@@",
"@@@STEP_LOG_LINE@input@ ]@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00002\",@@@",
"@@@STEP_LOG_LINE@input@ \"title\": \"compiler/123\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"jobs\": [@@@",
"@@@STEP_LOG_LINE@input@ {@@@",
"@@@STEP_LOG_LINE@input@ \"job\": \"job1\",@@@",
"@@@STEP_LOG_LINE@input@ \"project\": \"proj3\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ],@@@",
"@@@STEP_LOG_LINE@input@ \"trigger\": {@@@",
"@@@STEP_LOG_LINE@input@ \"gitiles\": {@@@",
"@@@STEP_LOG_LINE@input@ \"ref\": \"refs/branch-heads/1235\",@@@",
"@@@STEP_LOG_LINE@input@ \"repo\": \"https://chromium.googlesource.com/chromium/src\",@@@",
"@@@STEP_LOG_LINE@input@ \"revision\": \"2d2b87e5f9c872902d8508f6377470a4a6fa87e1\",@@@",
"@@@STEP_LOG_LINE@input@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@input@ \"parent_buildername:compiler\",@@@",
"@@@STEP_LOG_LINE@input@ \"parent_buildnumber:123\",@@@",
"@@@STEP_LOG_LINE@input@ \"user_agent:recipe\"@@@",
"@@@STEP_LOG_LINE@input@ ]@@@",
"@@@STEP_LOG_LINE@input@ },@@@",
"@@@STEP_LOG_LINE@input@ \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00003\",@@@",
"@@@STEP_LOG_LINE@input@ \"title\": \"advanced gitiles trigger\"@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ }@@@",
"@@@STEP_LOG_LINE@input@ ],@@@",
"@@@STEP_LOG_LINE@input@ \"timestamp\": 1337000003000000@@@",
"@@@STEP_LOG_LINE@input@}@@@",
"@@@STEP_LOG_END@input@@@"
]
},
{
"name": "$result"
}
]