Skip to content
Snippets Groups Projects
Commit c26fdfb3 authored by Christian Winter's avatar Christian Winter
Browse files

debug pipeline

parent f58610a9
Branches
No related tags found
No related merge requests found
...@@ -12,15 +12,19 @@ variables: ...@@ -12,15 +12,19 @@ variables:
- changes: - changes:
- $IMAGE_NAME/Dockerfile - $IMAGE_NAME/Dockerfile
- basis/* - basis/*
needs: # if the build_and_push step basis has to be done, then make the other build_and_push steps dependend of it
- job: basis
optional: true # only run if basis is added to the pipeline (depends on the rules).
before_script: before_script:
- docker login -u "$DOCKER_HUB_USER" -p $DOCKER_TOKEN - docker login -u "$DOCKER_HUB_USER" -p $DOCKER_TOKEN
script: script:
- docker build -t "$DOCKER_HUB_USER/etp_$IMAGE_NAME" $IMAGE_NAME/Dockerfile --no-cache; - docker build -t "$DOCKER_HUB_USER/etp_$IMAGE_NAME" $IMAGE_NAME/Dockerfile --no-cache;
- docker push "$DOCKER_HUB_USER/etp_$IMAGE_NAME"; - docker push "$DOCKER_HUB_USER/etp_$IMAGE_NAME";
.extend_build_image:
extends:
- .common_build
needs: # if the build_and_push step basis has to be done, then make the other build_and_push steps dependend of it
- job: basis
optional: true # only run if basis is added to the pipeline (depends on the rules).
basis: basis:
variables: variables:
IMAGE_NAME: "basis" IMAGE_NAME: "basis"
...@@ -31,25 +35,25 @@ tp: ...@@ -31,25 +35,25 @@ tp:
variables: variables:
IMAGE_NAME: "tp" IMAGE_NAME: "tp"
extends: extends:
- .common_build - ..extend_build_image:
python311: python311:
variables: variables:
IMAGE_NAME: "python311" IMAGE_NAME: "python311"
extends: extends:
- .common_build - ..extend_build_image:
basis_jupytermachine: basis_jupytermachine:
variables: variables:
IMAGE_NAME: "basis_jupytermachine" IMAGE_NAME: "basis_jupytermachine"
extends: extends:
- .common_build - ..extend_build_image:
tp_herwig: tp_herwig:
variables: variables:
IMAGE_NAME: "tp_herwig" IMAGE_NAME: "tp_herwig"
extends: extends:
- .common_build - ..extend_build_image:
create_jupytermachine_version: create_jupytermachine_version:
stage: create_jupytermachine_version stage: create_jupytermachine_version
......
...@@ -24,8 +24,29 @@ RUN apt-get update -y && apt-get upgrade -y && \ ...@@ -24,8 +24,29 @@ RUN apt-get update -y && apt-get upgrade -y && \
### installing pip packages ### installing pip packages
RUN pip install numpy seaborn scipy matplotlib uncertainties pyunfold PhyPraKit pandas\ RUN pip install numpy \
kafe2 pydot graphviz scikit-learn jupytext nbgitpuller jupyterlab-git ipympl pyarrow ipywidgets jupyter-server bash_kernel iminuit --upgrade --no-cache-dir matplotlib \
scipy \
seaborn \
uncertainties \
pyunfold \
PhyPraKit \
pandas \
kafe2 \
pydot \
graphviz \
scikit-learn \
jupytext \
nbgitpuller \
jupyterlab-git \
ipympl \
pyarrow \
ipywidgets \
jupyter-server \
bash_kernel \
--upgrade --no-cache-dir
RUN pip install iminuit --no-cache-dir
RUN export NBGITPULLER_PARENTPATH=/home/$NB_USER RUN export NBGITPULLER_PARENTPATH=/home/$NB_USER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment