summaryrefslogtreecommitdiff
path: root/.papr.yml
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-09-13 14:12:04 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-26 15:47:29 +0000
commit407354198169f33a1ebebca3ae47d5d0c34d9b42 (patch)
tree2c2c5a2d2b91eb21baf3848c83b6a150eb6bbf63 /.papr.yml
parentf4e2810fcbc5c602c8d1ffeb4330e224c2ecc0a9 (diff)
downloadpodman-407354198169f33a1ebebca3ae47d5d0c34d9b42.tar.gz
podman-407354198169f33a1ebebca3ae47d5d0c34d9b42.tar.bz2
podman-407354198169f33a1ebebca3ae47d5d0c34d9b42.zip
rework CI tests to test on VMs
This PR makes several key changes to our CI testing. Firstly, we now test podman on fedora 28, fedora 29, and centos VMS (rather than containers). Any of these that having failing tests are not marked as required yet. We still preserve the podman in podman and podman in docker tests as well and they are marked as required. The lint and validate work is now done on a openshift container. We also removed the rpm verification on papr and perform this test under the "images" test on the openshift ci. This PR exposes integration test fails on some of our OSs. My expectation is we will fix those in additional PRs and as they are fixed, we should be flipping the boolean bit to required. Signed-off-by: baude <bbaude@redhat.com> Closes: #1492 Approved by: mheon
Diffstat (limited to '.papr.yml')
-rw-r--r--.papr.yml129
1 files changed, 108 insertions, 21 deletions
diff --git a/.papr.yml b/.papr.yml
index 0348aa1a3..226424d4e 100644
--- a/.papr.yml
+++ b/.papr.yml
@@ -17,11 +17,39 @@ tests:
artifacts:
- build.log
-context: "FAH28"
+context: "FAH28 - Containerized (Podman in Podman)"
+
+---
+
+ host:
+ distro: centos/7/atomic/smoketested
+ specs:
+ ram: 8192
+ cpus: 4
+ extra-repos:
+ - name: epel
+ metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
+ gpgcheck: 0
+ - name: cri-o
+ baseurl: https://cbs.centos.org/repos/virt7-container-common-candidate/$basearch/os
+ gpgcheck: 0
+
+ required: true
+
+ timeout: 90m
+
+ tests:
+ - CONTAINER_RUNTIME="docker" sh .papr_prepare.sh
+
+ artifacts:
+ - build.log
+
+ context: "CAH 7-smoketested - Containerized (Podman in Docker)"
+
---
host:
- distro: centos/7/atomic/smoketested
+ distro: centos/7/cloud
specs:
ram: 8192
cpus: 4
@@ -33,53 +61,112 @@ extra-repos:
baseurl: https://cbs.centos.org/repos/virt7-container-common-candidate/$basearch/os
gpgcheck: 0
+packages:
+ - btrfs-progs-devel
+ - glib2-devel
+ - glibc-devel
+ - glibc-static
+ - git
+ - go-md2man
+ - gpgme-devel
+ - libassuan-devel
+ - libgpg-error-devel
+ - libseccomp-devel
+ - libselinux-devel
+ - ostree-devel
+ - pkgconfig
+ - make
+ - nc
+ - go-compilers-golang-compiler
+ - podman
+
required: true
timeout: 90m
tests:
- - sh .papr_prepare.sh
+ - sed 's/^expand-check.*/expand-check=0/g' -i /etc/selinux/semanage.conf
+ - sh .papr.sh -b -i -t
artifacts:
- build.log
-context: "CAH smoketested"
-
+context: "CentOS 7 Cloud"
---
-inherit: true
host:
distro: fedora/28/cloud
specs:
ram: 8192
cpus: 4
packages:
+ - btrfs-progs-devel
+ - glib2-devel
+ - glibc-devel
+ - glibc-static
+ - git
+ - go-md2man
+ - gpgme-devel
+ - libassuan-devel
+ - libgpg-error-devel
+ - libseccomp-devel
+ - libselinux-devel
+ - ostree-devel
+ - pkgconfig
+ - make
+ - nc
+ - go-compilers-golang-compiler
- podman
- - buildah
+ - python3-varlink
+ - python3-dateutil
+ - python3-psutil
+
tests:
- sed 's/^expand-check.*/expand-check=0/g' -i /etc/selinux/semanage.conf
- yum -y reinstall container-selinux
- - CONTAINER_RUNTIME="podman" sh .papr_prepare.sh
+ - sh .papr.sh -b -i -t -p
+
required: false
timeout: 90m
-context: "Fedora fedora/28/cloud Podman"
+context: "Fedora 28 Cloud"
---
-container:
- image: registry.fedoraproject.org/fedora:28
+host:
+ distro: fedora/29/cloud/pungi
+ specs:
+ ram: 8192
+ cpus: 4
+packages:
+ - btrfs-progs-devel
+ - glib2-devel
+ - glibc-devel
+ - glibc-static
+ - git
+ - go-md2man
+ - gpgme-devel
+ - libassuan-devel
+ - libgpg-error-devel
+ - libseccomp-devel
+ - libselinux-devel
+ - ostree-devel
+ - pkgconfig
+ - make
+ - nc
+ - go-compilers-golang-compiler
+ - podman
+ - python3-varlink
+ - python3-dateutil
+ - python3-psutil
+
tests:
- - sh contrib/build_rpm.sh
-required: true
-context: "Fedora RPM regressions"
+ - sed 's/^expand-check.*/expand-check=0/g' -i /etc/selinux/semanage.conf
+ - yum -y reinstall container-selinux
+ - sh .papr.sh -b -i -t
----
+required: false
-container:
- image: registry.centos.org/centos:7
-tests:
- - sh contrib/build_rpm.sh
-required: true
-context: "CentOS RPM regressions"
+timeout: 90m
+context: "Fedora 29 Cloud"