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
changes/60/408660/1
nodir 9 years ago committed by Commit bot
parent 8c5a353e63
commit b8b5aaea92

@ -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',)

Loading…
Cancel
Save