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

Unified Diff: scripts/slave/recipes/v8/auto_roll_release_process.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 8 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/v8/auto_roll_release_process.py
diff --git a/scripts/slave/recipes/v8/auto_roll_release_process.py b/scripts/slave/recipes/v8/auto_roll_release_process.py
index 43526b0bcfab8c8fdeeffbe070df635c50d9ab98..ee69a45279cfe961b61f7bc148914992d5144613 100644
--- a/scripts/slave/recipes/v8/auto_roll_release_process.py
+++ b/scripts/slave/recipes/v8/auto_roll_release_process.py
@@ -4,6 +4,7 @@
DEPS = [
'depot_tools/bot_update',
+ 'depot_tools/infra_paths',
'file',
'depot_tools/gclient',
'depot_tools/git',
@@ -60,7 +61,7 @@ def PushRef(api, repo, ref, hsh):
# Upload log for debugging.
ref_log_file_name = ref.replace('/', '_') + '.log'
- ref_log_path = api.path['slave_build'].join(ref_log_file_name)
+ ref_log_path = api.infra_paths['slave_build'].join(ref_log_file_name)
log = []
if api.path.exists(ref_log_path):
log.append(api.file.read(
@@ -78,14 +79,14 @@ def ReadTimeStamp(api, name):
return int(float(
api.file.read(
name,
- api.path['slave_build'].join('timestamp.txt'),
+ api.infra_paths['slave_build'].join('timestamp.txt'),
).strip()))
def WriteTimeStamp(api, name, timestamp):
api.file.write(
name,
- api.path['slave_build'].join('timestamp.txt'),
+ api.infra_paths['slave_build'].join('timestamp.txt'),
str(timestamp),
)
@@ -104,8 +105,8 @@ def AgeLimitBailout(api, new_date, old_date):
def GetLKGR(api):
step_result = api.python(
'get new lkgr',
- api.path['build'].join('scripts', 'tools', 'runit.py'),
- [api.path['build'].join('scripts', 'tools', 'pycurl.py'),
+ api.infra_paths['build'].join('scripts', 'tools', 'runit.py'),
+ [api.infra_paths['build'].join('scripts', 'tools', 'pycurl.py'),
'%s/lkgr' % STATUS_URL],
stdout=api.raw_io.output(),
)
@@ -122,7 +123,7 @@ def ClusterfuzzHasIssues(api):
'check clusterfuzz',
api.path['checkout'].join(
'tools', 'release', 'check_clusterfuzz.py'),
- ['--key-file', api.path['slave_build'].join('.cf_key'),
+ ['--key-file', api.infra_paths['slave_build'].join('.cf_key'),
'--results-file', api.json.output(add_json_log=False)],
# Note: Output is suppressed for security reasons.
stdout=api.raw_io.output('out'),
@@ -227,7 +228,7 @@ def GenTests(api):
) +
api.time.seed(int(float(new_date))) +
api.time.step(2) +
- api.path.exists(api.path['slave_build'].join(
+ api.infra_paths.exists(api.infra_paths['slave_build'].join(
LKGR_REF.replace('/', '_') + '.log'))
)

Powered by Google App Engine
This is Rietveld 408576698