Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
course-container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EnJoY
course-container
Commits
c26fdfb3
Commit
c26fdfb3
authored
1 year ago
by
Christian Winter
Browse files
Options
Downloads
Patches
Plain Diff
debug pipeline
parent
f58610a9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-7
11 additions, 7 deletions
.gitlab-ci.yml
basis/Dockerfile
+23
-2
23 additions, 2 deletions
basis/Dockerfile
with
34 additions
and
9 deletions
.gitlab-ci.yml
+
11
−
7
View file @
c26fdfb3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
basis/Dockerfile
+
23
−
2
View file @
c26fdfb3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment