From 4802b5d7143db5c59200789c8c8de61b0f6a27c6 Mon Sep 17 00:00:00 2001
From: Simon Rose <simon.rose@ess.eu>
Date: Fri, 11 Jun 2021 15:36:08 +0200
Subject: [PATCH] Switched EPICS base download to artifactory

---
 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ca531b4..218fd4be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,6 @@
 ---
+variables:
+  EPICS_BASE_VERSION: base-7.0.5-5dd5594
 
 stages:
   - check
@@ -40,8 +42,8 @@ build require:
   stage: build
   when: always
   before_script:
-    - curl -L -o epics.zip https://gitlab.esss.lu.se/e3/e3-base/-/jobs/artifacts/master/download?job=build
-    - unzip epics.zip
+    - curl -L -o epics.tar.gz https://artifactory.esss.lu.se/artifactory/e3/epics-base-$EPICS_BASE_VERSION.tar.gz
+    - tar -zxvf epics.tar.gz
     - export BASE_PATH=$(ls -d $(pwd)/epics/base-*)
     - echo "EPICS_BASE:=${BASE_PATH}" >> configure/RELEASE.local
     - chmod +w "${BASE_PATH}"/configure/CONFIG_SITE
-- 
GitLab