Skip to content
Snippets Groups Projects
Commit baad9083 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Update .gitlab-ci.yml file

parent 6f1d5450
Branches
No related tags found
No related merge requests found
Pipeline #999 passed
...@@ -2,11 +2,9 @@ image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/ ...@@ -2,11 +2,9 @@ image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/
variables: variables:
PYTHON_VERSION: "3.6.13" PYTHON_VERSION: "3.6.13"
DEVTOOLS_ROOT: "/usr/Local/devtools"
OS: "linux-el6" OS: "linux-el6"
ARCH: "x86_64" ARCH: "x86_64"
NAME: "python-${PYTHON_VERSION}-${OS}-${ARCH}" NAME: "python-${PYTHON_VERSION}-${OS}-${ARCH}"
PYTHON_ROOT: "${DEVTOOLS_ROOT}/${NAME}"
stages: stages:
- build - build
...@@ -28,13 +26,14 @@ build: ...@@ -28,13 +26,14 @@ build:
# - grep -I -r -l "^#\!${PYTHON_ROOT}/bin/python.*$" ${PYTHON_ROOT} | xargs sed -i '1c\#\!/usr/bin/env python' # - grep -I -r -l "^#\!${PYTHON_ROOT}/bin/python.*$" ${PYTHON_ROOT} | xargs sed -i '1c\#\!/usr/bin/env python'
# # Clean pycache # # Clean pycache
# - find ${PYTHON_ROOT} -iname __pycache__ -print0 | xargs -0 rm -rf # - find ${PYTHON_ROOT} -iname __pycache__ -print0 | xargs -0 rm -rf
- env
- pwd - pwd
- mkdir -p ${PYTHON_ROOT}/bin - mkdir -p ${NAME}/bin
- echo test > ${PYTHON_ROOT}/bin/python - echo test > ${NAME}/bin/python
- cd ${PYTHON_ROOT} - cd ${NAME}
- ls -al - ls -al
- pwd - pwd
artifacts: artifacts:
name: "${NAME}" name: ${NAME}
paths: paths:
- "**/*" - ${NAME}/**/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment