blob: 624e0e36355f58fd5b8f0b49924a9f319d85633b (
plain)
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
|
image: debian:sid-slim
shellcheck:
stage: test
script:
- apt-get update
- apt-get dist-upgrade --yes
- apt-get --no-install-recommends --yes install shellcheck
- shellcheck debvm-*
codespell:
stage: test
script:
- apt-get update
- apt-get dist-upgrade --yes
- apt-get --no-install-recommends --yes install codespell
- codespell debvm-*
simpletest:
stage: test
parallel:
matrix:
- RELEASE: ['stable', 'testing', 'unstable']
script:
- apt-get update
- apt-get dist-upgrade --yes
- apt-get --no-install-recommends --yes install e2fsprogs genext2fs mmdebstrap openssh-client qemu-kvm timelimit
- ssh-keygen -f ~/.ssh/id -N ''
- ./debvm-create -k ~/.ssh/id.pub -r $RELEASE
- timelimit -t 120 -T 10 ./debvm-run -s 2222 &
- sleep 15
- ssh -o StrictHostKeyChecking=no -i ~/.ssh/id -p 2222 root@localhost poweroff
|