90fc84fb24
So we have some coverage of this before merging. I didn't make a whole new context for this though, and it's only mildly useful because we really want to test the daemon...but this is a start. Closes: #535 Approved by: jlebon
102 lines
1.6 KiB
YAML
102 lines
1.6 KiB
YAML
branches:
|
|
- master
|
|
- auto
|
|
- try
|
|
|
|
context: check
|
|
|
|
required: true
|
|
|
|
container:
|
|
image: projectatomic/rpm-ostree-tester
|
|
|
|
env:
|
|
CFLAGS: '-fsanitize=undefined'
|
|
|
|
build:
|
|
config-opts: >
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
|
|
tests:
|
|
- make check
|
|
- gnome-desktop-testing-runner rpm-ostree
|
|
- sudo --user=testuser gnome-desktop-testing-runner rpm-ostree
|
|
|
|
timeout: 30m
|
|
|
|
artifacts:
|
|
- test-suite.log
|
|
- config.log
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: Clang
|
|
|
|
required: true
|
|
|
|
env:
|
|
CC: 'clang'
|
|
CFLAGS: '-Werror=unused-variable'
|
|
|
|
build:
|
|
config-opts: >
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
--enable-new-name
|
|
|
|
tests:
|
|
artifacts:
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: vmcheck
|
|
|
|
required: false
|
|
|
|
cluster:
|
|
hosts:
|
|
- name: vmcheck
|
|
distro: fedora/25/atomic
|
|
container:
|
|
image: projectatomic/rpm-ostree-tester
|
|
|
|
tests:
|
|
- cp .redhat-ci.ssh-config ssh-config
|
|
- make vmcheck
|
|
|
|
artifacts:
|
|
- vmcheck.log
|
|
|
|
---
|
|
|
|
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:
|
|
distro: centos/7/atomic/alpha
|
|
|
|
tests:
|
|
- >
|
|
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 &&
|
|
./tests/compose
|
|
"
|