Hello,

I created a patch which will allow anyone to build CI
using "CI for external repo" + mirroring on https://gitlab.com

Cheers,
Ilya Shipitsin
commit c75028307a55636f5530671bfcd936162059beed
Author: Ilya Shipitsin <chipits...@gmail.com>
Date:   Fri Jul 13 14:36:55 2018 +0500

    FEATURE: gitlab-ci enabled reg tests
    
    with this file anyone can enable "CI for external repo"
    on https://gitlab.com and get reg tests running

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..9b6cd345
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+fedora:
+  image: fedora:28
+  before_script:
+    - dnf install -y git make libtool openssl-devel libedit-devel pcre-devel lua-devel python-docutils -q
+    - git clone https://github.com/varnishcache/varnish-cache vt
+    - cd vt 
+    - ./autogen.sh > build.log 2>&1 || (cat build.log && exit 1)
+    - ./configure > build.log 2>&1 || (cat build.log && exit 1) 
+    - make > build.log 2>&1 || (cat build.log && exit 1)
+    - cd ..
+  script:
+    - make TARGET=generic USE_OPENSSL=1 USE_LUA=1 USE_THREAD=1
+    - VARNISHTEST_PROGRAM=${PWD}/vt/bin/varnishtest/varnishtest make reg-tests
+
+centos:
+  image: centos:7
+  before_script:
+    - yum install -y epel-release -q
+    - rpm -i https://centos7.iuscommunity.org/ius-release.rpm
+    - yum install -y git make libtool openssl-devel libedit-devel pcre-devel lua53u-devel python-docutils -q
+    - git clone https://github.com/varnishcache/varnish-cache vt
+    - cd vt 
+    - ./autogen.sh > build.log 2>&1 || (cat build.log && exit 1)
+    - ./configure > build.log 2>&1 || (cat build.log && exit 1) 
+    - make > build.log 2>&1 || (cat build.log && exit 1)
+    - cd ..
+  script:
+    - make TARGET=generic USE_OPENSSL=1 USE_LUA=1 USE_THREAD=1 LUA_INC=/usr/include/lua-5.3 LUA_LIB_NAME=lua-5.3
+    - VARNISHTEST_PROGRAM=${PWD}/vt/bin/varnishtest/varnishtest make reg-tests

Reply via email to