Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Unified Diff: scripts/slave/recipes/infra/recipe_simulation.expected/normal.json

Issue 2064453002: add recipe continuous builders for each repo with recipes (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix presubmit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/infra/recipe_simulation.expected/normal.json
diff --git a/scripts/slave/recipes/infra/recipe_simulation.expected/normal.json b/scripts/slave/recipes/infra/recipe_simulation.expected/normal.json
index 04460184818160c9a5ab208ef774e831fc80ab9d..4a26cee9ba8a18b694bf44a89a9ce25f587ecff2 100644
--- a/scripts/slave/recipes/infra/recipe_simulation.expected/normal.json
+++ b/scripts/slave/recipes/infra/recipe_simulation.expected/normal.json
@@ -3,6 +3,19 @@
"cmd": [
"python",
"-u",
+ "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
+ "https://luci-config.appspot.com/_ah/api/config/v1/projects",
+ "--outfile",
+ "/path/to/tmp/",
+ "--attempts",
+ "3"
+ ],
+ "name": "Get luci-config projects"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
"--master",
"chromium.tools.build",
@@ -11,13 +24,13 @@
"--slave",
"TestSlavename",
"--spec",
- "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'build', 'url': 'https://chromium.googlesource.com/chromium/tools/build.git'}]",
+ "cache_dir = '[SLAVE_BUILD]/_cache_dir'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'build', 'url': 'https://repo.repo/build'}]",
"--root",
"build",
"--revision_mapping_file",
- "{\"build\": \"got_revision\"}",
+ "{}",
"--git-cache-dir",
- "[GIT_CACHE]",
+ "[SLAVE_BUILD]/_cache_dir",
"--output_json",
"/path/to/tmp/json",
"--revision",
@@ -25,6 +38,7 @@
"--force",
"--output_manifest"
],
+ "cwd": "[SLAVE_BUILD]",
"env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
},
@@ -36,41 +50,34 @@
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"build\": \"deadbeaf\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
- "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/build.git\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"revision\": \"80754af91bfb6d1073585b046fe0a474ce868509\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"build\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"80754af91bfb6d1073585b046fe0a474ce868509\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#270553}\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }, @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"build\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@",
- "@@@SET_BUILD_PROPERTY@got_revision@\"80754af91bfb6d1073585b046fe0a474ce868509\"@@@",
- "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#270553}\"@@@"
+ "@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"python",
"-u",
- "[SLAVE_BUILD]/build/scripts/slave/recipes.py",
- "fetch"
+ "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
+ "https://luci-config.appspot.com//_ah/api/config/v1/config_sets/projects%2Fbuild%2Frefs%2Fheads%2Fmaster/config/recipes.cfg",
+ "--outfile",
+ "/path/to/tmp/",
+ "--attempts",
+ "3"
],
- "name": "recipe fetch deps"
+ "name": "Get project 'build' config 'recipes.cfg'"
},
{
"cmd": [
- "python",
- "-u",
- "[SLAVE_BUILD]/build/scripts/slave/unittests/recipe_simulation_test.py",
- "test"
+ "[SLAVE_BUILD]/build/foobar/recipes.py",
+ "--use-bootstrap",
+ "simulation_test"
],
"name": "recipe simulation test"
},

Powered by Google App Engine
This is Rietveld 408576698