ci: Provide consistent results location in LAVA
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Thu, 4 Nov 2021 18:49:05 +0000 (20:49 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 22 Mar 2022 17:01:09 +0000 (17:01 +0000)
commitfb2ffc2f6773606c9cda4188851514f14ca102de
treebe6c43886374b97489fe70470614e7d44c263a0a
parent3e01cea1bde3dbb8409aa20629bc9cc3ddc562a5
ci: Provide consistent results location in LAVA

There is an out-of-sync approach regarding the location of the results
folder: some scripts refer to it via $CI_PROJECT_DIR/results, while
others just assume it is located in the current working directory.

Usually $PWD points to $CI_PROJECT_DIR, but in some cases this is not
the case, hence let's ensure the 'results' folder can always be found
in the current working directory.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15208>
.gitlab-ci/common/init-stage2.sh