-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample_config.yaml
55 lines (54 loc) · 2.71 KB
/
example_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
restart: true # perform a restart for every test
autodetect_ip: false # try to find the correct ip automatically
host_ip: 192.168.0.1 # the ip for connecting devices to the hub
port: 8002 # port to listen on
auth:
token:
# only one additional provide can be active next to token
github:
redirect_url: http://localhost:8002/web/ # redirect url for oauth
credentials: ./example.json # credentials json check example.json
scopes:
- repo # scopes to request permissions for
secret: "123" # secret for session cookie
oauth2:
auth_url: https://login.de/login # oauth2 request url
token_url: https://login.de/api/oauth2/access_token # token url for second part of oauth2
redirect_url: http://localhost:8002/web/ # redirect url used as callback from oauth server
user_url: https://login.de/api/user # url to get user informations
credentials: ./example.json # credentials for json check example.json
scopes:
- repo
secret: "123"
managers:
# managers handle devices and its connection
unity_editor: # unity_editor manager
enabled: true # enable to disable it
use_os_screenshot: false
ios_device: # unity_editor manager
enabled: true # enable to disable it
use_os_screenshot: false
webdriver:
bundleId: com.facebook.WebDriver
ios_sim:
enabled: true # enable to disable it
use_os_screenshot: false
android_device: # handle android devices iter managers
enabled: true
use_os_screenshot: false # create a screenshot via os or via software client
devices: # defines some custom settings for devices
- id: SAMGLX10 # id if the devices
pin: 1234 # pin of the device needed to unlock it
connection: # defines connection parameters
type: usb # device is connected via USB directly to the hub
- id: 1.2.3.4:5555
name: ODroid2K
tablet: true # is marked as a tablet
connection:
type: remote # is connected via adb remote
ip: 1.2.3.4 # ip of the device preferred static to make connection more reliable
hooks: # define some hooks to get notifications about the current test state
- provider: slack # send test results via slack hook
token: xoxb-xxxxxxslackt_auth_token # needs a slack bot auth token
username: botname
channel: channel_to_post_in # the channel to post the message in