osbuild has a concept of runners now: scripts that set up a build environment. Update the osbuild submodule to latest master, change `Pipeline` to to the new buildroot description format, and use the `org.osbuild.fedora30` runner from the fedora30 distro.
28 lines
1,021 B
YAML
28 lines
1,021 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_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
|
|
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
|