[gimp-help/wip/Jehan/ci-master-split: 2/20] gitlab-ci: build all languages, but in 3 jobs.




commit 9c42a0670e97e3d470e99799252a8b5a474eeed2
Author: Jehan <jehan girinstud io>
Date:   Wed Mar 16 15:52:00 2022 +0100

    gitlab-ci: build all languages, but in 3 jobs.
    
    All at once is too much, especially now that the infrastructure team
    limited runners to 1 hours, regardless of the individual project
    settings.
    
    (cherry picked from commit c33202e766a531547de9b446d0d1584b3e3bc14e)

 .gitlab-ci.yml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37086886b..cb137d7e1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,6 @@ stages:
 variables:
   INSTALL_DIR: "_install"
   INSTALL_PREFIX: "${CI_PROJECT_DIR}/${INSTALL_DIR}"
-  LINGUAS: "en ja"
 
 build-image:
   stage: prepare
@@ -27,7 +26,7 @@ build-image:
 
     - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination 
$CI_REGISTRY_IMAGE:build-debian-latest --cache=true --cache-ttl=120h
 
-build-debian:
+.build-debian-base:
   stage: build
   image: $CI_REGISTRY_IMAGE:build-debian-latest
   artifacts:
@@ -50,3 +49,18 @@ build-debian:
     - mv ./pdf/ ../../html/2.99/pdf/
   timeout: 2 hours 30 minutes
   needs: ["build-image"]
+
+build-debian-1:
+  extends: .build-debian-base
+  variables:
+    LINGUAS: "ca cs da de el en en_GB es"
+
+build-debian-2:
+  extends: .build-debian-base
+  variables:
+    LINGUAS: "fi fr hr it ja ko lt nl"
+
+build-debian-3:
+  extends: .build-debian-base
+  variables:
+    LINGUAS: "nn pt_BR ro ru sl sv zh_CN"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]