2016-10-28 23:43:16 +03:00
branches :
- master
- auto
- try
2016-11-22 17:29:29 +03:00
context : check
2016-12-06 22:45:49 +03:00
required : true
2016-10-28 23:43:16 +03:00
container :
2016-12-06 22:45:49 +03:00
image : projectatomic/rpm-ostree-tester
2016-10-28 23:43:16 +03:00
2016-11-12 00:21:39 +03:00
env :
CFLAGS : '-fsanitize=undefined'
build :
config-opts : >
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
2016-10-28 23:43:16 +03:00
tests :
- make check
- gnome-desktop-testing-runner rpm-ostree
- sudo --user=testuser gnome-desktop-testing-runner rpm-ostree
timeout : 30m
artifacts :
- test-suite.log
2016-12-06 22:45:49 +03:00
- config.log
2016-10-28 23:43:16 +03:00
---
inherit : true
context : Clang
2016-12-06 22:45:49 +03:00
required : true
2016-11-12 00:21:39 +03:00
env :
CC : 'clang'
CFLAGS : '-Werror=unused-variable'
2016-12-06 22:16:46 +03:00
build :
config-opts : >
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
--enable-new-name
2016-11-12 00:21:39 +03:00
tests :
2016-10-28 23:43:16 +03:00
artifacts :
2016-11-22 17:29:29 +03:00
---
inherit : true
context : vmcheck
2016-12-07 23:14:54 +03:00
required : true
2016-12-06 22:45:49 +03:00
2016-11-22 17:29:29 +03:00
cluster :
hosts :
2017-03-11 01:56:16 +03:00
- name : vmcheck1
distro : fedora/25/atomic
- name : vmcheck2
distro : fedora/25/atomic
- name : vmcheck3
2016-12-06 22:45:49 +03:00
distro : fedora/25/atomic
2016-11-22 17:29:29 +03:00
container :
2016-12-06 22:45:49 +03:00
image : projectatomic/rpm-ostree-tester
2016-11-22 17:29:29 +03:00
tests :
2017-03-11 01:56:16 +03:00
- make vmcheck HOSTS="vmcheck1 vmcheck2 vmcheck3"
2016-11-22 17:29:29 +03:00
artifacts :
2017-03-11 01:56:16 +03:00
- vmcheck
2016-12-03 02:07:08 +03:00
2017-03-07 00:29:53 +03:00
# We really need to work on getting this down:
# https://github.com/projectatomic/rpm-ostree/issues/662
timeout : 80m
2017-01-04 20:29:01 +03:00
2016-12-03 02:07:08 +03:00
---
2016-12-06 22:45:49 +03:00
2016-12-03 02:07:08 +03:00
context : compose
build : false
timeout : 30m
# This test case wants an "unprivileged container with bubblewrap",
# which we don't have right now; so just provision a VM and do a
# docker --privileged run.
host :
2017-01-07 00:12:18 +03:00
distro : fedora/25/atomic
2016-12-03 02:07:08 +03:00
tests :
2016-12-06 22:45:49 +03:00
- >
docker run --privileged -v $(pwd):/srv/code --rm
projectatomic/rpm-ostree-tester /bin/sh -c "
cd /srv/code &&
env NOCONFIGURE=1 ./autogen.sh &&
./configure --prefix=/usr --libdir=/usr/lib64 &&
make &&
make install &&
2016-12-09 01:31:20 +03:00
dnf update -y bubblewrap &&
2016-12-06 22:45:49 +03:00
./tests/compose
"
2016-12-09 01:31:20 +03:00
artifacts :
- compose.log