mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +00:00
ci: build.sh: Add GIT_ROOT env helper variable
We'll use this one in many of the job functions future patches will introduce, it's a neat shortcut to avoid using relative paths. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
470596b850
commit
e61241d7f4
@ -14,6 +14,8 @@ if ! [ -t 1 ]; then
|
|||||||
export VIR_TEST_DEBUG="1"
|
export VIR_TEST_DEBUG="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
GIT_ROOT="$(git rev-parse --show-toplevel)"
|
||||||
|
|
||||||
# $MESON_OPTS is an env that can optionally be set in the container,
|
# $MESON_OPTS is an env that can optionally be set in the container,
|
||||||
# populated at build time from the Dockerfile. A typical use case would
|
# populated at build time from the Dockerfile. A typical use case would
|
||||||
# be to pass options to trigger cross-compilation
|
# be to pass options to trigger cross-compilation
|
||||||
|
Loading…
Reference in New Issue
Block a user