blob: b427be6a2c523c47c3a56a9e18b9e9863c6e0c03 [file] [log] [blame]
{
"autoroll": {
"urls": [
"https://autoroll.skia.org",
"https://autoroll.skia.org/r/skia-autoroll"
],
"method": "GET",
"expected": [
200
],
"body": "",
"mimetype": ""
},
"autoroll_json": {
"urls": [
"https://autoroll.skia.org/twirp/autoroll.rpc.AutoRollService/GetRollers",
"https://autoroll.skia.org/twirp/autoroll.rpc.AutoRollService/GetMiniStatus",
"https://autoroll.skia.org/twirp/autoroll.rpc.AutoRollService/GetStatus"
],
"method": "POST",
"expected": [
200
],
"body": "{\"roller_id\": \"skia-autoroll\"}",
"mimetype": "application/json",
"responsetest": "validJSON"
},
"autoroll_post_deny": {
"urls": [
"https://autoroll.skia.org/twirp/autoroll.rpc.AutoRollService/SetMode",
"https://autoroll.skia.org/twirp/autoroll.rpc.AutoRollService/SetStrategy",
"https://autoroll.skia.org/twirp/autoroll.rpc.AutoRollService/Unthrottle"
],
"method": "POST",
"expected": [
403
],
"body": "{\"roller_id\": \"skia-skiabot-test-autoroll\", \"mode\": \"RUNNING\", \"message\": \"not allowed\"}",
"mimetype": "application/json"
}
}