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

Unified Diff: infra/bots/recipe_modules/core/resources/generate_and_upload_doxygen.py

Issue 2370153003: Make the housekeeper upload doxygen to a newer bucket (Closed)
Patch Set: Remove lots of references to chromium-skia-gm Created 4 years, 3 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
« no previous file with comments | « Doxyfile ('k') | infra/bots/recipe_modules/vars/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipe_modules/core/resources/generate_and_upload_doxygen.py
diff --git a/infra/bots/recipe_modules/core/resources/generate_and_upload_doxygen.py b/infra/bots/recipe_modules/core/resources/generate_and_upload_doxygen.py
index f06ea96bc7644d7e070f81fcb8dcf80a6cc22e4a..968f80debf8f589cf6f19f0197f942c99f881f3a 100755
--- a/infra/bots/recipe_modules/core/resources/generate_and_upload_doxygen.py
+++ b/infra/bots/recipe_modules/core/resources/generate_and_upload_doxygen.py
@@ -19,7 +19,7 @@ DOXYGEN_BINARY = 'doxygen'
WORKDIR = os.path.join(os.pardir, 'doxygen_workdir')
DOXYGEN_CONFIG_DIR = os.path.join(WORKDIR, 'doxygen-config')
DOXYGEN_WORKING_DIR = os.path.join(WORKDIR, 'doxygen')
-DOXYGEN_GS_PATH = '/'.join(['gs://chromium-skia-gm', 'doxygen'])
+DOXYGEN_GS_PATH = '/'.join(['gs://skia-doc', 'doxygen'])
IFRAME_FOOTER_TEMPLATE = """
<html><body><address style="text-align: right;"><small>
@@ -39,7 +39,7 @@ def recreate_dir(path):
os.makedirs(path)
-def generate_and_upload_doxygen(gsutil_path):
+def generate_and_upload_doxygen():
"""Generate Doxygen."""
# Create empty dir and add static_footer.txt
recreate_dir(DOXYGEN_WORKING_DIR)
@@ -65,11 +65,11 @@ def generate_and_upload_doxygen(gsutil_path):
subprocess.check_output([DOXYGEN_BINARY, '--version']).rstrip()))
# Upload.
- cmd = [gsutil_path, 'cp', '-a', 'public-read', '-R',
+ cmd = ['gsutil', 'cp', '-a', 'public-read', '-R',
DOXYGEN_WORKING_DIR, DOXYGEN_GS_PATH]
subprocess.check_call(cmd)
if '__main__' == __name__:
- generate_and_upload_doxygen(*sys.argv[1:])
+ generate_and_upload_doxygen()
« no previous file with comments | « Doxyfile ('k') | infra/bots/recipe_modules/vars/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698