Skip to content

Commit 04b3d9c

Browse files
committed
Add copy of current test location to config.md
1 parent fe189f1 commit 04b3d9c

File tree

1 file changed

+55
-30
lines changed

1 file changed

+55
-30
lines changed

test/test-manager/docs/config.md

+55-30
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,25 @@ The above example will set the locations for the test `test_daita` to a custom l
4747
containing `se-got-wg-001` and `se-got-wg-002`. The `*` is a wildcard that will match
4848
any test name. The configuration is read from top-to-bottom, and the first match will be used.
4949

50+
### Test location currently used by the GitHub end to end-test workflow
51+
52+
Below is a copy of the test location setting currently used by the machines that
53+
run the GitHub workflow for desktop end to end tests. Make sure to keep it updated!
54+
55+
```json
56+
{
57+
"test_locations": [
58+
{ "test_wireguard_over_shadowsocks": ["se-got"] },
59+
{ "test_multihop": ["se-got"] },
60+
{ "test_quantum_resistant_tunnel": ["se-got"] },
61+
{ "test_quantum_resistant_multihop_udp2tcp_tunnel": ["se-got"] },
62+
{ "test_quantum_resistant_multihop_shadowsocks_tunnel": ["se-got"] },
63+
{ "test_ui_tunnel_settings": ["se-got"] },
64+
{ "*": ["se", "no", "fi", "dk"] }
65+
]
66+
}
67+
```
68+
5069
## Example configurations
5170

5271
### Minimal
@@ -66,36 +85,42 @@ A configuration containing one Debian 12 VM and one Windows 11 VM
6685

6786
```json
6887
{
69-
"mullvad_host": "stagemole.eu",
70-
"vms": {
71-
"debian12": {
72-
"vm_type": "qemu",
73-
"image_path": "$VM_IMAGES/debian12.qcow2",
74-
"os_type": "linux",
75-
"package_type": "deb",
76-
"architecture": "x64",
77-
"provisioner": "ssh",
78-
"ssh_user": "test",
79-
"ssh_password": "test",
80-
"disks": [],
81-
"artifacts_dir": "/opt/testing",
82-
"tpm": false
83-
},
84-
"windows11": {
85-
"vm_type": "qemu",
86-
"image_path": "$VM_IMAGES/windows11.qcow2",
87-
"os_type": "windows",
88-
"package_type": null,
89-
"architecture": "x64",
90-
"provisioner": "noop",
91-
"ssh_user": null,
92-
"ssh_password": null,
93-
"disks": [
94-
"$TESTRUNNER_IMAGES/windows-test-runner.img"
95-
],
96-
"artifacts_dir": "E:\\",
97-
"tpm": false
98-
}
88+
"test_locations": [
89+
{ "test_wireguard_over_shadowsocks": ["se-got"] },
90+
{ "test_multihop": ["se-got"] },
91+
{ "test_quantum_resistant_tunnel": ["se-got"] },
92+
{ "test_quantum_resistant_multihop_udp2tcp_tunnel": ["se-got"] },
93+
{ "test_quantum_resistant_multihop_shadowsocks_tunnel": ["se-got"] },
94+
{ "test_ui_tunnel_settings": ["se-got"] },
95+
{ "*": ["se", "no", "fi", "dk"] }
96+
],
97+
"mullvad_host": "stagemole.eu",
98+
"vms": {
99+
"debian12": {
100+
"vm_type": "qemu",
101+
"image_path": "$VM_IMAGES/debian12.qcow2",
102+
"os_type": "linux",
103+
"package_type": "deb",
104+
"architecture": "x64",
105+
"provisioner": "ssh",
106+
"ssh_user": "test",
107+
"ssh_password": "test",
108+
"disks": [],
109+
"artifacts_dir": "/opt/testing",
110+
"tpm": false
111+
},
112+
"windows11": {
113+
"vm_type": "qemu",
114+
"image_path": "$VM_IMAGES/windows11.qcow2",
115+
"os_type": "windows",
116+
"package_type": null,
117+
"architecture": "x64",
118+
"provisioner": "noop",
119+
"ssh_user": null,
120+
"ssh_password": null,
121+
"disks": ["$TESTRUNNER_IMAGES/windows-test-runner.img"],
122+
"artifacts_dir": "E:\\",
123+
"tpm": false
99124
}
100125
}
101126
}

0 commit comments

Comments
 (0)