Remove extract_comments in housekeeper bot.
BUG=skia: Change-Id: I6bd745a03c9f8c06ed711839a4bda1db0693cf5a Reviewed-on: https://skia-review.googlesource.com/9220 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com>
This commit is contained in:
parent
4447b64a88
commit
b7115c68ba
@ -127,44 +127,6 @@
|
||||
},
|
||||
"name": "generate and upload binary size data"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/go/go/bin/go",
|
||||
"get",
|
||||
"go.skia.org/infra/comments/go/extract_comments"
|
||||
],
|
||||
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
||||
"env": {
|
||||
"BUILDTYPE": "Release",
|
||||
"CHROME_HEADLESS": "1",
|
||||
"GIT_HTTP_LOW_SPEED_LIMIT": "1000",
|
||||
"GIT_HTTP_LOW_SPEED_TIME": "300",
|
||||
"GOPATH": "[START_DIR]/tmp/golib",
|
||||
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
|
||||
"SKIA_OUT": "[START_DIR]/out"
|
||||
},
|
||||
"name": "compile extract_comments"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/tmp/golib/bin/extract_comments",
|
||||
"--dir",
|
||||
"gm",
|
||||
"--dest",
|
||||
"gs://skia-doc/gm/comments.json"
|
||||
],
|
||||
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
||||
"env": {
|
||||
"BUILDTYPE": "Release",
|
||||
"CHROME_HEADLESS": "1",
|
||||
"GIT_HTTP_LOW_SPEED_LIMIT": "1000",
|
||||
"GIT_HTTP_LOW_SPEED_TIME": "300",
|
||||
"GOPATH": "[START_DIR]/tmp/golib",
|
||||
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
|
||||
"SKIA_OUT": "[START_DIR]/out"
|
||||
},
|
||||
"name": "run extract_comments"
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
|
@ -137,44 +137,6 @@
|
||||
},
|
||||
"name": "generate and upload binary size data"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/go/go/bin/go",
|
||||
"get",
|
||||
"go.skia.org/infra/comments/go/extract_comments"
|
||||
],
|
||||
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
||||
"env": {
|
||||
"BUILDTYPE": "Release",
|
||||
"CHROME_HEADLESS": "1",
|
||||
"GIT_HTTP_LOW_SPEED_LIMIT": "1000",
|
||||
"GIT_HTTP_LOW_SPEED_TIME": "300",
|
||||
"GOPATH": "[START_DIR]/tmp/golib",
|
||||
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
|
||||
"SKIA_OUT": "[START_DIR]/out"
|
||||
},
|
||||
"name": "compile extract_comments"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/tmp/golib/bin/extract_comments",
|
||||
"--dir",
|
||||
"gm",
|
||||
"--dest",
|
||||
"gs://skia-doc/gm/comments.json"
|
||||
],
|
||||
"cwd": "[CUSTOM_/_B_WORK]/skia",
|
||||
"env": {
|
||||
"BUILDTYPE": "Release",
|
||||
"CHROME_HEADLESS": "1",
|
||||
"GIT_HTTP_LOW_SPEED_LIMIT": "1000",
|
||||
"GIT_HTTP_LOW_SPEED_TIME": "300",
|
||||
"GOPATH": "[START_DIR]/tmp/golib",
|
||||
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
|
||||
"SKIA_OUT": "[START_DIR]/out"
|
||||
},
|
||||
"name": "run extract_comments"
|
||||
},
|
||||
{
|
||||
"name": "$result",
|
||||
"recipe_result": null,
|
||||
|
@ -57,29 +57,6 @@ def RunSteps(api):
|
||||
cwd=cwd,
|
||||
abort_on_failure=False)
|
||||
|
||||
env = {}
|
||||
env['GOPATH'] = api.vars.tmp_dir.join('golib')
|
||||
extractexe = env['GOPATH'].join('bin', 'extract_comments')
|
||||
goexe = api.vars.slave_dir.join('go', 'go', 'bin', 'go')
|
||||
|
||||
# Compile extract_comments.
|
||||
api.run(
|
||||
api.step,
|
||||
'compile extract_comments',
|
||||
cmd=[goexe, 'get', 'go.skia.org/infra/comments/go/extract_comments'],
|
||||
cwd=cwd,
|
||||
env=env,
|
||||
abort_on_failure=True)
|
||||
|
||||
# Run extract_comments on the gm directory.
|
||||
api.run(
|
||||
api.step,
|
||||
'run extract_comments',
|
||||
cmd=[extractexe, '--dir', 'gm', '--dest', 'gs://skia-doc/gm/comments.json'],
|
||||
cwd=cwd,
|
||||
env=env,
|
||||
abort_on_failure=True)
|
||||
|
||||
|
||||
def GenTests(api):
|
||||
yield (
|
||||
|
Loading…
Reference in New Issue
Block a user