papr: build and test on c7
authorJonathan Lebon <jlebon@redhat.com>
Tue, 27 Jun 2017 20:39:27 +0000 (13:39 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 27 Jun 2017 21:45:34 +0000 (21:45 +0000)
Start testing on CentOS 7 as well to cover kernel differences (e.g.
O_TMPFILE support).

Closes: #968
Approved by: cgwalters

.papr.yml

index b2eeb97208015e2138c4c4262e955b09440b854f..be4c4f043d25b2afe78a8ac04655e9cff5c74018 100644 (file)
--- a/.papr.yml
+++ b/.papr.yml
@@ -31,18 +31,22 @@ artifacts:
   - test-suite.log
 ---
 
-context: c7-build
+context: c7-primary
 inherit: true
 required: true
 
-container:
-  image: registry.centos.org/centos/centos:7
+packages:
+
+host:
+  distro: centos/7/atomic
 
 env:
     CFLAGS: ''
 
 tests:
-  - ci/build-check.sh
+  - docker run --privileged -v $PWD:$PWD --workdir $PWD
+    registry.centos.org/centos/centos:7 sh -c
+    'yum install -y git && ci/build-check.sh'
 
 ---