mirror of https://gitee.com/openkylin/libvirt.git
ci: build.sh: Add a wrapper function over the 'website' job
This helper is a shell function transcript of its original GitLab CI counterpart. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
da0a354476
commit
fe9f788812
|
@ -85,3 +85,10 @@ run_rpmbuild() {
|
||||||
--define "_without_mingw 1" \
|
--define "_without_mingw 1" \
|
||||||
-ta build/meson-dist/libvirt-*.tar.xz
|
-ta build/meson-dist/libvirt-*.tar.xz
|
||||||
}
|
}
|
||||||
|
|
||||||
|
run_website_build() {
|
||||||
|
export DESTDIR="${GIT_ROOT}/install"
|
||||||
|
BUILD_ARGS="install-web"
|
||||||
|
|
||||||
|
run_build
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue