ci: use CI_PROJECT_NAME for artifacts name

Since mesa is used in drm-ci, the artifacts in drm-ci jobs have
the 'mesa' prefix. This change replaces the hardcoded 'mesa'
prefix in the artifacts name with the CI_PROJECT_NAME variable.

Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33154>
This commit is contained in:
Vignesh Raman
2025-01-22 11:53:14 +05:30
committed by Marge Bot
parent 0aa9678d4d
commit ef3091736c
5 changed files with 10 additions and 10 deletions

View File

@@ -257,7 +257,7 @@ include:
.ci-deqp-artifacts:
artifacts:
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
when: always
untracked: false
paths:

View File

@@ -15,7 +15,7 @@
# We don't want to download any previous job's artifacts
dependencies: []
artifacts:
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
when: always
paths:
- _build/meson-logs/*.txt

View File

@@ -13,7 +13,7 @@
- section_end ldd_section
artifacts:
when: always
name: "mesa_${CI_JOB_NAME}"
name: "${CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- results/
rules:
@@ -143,7 +143,7 @@ yaml-toml-shell-py-test:
.piglit-traces-test:
artifacts:
when: on_failure
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
reports:
junit: results/junit.xml
paths:
@@ -177,7 +177,7 @@ yaml-toml-shell-py-test:
- ./install/fossilize-runner.sh
artifacts:
when: on_failure
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- results/
@@ -205,7 +205,7 @@ yaml-toml-shell-py-test:
BM_ROOTFS: /rootfs-${DEBIAN_ARCH}
artifacts:
when: always
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- results/
- serial*.txt
@@ -399,7 +399,7 @@ yaml-toml-shell-py-test:
artifacts:
when: always
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- results
reports:

View File

@@ -23,7 +23,7 @@
- . _install/piglit_run.ps1
artifacts:
when: on_failure
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- logs/
variables:

View File

@@ -18,7 +18,7 @@ test-spirv2dxil-windows:
- . _install/spirv2dxil_run.ps1
artifacts:
when: on_failure
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- spirv2dxil_results.txt
@@ -42,7 +42,7 @@ test-dozen-deqp:
- . _install/deqp_runner_run.ps1
artifacts:
when: on_failure
name: "mesa_${CI_JOB_NAME}"
name: "{CI_PROJECT_NAME}_${CI_JOB_NAME}"
paths:
- results/
reports: