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
No related branches found
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/
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}/**/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment