sh "./autotest/fedora-latest/build.sh"
},
centos: {
- sh "./autotest/centos-latest/build.sh"
+ sh "./autotest/centos-7/build.sh"
},
opensuse: {
sh "./autotest/opensuse-leap/build.sh"
sh "./autotest/fedora-latest/test.sh"
},
centos: {
- sh "./autotest/centos-latest/test.sh"
+ sh "./autotest/centos-7/test.sh"
},
opensuse: {
sh "./autotest/opensuse-leap/test.sh"
--- /dev/null
+#!/bin/sh
+# Build zchunk-centos:7 if it doesn't exist
+HAVE_IMAGE=$(docker image ls -q zchunk-centos:7)
+if [ "$HAVE_IMAGE" == "" ]; then
+ autotest/centos-7/prep.sh
+ if [ "$?" -ne 0 ]; then
+ exit 1
+ fi
+fi
+docker image rm zchunk-centos:test -f 2>/dev/null 1>/dev/null
+docker image build -t zchunk-centos:test --file autotest/centos-7/build/Dockerfile ./
+
--- /dev/null
+FROM zchunk-centos:7
+ADD ./ /code
+WORKDIR /code
+RUN meson build --auto-features=enabled && cd build && ninja-build
+WORKDIR /code/build
+CMD ninja-build test
--- /dev/null
+#!/bin/sh
+docker pull centos:7
+if [ "$?" -ne 0 ]; then
+ exit 1
+fi
+docker image rm -f zchunk-centos:7 2>/dev/null 1>/dev/null
+docker image build -t zchunk-centos:7 --file autotest/centos-7/prep/Dockerfile ./
--- /dev/null
+FROM centos:7
+RUN yum -y install epel-release && yum -y update epel-release && yum -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)" && rm -rf /var/cache/yum
--- /dev/null
+#!/bin/sh
+# Build zchunk-centos:7 if it doesn't exist
+HAVE_IMAGE=$(docker image ls -q zchunk-centos:test)
+if [ "$HAVE_IMAGE" == "" ]; then
+ autotest/centos-7/build.sh
+ if [ "$?" -ne 0 ]; then
+ exit 1
+ fi
+fi
+docker rm zchunk-centos-test -f 2>/dev/null 1>/dev/null
+docker run --name zchunk-centos-test zchunk-centos:test
+RETVAL=$?
+docker rm zchunk-centos-test -f 2>/dev/null 1>/dev/null
+docker image rm zchunk-centos:test -f 2>/dev/null 1>/dev/null
+exit $RETVAL
+++ /dev/null
-#!/bin/sh
-# Build zchunk-centos:latest if it doesn't exist
-HAVE_IMAGE=$(docker image ls -q zchunk-centos:latest)
-if [ "$HAVE_IMAGE" == "" ]; then
- autotest/centos-latest/prep.sh
- if [ "$?" -ne 0 ]; then
- exit 1
- fi
-fi
-docker image rm zchunk-centos:test -f 2>/dev/null 1>/dev/null
-docker image build -t zchunk-centos:test --file autotest/centos-latest/build/Dockerfile ./
-
+++ /dev/null
-FROM zchunk-centos:latest
-ADD ./ /code
-WORKDIR /code
-RUN meson build --auto-features=enabled && cd build && ninja-build
-WORKDIR /code/build
-CMD ninja-build test
+++ /dev/null
-#!/bin/sh
-docker pull centos:latest
-if [ "$?" -ne 0 ]; then
- exit 1
-fi
-docker image rm -f zchunk-centos:latest 2>/dev/null 1>/dev/null
-docker image build -t zchunk-centos:latest --file autotest/centos-latest/prep/Dockerfile ./
+++ /dev/null
-FROM centos:latest
-RUN yum -y install epel-release && yum -y update epel-release && yum -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)" && rm -rf /var/cache/yum
+++ /dev/null
-#!/bin/sh
-# Build zchunk-centos:latest if it doesn't exist
-HAVE_IMAGE=$(docker image ls -q zchunk-centos:test)
-if [ "$HAVE_IMAGE" == "" ]; then
- autotest/centos-latest/build.sh
- if [ "$?" -ne 0 ]; then
- exit 1
- fi
-fi
-docker rm zchunk-centos-test -f 2>/dev/null 1>/dev/null
-docker run --name zchunk-centos-test zchunk-centos:test
-RETVAL=$?
-docker rm zchunk-centos-test -f 2>/dev/null 1>/dev/null
-docker image rm zchunk-centos:test -f 2>/dev/null 1>/dev/null
-exit $RETVAL
checkout scm
stage('Prep') {
sh "./autotest/fedora-latest/prep.sh"
- sh "./autotest/centos-latest/prep.sh"
+ sh "./autotest/centos-7/prep.sh"
sh "./autotest/opensuse-leap/prep.sh"
sh "./autotest/debian-latest/prep.sh"
sh "./autotest/ubuntu-rolling/prep.sh"