generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 18
/
.gitlab-ci.yml
41 lines (39 loc) · 1.13 KB
/
.gitlab-ci.yml
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
vmtest:
# Virtual machine tests run in parallel and take a fair bit of memory. Use
# resource_group to limit the concurrency of these tests so only one runs at a
# time.
resource_group: VM
script:
- rm -rf .tox
- git archive HEAD -o archive.tar.gz
- tox -e runner --notest
- mkdir -p tmp/overlays tmp/info
- tox -e runner -- python -m testing.heavyvm.runner --image-dir /var/drgn-tools/images --vm-info-dir tmp/info --overlay-dir tmp/overlays --tarball archive.tar.gz
artifacts:
when: always
paths:
- heavyvm.xml
reports:
junit: heavyvm.xml
vmcore DWARF:
script:
- rm -rf .tox
- tox -e runner --notest
- tox -e runner -- python -m testing.vmcore test -e py39 -j 4 --core-directory /var/drgn-tools/vmcores
artifacts:
when: always
paths:
- vmcore.xml
reports:
junit: vmcore.xml
vmcore CTF:
script:
- rm -rf .tox
- tox -e runner --notest
- tox -e runner -- python -m testing.vmcore test -e py39 -j 4 --ctf --core-directory /var/drgn-tools/vmcores
artifacts:
when: always
paths:
- vmcore.xml
reports:
junit: vmcore.xml