From 179f601017732fdd2eb4ab67b0c6c7a7e9df774b Mon Sep 17 00:00:00 2001
From: "Auke L. Klazema" <klazema@astron.nl>
Date: Fri, 1 Nov 2019 13:14:38 +0100
Subject: [PATCH] SW-830: Make tar file as artifact

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82fa7899b94..a4a7a1fef03 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,10 +19,12 @@ build_RAServices:
     - cmake -DBUILD_PACKAGES=$PACKAGE -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DCMAKE_INSTALL_PREFIX=/opt/lofar -DUSE_LOG4CPLUS=false ../..
     - make
     - make DESTDIR=../../install install
+    - cd ../../install/opt/lofar
+    - tar --ignore-failed-read --exclude=include -czf RAServices_$CI_COMMIT_SHORT_SHA.ztar *
 
   artifacts:
     paths:
-      - install/
+      - install/*.ztar
 
 # build_CEP:
 #   stage: build
-- 
GitLab