-
Notifications
You must be signed in to change notification settings - Fork 1
/
tests.yaml
75 lines (74 loc) · 3.02 KB
/
tests.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
test-cases:
- name: One-Click Build Test # Test 1-Click URL version
create:
timeout: 30 # Deployment should complete in under 30 minutes
parameters:
server_flavor: 1 GB General Purpose v1
resource_tests: # Tests to run on the resources themselves
ssh_private_key: { get_output: ssh_private_key } # Fetch from output-list of stack
ssh_key_file: tmp/private_key # File to write with ssh_private_key
tests:
- mysql_server:
fabric:
# Fabric environment settings to use while running envassert script
# http://docs.fabfile.org/en/latest/usage/env.html
env:
user: root
key_filename: tmp/private_key
hosts: { get_output: galera_public_ip } # Fetch from output-list of stack
tasks:
- artifacts
- check
abort_on_prompts: True
connection_attempts: 3
disable_known_hosts: True
use_ssh_config: True
fabfile: test/fabric/galera.py # Path to envassert test
- name: Single Server Build Test # Deploy using defalt options, single server
create:
timeout: 30 # Deployment should complete in under 30 minutes
resource_tests: # Tests to run on the resources themselves
ssh_private_key: { get_output: ssh_private_key } # Fetch from output-list of stack
ssh_key_file: tmp/private_key # File to write with ssh_private_key
tests:
- mysql_server:
fabric:
# Fabric environment settings to use while running envassert script
# http://docs.fabfile.org/en/latest/usage/env.html
env:
user: root
key_filename: tmp/private_key
hosts: { get_output: galera_public_ip } # Fetch from output-list of stack
tasks:
- artifacts
- check
abort_on_prompts: True
connection_attempts: 3
disable_known_hosts: True
use_ssh_config: True
fabfile: test/fabric/galera.py # Path to envassert test
- name: Multiple Server Build Test # Deploy using defalt options, single server
create:
timeout: 30 # Deployment should complete in under 30 minutes
parameters:
server_count: 1
resource_tests: # Tests to run on the resources themselves
ssh_private_key: { get_output: ssh_private_key } # Fetch from output-list of stack
ssh_key_file: tmp/private_key # File to write with ssh_private_key
tests:
- master_server:
fabric:
# Fabric environment settings to use while running envassert script
# http://docs.fabfile.org/en/latest/usage/env.html
env:
user: root
key_filename: tmp/private_key
hosts: { get_output: galera_public_ip } # Fetch from output-list of stack
tasks:
- artifacts
- check
abort_on_prompts: True
connection_attempts: 3
disable_known_hosts: True
use_ssh_config: True
fabfile: test/fabric/galera.py # Path to envassert test