From 415a0bfc37e9755b4b40198337fe76b48e1ff1d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?=
 <franck.perignon@univ-grenoble-alpes.fr>
Date: Wed, 30 Oct 2024 13:49:06 +0100
Subject: [PATCH] Add examples in the generated binder/jupyter image

---
 .gitlab-ci.yml                        | 17 -----------------
 ci/docker_images/lab-mamba/Dockerfile |  2 ++
 2 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 749355d77..e9605b79b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -338,23 +338,6 @@ examples:ci-gpu-nvidia:
 #     - .lmap-cpu
 #   needs: ["build:ci-gpu-nvidia", "test:ci-gpu-nvidia"]
 
-#####
-# Job run when a new tag (release) is created.
-#####
-release_job:
-    stage: release
-    image: registry.gitlab.com/gitlab-org/release-cli:latest
-    rules:
-    - if: $CI_COMMIT_TAG                 # Run this job when a tag is created
-      when: always
-    script:
-    - echo "running release_job"
-    release:                               # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
-      tag_name: '$CI_COMMIT_TAG'
-      description: '$CI_COMMIT_TAG'
-
-
-
 ##### 
 # Job run when a new tag (release) is created.
 #####
diff --git a/ci/docker_images/lab-mamba/Dockerfile b/ci/docker_images/lab-mamba/Dockerfile
index 32da6ef19..e1fb74361 100644
--- a/ci/docker_images/lab-mamba/Dockerfile
+++ b/ci/docker_images/lab-mamba/Dockerfile
@@ -30,6 +30,8 @@ ARG CI_PROJECT_DIR /home/hysop-user/hysop
 RUN meson $BUILD_DIR $CI_PROJECT_DIR
 RUN meson compile  -C $BUILD_DIR
 RUN meson install -C $BUILD_DIR
+RUN cd /home/hysop-user ; git clone git@gricad-gitlab.univ-grenoble-alpes.fr:particle_methods/hysop-doc.git
+RUN cp -R  /home/hysop-user/hysop-doc/examples /home/hysop-user && rm -rf  /home/hysop-user/hysop-doc
 
 FROM binderlab AS jupylab
 ENV JUPYTER_PORT=8888
-- 
GitLab