mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-03 04:45:46 +00:00
.gitlab-ci.yml: Convert the website build job to the build.sh usage
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>
This commit is contained in:
parent
8a2866a4f6
commit
6283e99edb
@ -79,9 +79,8 @@ include:
|
|||||||
# https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=website
|
# https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=website
|
||||||
.website_job:
|
.website_job:
|
||||||
script:
|
script:
|
||||||
- *script_variables
|
- source ci/jobs.sh
|
||||||
- meson setup build --werror -Dsystem=true || (cat build/meson-logs/meson-log.txt && exit 1)
|
- run_website_build
|
||||||
- DESTDIR=$(pwd)/install meson compile -C build install-web
|
|
||||||
after_script:
|
after_script:
|
||||||
- test "$CI_JOB_STATUS" != "success" && exit 1;
|
- test "$CI_JOB_STATUS" != "success" && exit 1;
|
||||||
- mv install/usr/share/doc/libvirt/html/ website
|
- mv install/usr/share/doc/libvirt/html/ website
|
||||||
|
Loading…
Reference in New Issue
Block a user