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

Side by Side Diff: infra/bots/flavor/ssh_devices.py

Issue 1703663002: Port Skia recipe to normal Python scripts, move to Skia repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « infra/bots/flavor/ios_flavor.py ('k') | infra/bots/flavor/ssh_flavor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 #
3 # Copyright 2016 Google Inc.
4 #
5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file.
7
8
9 import collections
10 import json
11
12
13 DEFAULT_PORT = '22'
14 DEFAULT_USER = 'chrome-bot'
15
16
17 SlaveInfo = collections.namedtuple('SlaveInfo',
18 'ssh_user ssh_host ssh_port')
19
20 SLAVE_INFO = {
21 'skiabot-shuttle-ubuntu12-003':
22 SlaveInfo('root', '192.168.1.123', DEFAULT_PORT),
23 'skiabot-shuttle-ubuntu12-004':
24 SlaveInfo('root', '192.168.1.134', DEFAULT_PORT),
25 'default':
26 SlaveInfo('nouser', 'noip', 'noport'),
27 }
28
29
30 if __name__ == '__main__':
31 print json.dumps(SLAVE_INFO) # pragma: no cover
32
OLDNEW
« no previous file with comments | « infra/bots/flavor/ios_flavor.py ('k') | infra/bots/flavor/ssh_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698