summaryrefslogtreecommitdiffstats
path: root/.papr.yml
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2017-11-15 20:01:26 +0000
committerJonathan Lebon <jlebon@redhat.com>2017-11-17 19:14:11 +0000
commitc574da6d973a235b97e2c2fe9bc6e065da226a8c (patch)
tree281539e20fbca1189af78f711c74766648f7eef9 /.papr.yml
parentda8e372b2221d1e36556bb86b3dd04328051913a (diff)
downloadopenshift-c574da6d973a235b97e2c2fe9bc6e065da226a8c.tar.gz
openshift-c574da6d973a235b97e2c2fe9bc6e065da226a8c.tar.bz2
openshift-c574da6d973a235b97e2c2fe9bc6e065da226a8c.tar.xz
openshift-c574da6d973a235b97e2c2fe9bc6e065da226a8c.zip
papr: auto-detect image tag to use and bump to f27
Current PAPR tests are failing because we're using an outdated image tag. Switch to auto-magically determining which image tag to use based on the branch the PR we're running in is targeting, which lets us not have to worry about the tag version becoming stale again. This is similar to what the containerized tests from `aos-cd-jobs` are doing (i.e. use `git describe --abbrev=0` in the target branch to determine the image tag to use). Also bump to the brand new f27 release, which allows us to drop the temporary workaround for the glibc/libsolv bug.
Diffstat (limited to '.papr.yml')
-rw-r--r--.papr.yml33
1 files changed, 13 insertions, 20 deletions
diff --git a/.papr.yml b/.papr.yml
index 119dd5fcf..2b30f84fc 100644
--- a/.papr.yml
+++ b/.papr.yml
@@ -14,35 +14,28 @@
cluster:
hosts:
- name: ocp-master
- distro: fedora/26/atomic
+ distro: fedora/27/atomic
specs:
ram: 4096
- name: ocp-node1
- distro: fedora/26/atomic
+ distro: fedora/27/atomic
- name: ocp-node2
- distro: fedora/26/atomic
+ distro: fedora/27/atomic
container:
- image: registry.fedoraproject.org/fedora:26
+ image: registry.fedoraproject.org/fedora:27
-# temp workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1483553
-#packages:
-# - gcc
-# - python-pip
-# - python-devel
-# - libffi-devel
-# - openssl-devel
-# - redhat-rpm-config
+packages:
+ - gcc
+ - git
+ - python-pip
+ - python-devel
+ - libffi-devel
+ - openssl-devel
+ - redhat-rpm-config
-context: 'fedora/26/atomic'
-
-env:
- OPENSHIFT_IMAGE_TAG: v3.6.0
+context: 'fedora/27/atomic'
tests:
- # temp workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1483553
- - if (dnf distro-sync -y || :) |& grep -q -e BDB1539; then
- rpm --rebuilddb; dnf distro-sync;
- fi; dnf install -y gcc python-pip python-devel libffi-devel openssl-devel redhat-rpm-config
- ./.papr.sh
artifacts: