This passes the redhat user with ssh key as an ISO image to our qemu instances, making sure images relying on cloud-init rather than hardcoded user credentials can be used in our tests. Signed-off-by: Tom Gundersen <teg@jklm.no>
28 lines
1 KiB
YAML
28 lines
1 KiB
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_ENV=test/f27-build-from-ubuntu1804.json" test/run --image-info
|
|
- language: python
|
|
python: 3.7
|
|
before_install: sudo apt-get install -y qemu-kvm genisoimage
|
|
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_ENV=test/f27-build-from-ubuntu1804.json" test/run --boot-test
|