Bootstrap import of recipes into new repo
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0857ed0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.pyc
+*.swp
+.DS_Store
+.project
+.recipe_deps/
diff --git a/infra/config/recipes.cfg b/infra/config/recipes.cfg
new file mode 100644
index 0000000..e4288ca
--- /dev/null
+++ b/infra/config/recipes.cfg
@@ -0,0 +1,21 @@
+api_version: 1
+project_id: "skia-recipes"
+recipes_path: "."
+deps {
+ project_id: "build"
+ url: "https://chromium.googlesource.com/chromium/tools/build.git"
+ branch: "master"
+ revision: "396d0f5c499e0b9647026a0af93052148da28d22"
+}
+deps {
+ project_id: "depot_tools"
+ url: "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ branch: "master"
+ revision: "99790f42d633be44c16516aed08c9010aab15826"
+}
+deps {
+ project_id: "recipe_engine"
+ url: "https://chromium.googlesource.com/external/github.com/luci/recipes-py.git"
+ branch: "master"
+ revision: "7c73d4ed7ea86551395704ec24c2bfdfc07acc48"
+}
diff --git a/recipes.py b/recipes.py
index 9a7e131..e05dd1a 100755
--- a/recipes.py
+++ b/recipes.py
@@ -19,7 +19,7 @@
#### PER-REPO CONFIGURATION (editable) ####
# The root of the repository relative to the directory of this file.
-REPO_ROOT = os.path.join(os.pardir, os.pardir)
+REPO_ROOT = os.curdir
# The path of the recipes.cfg file relative to the root of the repository.
RECIPES_CFG = os.path.join('infra', 'config', 'recipes.cfg')
#### END PER-REPO CONFIGURATION ####
diff --git a/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit-Trybot.json b/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit-Trybot.json
index 58dbffd..6acd6cf 100644
--- a/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit-Trybot.json
+++ b/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit-Trybot.json
@@ -104,7 +104,7 @@
{
"cmd": [
"python",
- "RECIPE_MODULE[skia::core]/resources/run_binary_size_analysis.py",
+ "RECIPE_MODULE[skia-recipes::core]/resources/run_binary_size_analysis.py",
"--library",
"[START_DIR]/out/Release/lib/libskia.so",
"--githash",
@@ -162,4 +162,4 @@
"recipe_result": null,
"status_code": 0
}
-]
+]
\ No newline at end of file
diff --git a/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit.json b/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit.json
index d3eb428..f3a42d3 100644
--- a/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit.json
+++ b/recipes/swarm_housekeeper.expected/Housekeeper-PerCommit.json
@@ -100,7 +100,7 @@
{
"cmd": [
"python",
- "RECIPE_MODULE[skia::core]/resources/generate_and_upload_doxygen.py"
+ "RECIPE_MODULE[skia-recipes::core]/resources/generate_and_upload_doxygen.py"
],
"cwd": "[CUSTOM_/_B_WORK]/skia",
"env": {
@@ -114,7 +114,7 @@
{
"cmd": [
"python",
- "RECIPE_MODULE[skia::core]/resources/run_binary_size_analysis.py",
+ "RECIPE_MODULE[skia-recipes::core]/resources/run_binary_size_analysis.py",
"--library",
"[START_DIR]/out/Release/lib/libskia.so",
"--githash",
@@ -170,4 +170,4 @@
"recipe_result": null,
"status_code": 0
}
-]
+]
\ No newline at end of file