2016-10-28 16:43:16 -04:00
branches :
- master
- auto
- try
2016-11-22 09:29:29 -05:00
context : check
2016-12-06 14:45:49 -05:00
required : true
2016-10-28 16:43:16 -04:00
container :
2016-12-06 14:45:49 -05:00
image : projectatomic/rpm-ostree-tester
2016-10-28 16:43:16 -04:00
2016-11-11 16:21:39 -05:00
env :
CFLAGS : '-fsanitize=undefined'
build :
config-opts : >
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
2016-10-28 16:43:16 -04: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 14:45:49 -05:00
- config.log
2016-10-28 16:43:16 -04:00
---
inherit : true
context : Clang
2016-12-06 14:45:49 -05:00
required : true
2016-11-11 16:21:39 -05:00
env :
CC : 'clang'
CFLAGS : '-Werror=unused-variable'
2016-12-06 14:16:46 -05:00
build :
config-opts : >
--prefix=/usr
--libdir=/usr/lib64
--enable-installed-tests
--enable-gtk-doc
--enable-new-name
2016-11-11 16:21:39 -05:00
tests :
2016-10-28 16:43:16 -04:00
artifacts :
2016-11-22 09:29:29 -05:00
---
inherit : true
context : vmcheck
2016-12-07 15:14:54 -05:00
required : true
2016-12-06 14:45:49 -05:00
2016-11-22 09:29:29 -05:00
cluster :
hosts :
2017-03-10 17:56:16 -05:00
- name : vmcheck1
distro : fedora/25/atomic
- name : vmcheck2
distro : fedora/25/atomic
- name : vmcheck3
2016-12-06 14:45:49 -05:00
distro : fedora/25/atomic
2016-11-22 09:29:29 -05:00
container :
2016-12-06 14:45:49 -05:00
image : projectatomic/rpm-ostree-tester
2016-11-22 09:29:29 -05:00
tests :
2017-03-10 17:56:16 -05:00
- make vmcheck HOSTS="vmcheck1 vmcheck2 vmcheck3"
2016-11-22 09:29:29 -05:00
artifacts :
2017-03-10 17:56:16 -05:00
- vmcheck
2016-12-02 18:07:08 -05:00
2017-03-06 16:29:53 -05:00
# We really need to work on getting this down:
# https://github.com/projectatomic/rpm-ostree/issues/662
timeout : 80m
2017-01-04 12:29:01 -05:00
2016-12-02 18:07:08 -05:00
---
2016-12-06 14:45:49 -05:00
2016-12-02 18:07:08 -05: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-06 16:12:18 -05:00
distro : fedora/25/atomic
2016-12-02 18:07:08 -05:00
tests :
2016-12-06 14:45:49 -05: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-08 17:31:20 -05:00
dnf update -y bubblewrap &&
2016-12-06 14:45:49 -05:00
./tests/compose
"
2016-12-08 17:31:20 -05:00
artifacts :
- compose.log