generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.gitlab-ci.yml
41 lines (39 loc) · 1.28 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:
- python -m venv venv --system-site-packages
- venv/bin/pip install -r testing/requirements-heavyvm.txt
- git archive HEAD -o archive.tar.gz
- mkdir -p tmp/overlays tmp/info
- venv/bin/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:
- python -m venv venv --system-site-packages
- venv/bin/pip install -r testing/requirements-vmcore.txt
- venv/bin/python -m testing.vmcore.test -j 4 --core-directory /var/drgn-tools/vmcores
artifacts:
when: always
paths:
- vmcore.xml
reports:
junit: vmcore.xml
vmcore CTF:
script:
- python -m venv venv --system-site-packages
- venv/bin/pip install -r testing/requirements-vmcore.txt
- venv/bin/python -m testing.vmcore.test -j 4 --ctf --core-directory /var/drgn-tools/vmcores
artifacts:
when: always
paths:
- vmcore.xml
reports:
junit: vmcore.xml