From 5cd44c33ab14885f697c1f6d7f52e0056d08aea8 Mon Sep 17 00:00:00 2001 From: YECHE QUENTIN <quentin.yeche@inrae.fr> Date: Fri, 15 Sep 2023 16:29:24 +0200 Subject: [PATCH] Update .gitlab-ci.yml file to force the two docker images to be run sequentially, in order to avoid race condition and file lock errors --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22f6db7..11f66d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,11 +8,14 @@ # # This template uses one generic job with conditional builds # for the default branch and all other (MR) branches. +stages: + - build_jupyterlab + - build_jupyterhub docker-build_jupyterlab: # Use the official docker image. image: docker:latest - stage: build + stage: build_jupyterlab services: - docker:dind before_script: @@ -32,7 +35,7 @@ docker-build_jupyterlab: docker-build_jupyterhub: # Use the official docker image. image: docker:latest - stage: build + stage: build_jupyterhub services: - docker:dind before_script: -- GitLab