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

Unified Diff: scripts/slave/recipe_modules/webrtc/api.py

Issue 2484803004: WebRTC: Cleanup symlinks before bot_update (Closed)
Patch Set: Rebased new Win8 and Win10 bots Created 4 years, 1 month 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 | « no previous file | scripts/slave/recipe_modules/webrtc/resources/cleanup_symlinks.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/webrtc/api.py
diff --git a/scripts/slave/recipe_modules/webrtc/api.py b/scripts/slave/recipe_modules/webrtc/api.py
index a5094ca2b35a424039ad9dbaef03efac9d63b9de..57e813276eb902c1fd3c83fb337eade0d63a0923 100644
--- a/scripts/slave/recipe_modules/webrtc/api.py
+++ b/scripts/slave/recipe_modules/webrtc/api.py
@@ -179,6 +179,14 @@ class WebRTCApi(recipe_api.RecipeApi):
if self._working_dir:
kwargs.setdefault('cwd', self._working_dir)
+ # TODO(kjellander): Deploy at all bots once verified working.
+ if self.mastername == 'client.webrtc.fyi':
+ # Cleanup symlinks if there are any created.
+ self.m.python('clean symlinks',
+ script=self.resource('cleanup_symlinks.py'),
+ args=[self._working_dir],
+ infra_step=True)
+
update_step = self.m.bot_update.ensure_checkout(**kwargs)
assert update_step.json.output['did_run']
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/webrtc/resources/cleanup_symlinks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698