ci: Fix release build use for performance jobs
authorGuilherme Gallo <guilherme.gallo@collabora.com>
Wed, 8 Mar 2023 16:34:00 +0000 (13:34 -0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Mar 2023 21:40:23 +0000 (21:40 +0000)
commit256e7888fd0c3c7f6c836ad67d3a4f980e700a31
tree0b5ad85c31340d1c4bc58e27b77985ef3e8c8fa1
parent91a129b44a4aff71cd7d49af569e5695d9a03706
ci: Fix release build use for performance jobs

This commit ensures that we are using mesa release builds in performance
jobs.

To achieve that, some modifications were made on top of
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21492.

- Append the `BUILDTYPE` variable into the S3 artifact name
  (MINIO_ARTIFACT_NAME environment variable) to allow for better
  artifact management.

- The ./artifacts directory has been added to the list of artifact
  directories for build-common. This ensures that the debian-release and
  debian-arm64-release jobs are the only ones necessary for running
  performance jobs. These jobs only produce artifacts via
  prepare-artifacts.sh when we are under performance workflow.

- Make lava-submit.sh behave similar to baremetal jobs regarding
  MINIO_ARTIFACT_NAME variable. For example, users can now easily
  differentiate between mesa-arm64.tar.zstd and
  mesa-arm64-release.tar.zstd by looking inside the `Downloading
  artifacts from s3` Gitlab section.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21804>
.gitlab-ci/build/gitlab-ci.yml
.gitlab-ci/lava/lava-submit.sh
.gitlab-ci/test-source-dep.yml
src/intel/ci/gitlab-ci.yml