9d9042d835
1. Don't require an ssh-config In the case of redhat-ci, the VMs are already fully configured for the system (injected in the hosts file, host key accepted, etc...). So there's no need to have an ssh-config there. In general, it should be acceptable to run the vmcheck suite against a resolvable host without having to create an ssh-config for it. 2. Make the host name configurable Rather than hardcoding "vmcheck" as the hostname, allow overridding it by specifying a VM env var directly. We also prepare the various scripts to make use of the $VM variable whenever host-specific dirs/files are created so that parallel runs won't step on each other. Closes: #675 Approved by: cgwalters
110 lines
1.7 KiB
YAML
110 lines
1.7 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: true
|
|
|
|
cluster:
|
|
hosts:
|
|
- name: vmcheck
|
|
distro: fedora/25/atomic
|
|
container:
|
|
image: projectatomic/rpm-ostree-tester
|
|
|
|
tests:
|
|
- make vmcheck
|
|
|
|
artifacts:
|
|
- vmcheck.log
|
|
- vmcheck-journal.txt
|
|
|
|
# We really need to work on getting this down:
|
|
# https://github.com/projectatomic/rpm-ostree/issues/662
|
|
timeout: 80m
|
|
|
|
---
|
|
|
|
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: fedora/25/atomic
|
|
|
|
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 &&
|
|
dnf update -y bubblewrap &&
|
|
./tests/compose
|
|
"
|
|
|
|
artifacts:
|
|
- compose.log
|