7d3b72c814
There weren't many left, and I happened to have one of these files open and it was distracting. Closes: #839 Approved by: jlebon
109 lines
2.0 KiB
YAML
109 lines
2.0 KiB
YAML
branches:
|
|
- master
|
|
- auto
|
|
- try
|
|
|
|
context: f25-build-check
|
|
|
|
required: true
|
|
|
|
container:
|
|
image: registry.fedoraproject.org/fedora:25
|
|
|
|
packages:
|
|
- git
|
|
|
|
tests:
|
|
- ci/ci-commitmessage-submodules.sh
|
|
- ci/codestyle.sh
|
|
- ci/build-check.sh
|
|
|
|
timeout: 30m
|
|
|
|
artifacts:
|
|
- test-suite.log
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: c7-build
|
|
|
|
required: true
|
|
|
|
container:
|
|
image: registry.centos.org/centos/centos:7
|
|
|
|
extra-repos:
|
|
- name: atomic-centos-continuous
|
|
baseurl: https://ci.centos.org/artifacts/sig-atomic/rdgo/centos-continuous/build
|
|
gpgcheck: 0
|
|
|
|
# XXX: integrate better with ci/ scripts
|
|
tests:
|
|
- yum-builddep -y rpm-ostree
|
|
- yum install -y polkit-devel
|
|
- yum install -y make
|
|
- source ci/libbuild.sh && build
|
|
|
|
timeout: 15m
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: vmcheck
|
|
|
|
required: true
|
|
|
|
cluster:
|
|
hosts:
|
|
- name: vmcheck1
|
|
distro: fedora/25/atomic
|
|
- name: vmcheck2
|
|
distro: fedora/25/atomic
|
|
- name: vmcheck3
|
|
distro: fedora/25/atomic
|
|
container:
|
|
image: registry.fedoraproject.org/fedora:25
|
|
|
|
tests:
|
|
- ./ci/build.sh
|
|
- make vmcheck HOSTS="vmcheck1 vmcheck2 vmcheck3"
|
|
|
|
artifacts:
|
|
- vmcheck
|
|
|
|
# We really need to work on getting this down:
|
|
# https://github.com/projectatomic/rpm-ostree/issues/662
|
|
timeout: 80m
|
|
|
|
---
|
|
|
|
# NB: when bumping 25 here, also bump fedora.repo, compose script, and
|
|
# fedora-base.json
|
|
|
|
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
|
|
|
|
# copy yum.repos.d to get any injected repos from the host, which
|
|
# will point to a closer mirror
|
|
tests:
|
|
- docker run --privileged --rm
|
|
-e RPMOSTREE_COMPOSE_TEST_USE_HOST_REPO=1
|
|
-v /etc/yum.repos.d:/etc/yum.repos.d.host:ro
|
|
-v $(pwd):/srv/code -w /srv/code
|
|
registry.fedoraproject.org/fedora:25 /bin/sh -c
|
|
"cp -fv /etc/yum.repos.d{.host/*.repo,} &&
|
|
./ci/build.sh && make install && ./tests/compose"
|
|
|
|
artifacts:
|
|
- compose.log
|