ci: start testing on F26

Now that PAPR has support for pre-release images of Fedora Atomic Host
26, let's start testing there. We mark it as not required for the time
being.

Closes: #860
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2017-07-05 09:02:33 -07:00 committed by Atomic Bot
parent 87b978c088
commit 760110596b
2 changed files with 50 additions and 2 deletions

View File

@ -27,6 +27,23 @@ artifacts:
inherit: true inherit: true
context: f26-build-check
required: false
container:
image: registry.fedoraproject.org/fedora:26
tests:
# updates-source mirrors are being flaky
- sed -i '/metalink=.*updates-released-source.*/ d' /etc/yum.repos.d/fedora-updates.repo
- sed -i '/SRPMS/ s/^#baseurl/baseurl/' /etc/yum.repos.d/fedora-updates.repo
- ci/build-check.sh
---
inherit: true
context: c7-build context: c7-build
required: true required: true
@ -67,9 +84,15 @@ cluster:
container: container:
image: registry.fedoraproject.org/fedora:25 image: registry.fedoraproject.org/fedora:25
env:
HOSTS: vmcheck1 vmcheck2 vmcheck3
packages:
- rsync
tests: tests:
- ./ci/build.sh - ./ci/build.sh
- make vmcheck HOSTS="vmcheck1 vmcheck2 vmcheck3" - make vmcheck
artifacts: artifacts:
- vmcheck - vmcheck
@ -80,6 +103,31 @@ timeout: 80m
--- ---
inherit: true
context: f26-vmcheck
required: false
cluster:
hosts:
- name: vmcheck
distro: fedora/26/atomic
container:
image: registry.fedoraproject.org/fedora:26
env:
HOSTS: vmcheck
tests:
# updates-source mirrors are being flaky
- sed -i '/metalink=.*updates-released-source.*/ d' /etc/yum.repos.d/fedora-updates.repo
- sed -i '/SRPMS/ s/^#baseurl/baseurl/' /etc/yum.repos.d/fedora-updates.repo
- ./ci/build.sh
- make vmcheck
---
branches: branches:
- master - master
- auto - auto

View File

@ -67,7 +67,7 @@ check-local:
vmsync: vmsync:
@env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/sync.sh @env $(BASE_TESTS_ENVIRONMENT) ./tests/vmcheck/sync.sh
HOSTS := "vmcheck" HOSTS ?= "vmcheck"
vmoverlay: vmoverlay:
@if [ -z "$(SKIP_VMOVERLAY)" ]; then \ @if [ -z "$(SKIP_VMOVERLAY)" ]; then \