]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
.gitlab-ci.yml: Convert the potfile job to the build.sh usage
authorErik Skultety <eskultet@redhat.com>
Thu, 24 Aug 2023 14:05:41 +0000 (16:05 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 12 Sep 2023 09:36:03 +0000 (11:36 +0200)
Individual shell command executions are replaced by respective
functions in the ci/build.sh base script. This will make sure we use
the same recipes in GitLab jobs as well as in local executions.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.gitlab-ci.yml

index 35f1a1e135044111ed560fef86d40cd38f95eeb9..1cdabed941421ffaa410345a9ae3ff3a5b0ebf01 100644 (file)
@@ -156,9 +156,8 @@ potfile:
   before_script:
     - *script_variables
   script:
-    - meson setup build --werror || (cat build/meson-logs/meson-log.txt && exit 1)
-    - meson compile -C build libvirt-pot-dep
-    - meson compile -C build libvirt-pot
+    - source ci/jobs.sh
+    - run_potfile
   after_script:
     - test "$CI_JOB_STATUS" != "success" && exit 1;
     - cp po/libvirt.pot libvirt.pot