From fe9f788812a876a9b3d68bded0dd7dd4b4c7468b Mon Sep 17 00:00:00 2001 From: Erik Skultety Date: Thu, 24 Aug 2023 15:49:19 +0200 Subject: [PATCH] ci: build.sh: Add a wrapper function over the 'website' job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety Reviewed-by: Daniel P. Berrangé --- ci/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index ffcd5385ff..c2ef590e6a 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -85,3 +85,10 @@ run_rpmbuild() { --define "_without_mingw 1" \ -ta build/meson-dist/libvirt-*.tar.xz } + +run_website_build() { + export DESTDIR="${GIT_ROOT}/install" + BUILD_ARGS="install-web" + + run_build +}