From baad9083d28d9b966abfec2cb503b7e5d44c5765 Mon Sep 17 00:00:00 2001
From: MADELA Patrick <patrick.madela@synchrotron-soleil.fr>
Date: Tue, 4 Oct 2022 20:16:07 +0200
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8aeda04..38c3074 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,11 +2,9 @@ image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/
 
 variables:
   PYTHON_VERSION: "3.6.13"
-  DEVTOOLS_ROOT: "/usr/Local/devtools"
   OS: "linux-el6"
   ARCH: "x86_64"
   NAME: "python-${PYTHON_VERSION}-${OS}-${ARCH}"
-  PYTHON_ROOT: "${DEVTOOLS_ROOT}/${NAME}"
 
 stages:
   - build
@@ -28,13 +26,14 @@ build:
     # - grep -I -r -l  "^#\!${PYTHON_ROOT}/bin/python.*$" ${PYTHON_ROOT} | xargs sed -i '1c\#\!/usr/bin/env python'
     # # Clean pycache
     # - find ${PYTHON_ROOT} -iname __pycache__ -print0 | xargs -0 rm -rf
+    - env
     - pwd
-    - mkdir -p ${PYTHON_ROOT}/bin
-    - echo test > ${PYTHON_ROOT}/bin/python
-    - cd ${PYTHON_ROOT}
+    - mkdir -p ${NAME}/bin
+    - echo test > ${NAME}/bin/python
+    - cd ${NAME}
     - ls -al
     - pwd
   artifacts:
-    name: "${NAME}"
+    name: ${NAME}
     paths:
-      - "**/*"
+      - ${NAME}/**/*
-- 
GitLab