summaryrefslogtreecommitdiff
path: root/.papr.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-04-02 11:38:14 -0400
committerChris Evich <cevich@redhat.com>2019-04-03 09:57:20 -0400
commit599714d9f2b5d0715a5cda0275fbea64d581bbc6 (patch)
tree6f569aea9d7922ff8a1d64079b2d96ebc695b062 /.papr.yml
parentad467ba16e5f78a159c730ea005830cfa075de15 (diff)
downloadpodman-599714d9f2b5d0715a5cda0275fbea64d581bbc6.tar.gz
podman-599714d9f2b5d0715a5cda0275fbea64d581bbc6.tar.bz2
podman-599714d9f2b5d0715a5cda0275fbea64d581bbc6.zip
Cirrus: Support special-case modes of testing
Previously libpod CI was fairly straight-forward, run unit and integration tests in a standard set of 3 VMs. Off on the side was a single special case of running tests as an ordinary user. There is a desire to stop using the PAPR system to support testing inside of a container. Since having two special cases potentially invites more down the road, make provisions to handle them more gracefully. This commit introduces an environment variable: ``$SPECIALMODE``. It's value has the following meanings within the CI scripts: Mode 'none': Nothing special, business as usual (default) Mode 'rootless': Rootless testing Mode 'in_podman': Build container, run integration tests in it. This will make adding additional special-cases later easier, as well as extending the special cases in a Matrix across multiple OS's. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to '.papr.yml')
-rw-r--r--.papr.yml97
1 files changed, 0 insertions, 97 deletions
diff --git a/.papr.yml b/.papr.yml
deleted file mode 100644
index ed20c6039..000000000
--- a/.papr.yml
+++ /dev/null
@@ -1,97 +0,0 @@
-branches:
- - master
- - auto
- - try
-
-host:
- distro: fedora/28/atomic
- specs:
- ram: 8192
- cpus: 4
-required: true
-timeout: 90m
-
-tests:
- - rpm-ostree usroverlay && rpm -Uvh https://kojipkgs.fedoraproject.org//packages/podman/0.10.1/1.gite4a1553.fc28/x86_64/podman-0.10.1-1.gite4a1553.fc28.x86_64.rpm
- - CONTAINER_RUNTIME="podman" sh .papr_prepare.sh
-
-artifacts:
- - build.log
-
-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/cloud
-# 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
-#
-#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:
-# - sed 's/^expand-check.*/expand-check=0/g' -i /etc/selinux/semanage.conf
-# - sh .papr.sh -b -i -t
-#
-#artifacts:
-# - build.log
-#
-#context: "CentOS 7 Cloud"
-#
-#---