Commit 6376b4cd authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Update CI file

parent 21278a92
Pipeline #25811 passed with stages
in 2 minutes and 56 seconds
...@@ -12,7 +12,7 @@ variables: ...@@ -12,7 +12,7 @@ variables:
USE_CLEAN_VENV: "false" USE_CLEAN_VENV: "false"
linux_base: .linux_base:
stage: test stage: test
before_script: before_script:
- unset HTTP_PROXY - unset HTTP_PROXY
...@@ -34,7 +34,7 @@ linux_base: ...@@ -34,7 +34,7 @@ linux_base:
linux_shell: linux_shell:
extends: linux_base extends: .linux_base
variables: variables:
LOCAL_REPO: $LOCAL_REPO_SHELL LOCAL_REPO: $LOCAL_REPO_SHELL
VENV_DIR: ${VENV_DIR_SHELL} VENV_DIR: ${VENV_DIR_SHELL}
...@@ -43,7 +43,7 @@ linux_shell: ...@@ -43,7 +43,7 @@ linux_shell:
linux_docker: linux_docker:
extends: linux_base extends: .linux_base
image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5 image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
variables: variables:
LOCAL_REPO: $LOCAL_REPO_DOCKER LOCAL_REPO: $LOCAL_REPO_DOCKER
...@@ -53,7 +53,7 @@ linux_docker: ...@@ -53,7 +53,7 @@ linux_docker:
pages_base: .pages_base:
stage: deploy stage: deploy
before_script: before_script:
- source $VENV_DIR/bin/activate - source $VENV_DIR/bin/activate
...@@ -71,7 +71,7 @@ pages_base: ...@@ -71,7 +71,7 @@ pages_base:
pages_shell: pages_shell:
extends: pages_base extends: .pages_base
variables: variables:
LOCAL_REPO: $LOCAL_REPO_SHELL LOCAL_REPO: $LOCAL_REPO_SHELL
VENV_DIR: $VENV_DIR_SHELL VENV_DIR: $VENV_DIR_SHELL
...@@ -80,7 +80,7 @@ pages_shell: ...@@ -80,7 +80,7 @@ pages_shell:
pages_docker: pages_docker:
extends: pages_base extends: .pages_base
image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5 image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
variables: variables:
LOCAL_REPO: $LOCAL_REPO_DOCKER LOCAL_REPO: $LOCAL_REPO_DOCKER
...@@ -89,3 +89,8 @@ pages_docker: ...@@ -89,3 +89,8 @@ pages_docker:
- docker - docker
before_script: before_script:
- apt install --yes pandoc - apt install --yes pandoc
- mkdir -p $VENV_DIR
- python -m venv $VENV_DIR
- source $VENV_DIR/bin/activate
- pip install --upgrade pip
- pip install sphinx cloud_sptheme nbsphinx recommonmark numpy
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment