[gimp-help/wip/wormnest/validate] ci: add a po validation stage




commit ea63496c81aece60461aec26827273db1e552ff7
Author: Jacob Boerema <jgboerema gmail com>
Date:   Sat Jul 23 12:45:18 2022 -0400

    ci: add a po validation stage

 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 752def4c0..f7cf7b378 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: debian:testing
 
 stages:
   - prepare
+  - validatepo
   - build
   - www
   - distribution
@@ -28,6 +29,14 @@ 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
 
+po-validate:
+  stage: validatepo
+  image: $CI_REGISTRY_IMAGE:build-debian-latest
+  script:
+    - cd po
+    - find . -type f -print0 | xargs -0 ../tools/validate_po.py $1 $2
+  needs: ["build-image"]
+
 .build-debian-base:
   stage: build
   image: $CI_REGISTRY_IMAGE:build-debian-latest


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