From 8198ccc8d75cb9aef02ef50096997034d0564650 Mon Sep 17 00:00:00 2001
From: jswaelens <jonathan.swaelens@opensides.be>
Date: Thu, 1 Mar 2018 11:27:58 +0100
Subject: [PATCH] Merge branch '5774-add-artifcats-to-build' into '1.3-dev'

Resolve "Add artifcats to build"

See merge request fusiondirectory/fd!146

(cherry picked from commit 3e6c181bc648c1f4066de1114b4ea627f1471815)

c559655c :sparkles: feature(artifacts): Add artifcats to build
c82a45b7 :sparkles: feat(gitlab-ci): Change the path section for artifacts
cdea3dba :ambulance: fix(gitlab-ci): Set the good path for the artifact
---
 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 740e12700..5e10cb795 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ stages:
   - test-php
   - test-manpages
   - transifex
+  - build-tarballs
 
 # Generate perlcritic rapport
 create_perlcritic_rapport:
@@ -107,3 +108,12 @@ update-transifex:
     - tx pull -a -f
     - ../dev-tools/locale-scripts/fusiondirectory-update-locale -g
     - tx push -f -s -t --skip --no-interactive
+
+build-tarballs:
+  stage: build-tarballs
+  script:
+    - tar -cvzf fusiondirectory-core.tar.gz *
+  artifacts:
+    paths:
+    - fusiondirectory-core.tar.gz
+    expire_in: 1h
-- 
GitLab