-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox_verify.py
executable file
·39 lines (29 loc) · 1.17 KB
/
tox_verify.py
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
#!/usr/bin/env python
"""
CI tox integration tests
"""
from devrepo import shell
shell(f"nspawn-hatch list")
shell(f"nspawn-hatch update image-server")
shell(f"cat /etc/systemd/system/nspawn-image-server.service")
shell(f"systemctl --no-pager status nspawn-image-server.service")
shell(f"nspawn-enter nspawn-image-server 'uname -a'")
shell(f"demo/alpine/base/build.py")
shell(f"demo/alpine/base/setup.py")
shell(f"cat /etc/systemd/system/alpine-base.service")
shell(f"systemctl --no-pager status alpine-base.service")
# TODO archux site is slow
# shell(f"demo/archux/base/build.py")
# shell(f"demo/archux/base/setup.py")
# shell(f"cat /etc/systemd/system/archux-base.service")
# shell(f"systemctl --no-pager status archux-base.service")
shell(f"demo/ubuntu/base/build.py")
shell(f"demo/ubuntu/base/setup.py")
shell(f"cat /etc/systemd/system/ubuntu-base.service")
shell(f"systemctl --no-pager status ubuntu-base.service")
shell(f"machinectl --no-pager")
shell(f"nspawn-hatch desure image-server")
shell(f"demo/alpine/base/setup.py --action=desure")
shell(f"demo/archux/base/setup.py --action=desure")
shell(f"demo/ubuntu/base/setup.py --action=desure")
shell(f"machinectl --no-pager")