From 26697615ee963e446059a49e86d02dfc176cf1bc Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 12 Apr 2024 15:08:16 +0200
Subject: [PATCH] update ci

---
 .gitlab-ci.yml | 35 +++++++++++++++++++++++------------
 1 file changed, 23 insertions(+), 12 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71e49964..2a57eacc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,6 +193,24 @@ lint:
     MEILI_HOST: "http://localhost:7700"
   script:
     # - rm data/list-systems.json
+    # SYSTEM OPERON STRUCUTRE
+    - >
+      df-wiki-cli 
+      meilisearch 
+      delete-all-documents system-operon-structure
+    - >
+      df-wiki-cli 
+      content 
+      system-operon-structure 
+      --tag "1.2.2" 
+      --version "1.2.2" 
+      --output data/system-structures.csv
+    - >
+      df-wiki-cli 
+      meilisearch 
+      update system-operon-structure 
+      --file data/system-structures.csv
+
     ###### REFSEQ
     # delete all document refseq
     - >
@@ -304,25 +322,18 @@ lint:
       update systems
       --file data/list-systems.json
     # STRUCTURE
+    - >
+      df-wiki-cli 
+      meilisearch 
+      delete-all-documents structure
     - >
       df-wiki-cli
       meilisearch 
       --host ${MEILI_HOST}
       --key "${MEILI_MASTER_KEY}"
       update structure
-      --file data/all_predictions_statistics_clean.csv
+      --file data/all_predictions_statistics.tsv
 
-    # SYSTEM OPERON STRUCUTRE
-    - >
-      df-wiki-cli 
-      content 
-      system-operon-structure 
-      --version "1.2.4" --output data/system-structures.csv
-    - >
-      df-wiki-cli 
-      meilisearch 
-      update system-operon-structure 
-      --file data/system-structures.csv
 
     # ARTICLES
     - > 
-- 
GitLab