1) additional qemu tests for ami, vmdk, vhd, and openstack image types 2) new type of systemd-nspawn tests for tar, ext4, and parititioned disk types the systemd-nspawn tests use loopback network interface directly from the host so it is necessary to tweak the settings of its SSH server. This is done in a "script" stage using simple "sed" command.
28 lines
1,009 B
YAML
28 lines
1,009 B
YAML
dist: bionic
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- systemd-container
|
|
- qemu-utils
|
|
- yum
|
|
- gnupg2
|
|
matrix:
|
|
include:
|
|
- language: go
|
|
go: 1.12.x
|
|
env: GO111MODULE=on # needed even for Go 1.12
|
|
script: go test -v ./...
|
|
|
|
- language: python
|
|
python: 3.7
|
|
script:
|
|
# ubuntu's rpm package sets dbpath to ~/.rpmdb, which makes rpm fail...
|
|
- sudo sh -c 'mkdir /etc/rpm; echo "%_dbpath /var/lib/rpm" > /etc/rpm/macros'
|
|
- sudo env "PATH=$PATH" "PYTHONUNBUFFERED=1" "OSBUILD_TEST_BUILD_PIPELINE=test/build-from-yum.json" test/run --image-info
|
|
- language: python
|
|
python: 3.7
|
|
before_install: sudo apt-get install -y qemu-kvm
|
|
script:
|
|
# ubuntu's rpm package sets dbpath to ~/.rpmdb, which makes rpm fail...
|
|
- sudo sh -c 'mkdir /etc/rpm; echo "%_dbpath /var/lib/rpm" > /etc/rpm/macros'
|
|
- sudo env "PATH=$PATH" "PYTHONUNBUFFERED=1" "OSBUILD_TEST_BUILD_PIPELINE=test/build-from-yum.json" test/run --boot-test
|