From 4ceffec00f39acfd3c9070ebd61c0694e177d6b2 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Fri, 12 Apr 2024 16:03:08 +0200 Subject: [PATCH] update ci --- .gitlab-ci.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79c3117b..6625afe0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,8 +29,7 @@ stages: # - build-df-cli # - deploy-meilisearch - zotero - - delete-release - - pre-processing + - manual - get-meili-key - build # - build-wiki @@ -58,7 +57,7 @@ stages: build:df-wiki-cli: image: python:3.11-bullseye - stage: pre-processing + stage: manual before_script: - cd packages/df-wiki-cli/ - pip install poetry @@ -79,7 +78,7 @@ build:df-wiki-cli: ################ DEPLOY MEILISEARCH ################# .deploy:meilisearch: - stage: pre-processing + stage: manual image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION variables: CI_DEBUG_TRACE: "false" @@ -144,7 +143,7 @@ deploy:meilisearch:prod: delete-meilisearch-release:dev: rules: - if: $CI_COMMIT_BRANCH != "main" - stage: delete-release + stage: manual when: manual image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION variables: @@ -161,7 +160,7 @@ delete-meilisearch-release:dev: delete-meilisearch-release:prod: rules: - if: $CI_COMMIT_BRANCH == "main" - stage: delete-release + stage: manual when: manual image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION variables: @@ -188,7 +187,7 @@ lint: # Update Meili search indexes + generate some file that goes to meilisearch .update-meilisearch-index: extends: .df-wiki-cli-run - stage: pre-processing + stage: manual variables: MEILI_HOST: "http://localhost:7700" script: @@ -545,7 +544,7 @@ deploy:prod: delete-wiki-release:dev: rules: - if: $CI_COMMIT_BRANCH != "main" - stage: delete-release + stage: manual when: manual image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION variables: @@ -561,7 +560,7 @@ delete-wiki-release:dev: delete-wiki-release:prod: rules: - if: $CI_COMMIT_BRANCH == "main" - stage: delete-release + stage: manual when: manual image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION variables: -- GitLab