450948a9f6
This was useful in combination with Homu since it only had to watch one context. Since we're not using Homu anymore (and Tide instead looks at all statuses by default), let's just drop it. This brings down the number of statuses on PRs by one more (and so one less context to override when needed). Relatedly, also just test on `master` now.
77 lines
1.8 KiB
YAML
77 lines
1.8 KiB
YAML
context: f29-primary
|
|
|
|
cluster:
|
|
hosts:
|
|
- name: vmcheck1
|
|
distro: fedora/29/atomic
|
|
- name: vmcheck2
|
|
distro: fedora/29/atomic
|
|
- name: vmcheck3
|
|
distro: fedora/29/atomic
|
|
container:
|
|
image: registry.fedoraproject.org/fedora:29
|
|
|
|
env:
|
|
HOSTS: vmcheck1 vmcheck2 vmcheck3
|
|
# TODO use -fsanitize=address
|
|
CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -O2 -Wp,-D_FORTIFY_SOURCE=2'
|
|
ASAN_OPTIONS: 'detect_leaks=0' # Right now we're not fully clean, but this gets us use-after-free etc
|
|
|
|
tests:
|
|
- ci/build-check.sh
|
|
- ci/vmcheck-provision.sh
|
|
- make vmcheck
|
|
# make sure we're aware of any tests that were skipped
|
|
- "grep -nr '^SKIP: ' vmcheck/ || :"
|
|
|
|
timeout: 60m
|
|
|
|
artifacts:
|
|
- test-suite.log
|
|
- config.log
|
|
- vmcheck
|
|
|
|
---
|
|
|
|
# NB: when bumping 29 here, also bump compose script
|
|
|
|
context: f29-compose1
|
|
|
|
build: false
|
|
|
|
timeout: 35m
|
|
|
|
# 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/29/atomic
|
|
# Compose tests are slow and should be parallelized
|
|
specs:
|
|
cpus: 4
|
|
|
|
env:
|
|
RPMOSTREE_COMPOSE_TEST_FILTER: odd
|
|
|
|
# Copy yum.repos.d to get any injected repos from the host, which
|
|
# will point to a closer mirror. Note we substitute $releasever
|
|
# since https://github.com/projectatomic/rpm-ostree/pull/875
|
|
tests:
|
|
- docker run --privileged --rm
|
|
-e RPMOSTREE_COMPOSE_TEST_FILTER
|
|
-e RPMOSTREE_COMPOSE_TEST_USE_REPOS=/etc/yum.repos.d.host
|
|
-v /etc/yum.repos.d:/etc/yum.repos.d.host:ro
|
|
-v $(pwd):/srv/code -w /srv/code
|
|
registry.fedoraproject.org/fedora:29 /bin/sh -c
|
|
"cp /etc/yum.repos.d.host/* /etc/yum.repos.d/ && ./ci/build.sh && make install && ./tests/compose"
|
|
|
|
artifacts:
|
|
- test-compose-logs
|
|
|
|
---
|
|
|
|
inherit: true
|
|
context: f29-compose2
|
|
env:
|
|
RPMOSTREE_COMPOSE_TEST_FILTER: even
|