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




commit c33202e766a531547de9b446d0d1584b3e3bc14e
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.

 .gitlab-ci.yml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ed7b56f84..d5711fef6 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.10/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]