diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8aeda0495be211f4f97b3dcf73d0cb08a6295f36..38c3074137a172702f8c1e41e066e856dcf15df2 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}/**/*