[libvirt PATCH v2 11/35] ci: build.sh: Add a wrapper function over the 'rpmbuild' job

Erik Skultety posted 35 patches 1 year, 3 months ago
[libvirt PATCH v2 11/35] ci: build.sh: Add a wrapper function over the 'rpmbuild' job
Posted by Erik Skultety 1 year, 3 months ago
This helper is a shell function transcript of its original GitLab CI
counterpart.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Erik Skultety <eskultet@redhat.com>:
---
 ci/build.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ci/build.sh b/ci/build.sh
index d6361f3ade..c558b4c9ca 100644
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -76,3 +76,12 @@ run_potfile() {
 
     run_build
 }
+
+run_rpmbuild() {
+    run_dist
+    run_cmd rpmbuild \
+                --clean \
+                --nodeps \
+                --define '_without_mingw 1' \
+                -ta build/meson-dist/libvirt-*.tar.xz
+}
-- 
2.41.0
Re: [libvirt PATCH v2 11/35] ci: build.sh: Add a wrapper function over the 'rpmbuild' job
Posted by Daniel P. Berrangé 1 year, 3 months ago
On Mon, Sep 11, 2023 at 03:43:12PM +0200, Erik Skultety wrote:
> This helper is a shell function transcript of its original GitLab CI
> counterpart.
> 
> Signed-off-by: Erik Skultety <eskultet@redhat.com>
> Erik Skultety <eskultet@redhat.com>:
> ---
>  ci/build.sh | 9 +++++++++
>  1 file changed, 9 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|