f4a5fc7af0
Add Git recipe module to easily use this version of Git anywhere. This fixes recipe bundling and unblocks the recipe roll. Bug: skia: Change-Id: Ib4d1361b7a52676e1992025b29e630ea3ada173b Reviewed-on: https://skia-review.googlesource.com/18833 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
61 lines
1.1 KiB
JSON
61 lines
1.1 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"init"
|
|
],
|
|
"cwd": "[START_DIR]/skia",
|
|
"env": {
|
|
"PATH": "[START_DIR]/git:[START_DIR]/git/bin:<PATH>"
|
|
},
|
|
"infra_step": true,
|
|
"name": "git init"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"add",
|
|
"."
|
|
],
|
|
"cwd": "[START_DIR]/skia",
|
|
"env": {
|
|
"PATH": "[START_DIR]/git:[START_DIR]/git/bin:<PATH>"
|
|
},
|
|
"infra_step": true,
|
|
"name": "git add"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"git",
|
|
"commit",
|
|
"-m",
|
|
"commit recipes"
|
|
],
|
|
"cwd": "[START_DIR]/skia",
|
|
"env": {
|
|
"PATH": "[START_DIR]/git:[START_DIR]/git/bin:<PATH>"
|
|
},
|
|
"infra_step": true,
|
|
"name": "git commit"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"python",
|
|
"[START_DIR]/skia/infra/bots/recipes.py",
|
|
"bundle",
|
|
"--destination",
|
|
"[SWARM_OUT_DIR]/recipe_bundle"
|
|
],
|
|
"cwd": "[START_DIR]/skia",
|
|
"env": {
|
|
"PATH": "[START_DIR]/git:[START_DIR]/git/bin:<PATH>"
|
|
},
|
|
"infra_step": true,
|
|
"name": "Bundle Recipes"
|
|
},
|
|
{
|
|
"name": "$result",
|
|
"recipe_result": null,
|
|
"status_code": 0
|
|
}
|
|
] |