From 5c0b4262b7c373948534e256856f9b9e4ba92341 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Wed, 4 Oct 2023 14:41:03 +0200
Subject: [PATCH] Create a dependencies to format-data in build

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 35412ae5..26650e43 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,8 @@ stages:
 .build:
   stage: build
   image: docker:24
+  needs: 
+    - "format-data"
   variables:
     CONTEXT: "."
     DOCKERFILE: "Dockerfile"
@@ -57,6 +59,8 @@ get-pfam:
 
 format-pfam:
   image: python:3.11
+  stage: format-data
+
   needs:
     - "get-pfam"
   before_script:
-- 
GitLab