CI: disable pmbootstrap-qemu-tests

The machine that was running them is currently broken.

Related: #1943
This commit is contained in:
Oliver Smith 2020-07-11 00:08:57 +02:00
parent 4312160c96
commit b366b5004f
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 0 additions and 34 deletions

View File

@ -71,37 +71,3 @@ test-pmbootstrap:
- "dmesg.txt"
- "pmbootstrap.cfg"
expire_in: 1 week
pmbootstrap-qemu-tests:
stage: tests
<<: *only-default
only:
variables:
# This is configured in the gitlab project. Make sure there is a runner
# added to the project that is capable of running these tests before
# setting this variable in the project!
- $CI_RUN_QEMU
tags:
# This requires a specific runner, shared runners generally don't work.
- qemu
script:
# Init test (pipefail disabled so 'yes' doesn't fail test)
- "set +o pipefail; yes ''| ./pmbootstrap.py init; set -o pipefail"
# Build/install QEMU (so it doesn't timeout in the testcase)
- "./pmbootstrap.py chroot --add=qemu -- true"
# qemu running process tests (-x: stop after first failure)
- "python -m pytest -vv -x ./test/test_qemu_running_processes.py"
after_script:
# Move logs so it can be saved as artifacts
- "[[ -f ~/.local/var/pmbootstrap/log.txt ]] && mv ~/.local/var/pmbootstrap/log.txt $CI_PROJECT_DIR/log.txt"
- "[[ -f ~/.local/var/pmbootstrap/log_testsuite.txt ]] && mv ~/.local/var/pmbootstrap/log_testsuite.txt $CI_PROJECT_DIR/log_testsuite.txt"
- "[[ -f /home/pmos/.config/pmbootstrap.cfg ]] && cp /home/pmos/.config/pmbootstrap.cfg $CI_PROJECT_DIR/pmbootstrap.cfg"
- "sudo dmesg > $CI_PROJECT_DIR/dmesg.txt"
artifacts:
when: always
paths:
- "log.txt"
- "log_testsuite.txt"
- "dmesg.txt"
- "pmbootstrap.cfg"
expire_in: 1 week