Commit b8b5aaea authored by nodir's avatar nodir Committed by Commit bot

fix swarmbucket infra path

Do not rely on buildbot config which goes up 4 directories. Everything
should happen in the workdir. Also exclude any project-specific paths.

This fixes the problem that swarmbucket builds expect git_cache to be in
/b/git_cache. It should be in the CWD/git_cache. This will fix Windows
builders.

R=vadimsh@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2477033002
parent 8c5a353e
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -3,7 +3,7 @@
"cmd": [],
"name": "show cache path",
"~followup_annotations": [
"@@@STEP_TEXT@[CACHE]@@@"
"@@@STEP_TEXT@[GIT_CACHE]@@@"
]
},
{
......
......@@ -13,7 +13,7 @@ DEPS = [
def RunSteps(api):
api.step('show cache path', [])
api.step.active_result.presentation.step_text = str(api.path['cache'])
api.step.active_result.presentation.step_text = str(api.path['git_cache'])
def GenTests(api):
......
......@@ -53,6 +53,8 @@ def infra_kitchen(c):
c.base_paths[path] = c.base_paths['cache'] + (path,)
@CONFIG_CTX(includes=['infra_buildbot'])
@CONFIG_CTX()
def infra_swarmbucket(c):
c.base_paths['root'] = c.CURRENT_WORKING_DIR
c.base_paths['git_cache'] = c.base_paths['root'] + ('git_cache',)
c.base_paths['goma_cache'] = c.base_paths['root'] + ('goma_cache',)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment