From a1785afdb15c356061750dbe4d63d911b630dc75 Mon Sep 17 00:00:00 2001 From: Bryan Brancotte <bryan.brancotte@pasteur.fr> Date: Wed, 19 Jun 2024 11:09:40 +0200 Subject: [PATCH] aggregate fragment for docs, trigger doc rebuild --- .gitlab-ci.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 998976a..949a32d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -136,20 +136,38 @@ build_r: publish_listing: only: - docker-images + - rework-image-matrix-and-export needs: - build_r - build_python + before_script: + - git fetch origin docs + - git checkout docs script: - echo "built image,base os,R/Python,shiny-server" > image-list.csv - - cat image-list-fragments/*.csv >> image-list.csv + - cat image-list-fragments/*.csv >> image_list.csv + - WHEN=$(LC_TIME="en_US.utf8" date +"%b %G") + - sed "s/%%date%%/${WHEN}/g" source/user_guide/image_list.rst > image_list.rst artifacts: when: always paths: - - image-list.csv + - image_list.csv + - image_list.rst expire_in: 1 year +update_docs: + only: + - docker-images + - rework-image-matrix-and-export + needs: ["publish_listing"] + trigger: + project: hub/shiny-k8s + branch: docs + + + trigger_r_example: needs: ["build_r"] trigger: -- GitLab