-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathspread.yaml
93 lines (84 loc) · 2.8 KB
/
spread.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
project: snapd-testing-tools
environment:
PROJECT_PATH: /root/snapd-testing-tools
PATH: $PROJECT_PATH/tools:$PROJECT_PATH/utils:$PROJECT_PATH/remote:$PATH
backends:
google:
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-east1-b
halt-timeout: 2h
systems:
- ubuntu-14.04-64:
- ubuntu-16.04-64:
- ubuntu-18.04-32:
- ubuntu-18.04-64:
- ubuntu-20.04-64:
- ubuntu-22.04-64:
- ubuntu-24.04-64:
- debian-11-64:
- debian-12-64:
- debian-sid-64:
- fedora-39-64:
- arch-linux-64:
- amazon-linux-2-64:
storage: preserve-size
- amazon-linux-2023-64:
storage: preserve-size
- centos-9-64:
storage: preserve-size
- opensuse-15.5-64:
- opensuse-15.6-64:
- opensuse-tumbleweed-64:
google-nested:
type: google
key: '$(HOST: echo "$SPREAD_GOOGLE_KEY")'
location: snapd-spread/us-east1-b
plan: n2-standard-2
halt-timeout: 2h
cpu-family: "Intel Cascade Lake"
systems:
- ubuntu-20.04-64:
image: ubuntu-2004-64-virt-enabled
storage: 20G
openstack:
key: '$(HOST: echo "$SPREAD_OPENSTACK_ENV")'
plan: staging-cpu2-ram4-disk50
halt-timeout: 2h
groups: [default]
environment:
HTTP_PROXY: 'http://squid.internal:3128'
HTTPS_PROXY: 'http://squid.internal:3128'
NO_PROXY: 'canonical.com'
systems:
- ubuntu-22.04-64:
image: snapd-spread/ubuntu-22.04-64
- ubuntu-24.04-64:
image: snapd-spread/ubuntu-24.04-64
- fedora-40-64:
image: snapd-spread/fedora-40-64
- opensuse-15.5-64:
image: snapd-spread/opensuse-15.5-64
- centos-9-64:
image: snapd-spread/centos-9-64
- debian-12-64:
image: snapd-spread/debian-12-64
path: /root/snapd-testing-tools
kill-timeout: 10m
warn-timeout: 3m
prepare: |
echo "Prepare snapd-testing-tools project"
restore: |
echo "Restore snapd-testing-tools project"
rm -rf "$PROJECT_PATH"
suites:
tests/:
summary: Main test suite for snapd-testing-tools project
prepare: |
echo "Preparing snapd-testing-tools main suite"
# Create users for the tests
useradd -m tools-user-1
echo tools-user-1:tools-user-1 | sudo chpasswd
useradd -m tools-user-2
echo tools-user-2:tools-user-2 | sudo chpasswd
restore: |
echo "Restoring snapd-testing-tools main suite"