gitlab-ci: Always name artifacts archive after the job producing it

This will help determine which artifacts generate how much traffic.

v2:
* Add "mesa_" prefix to make it obvious which project the artifacts are
  from.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4085>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4085>
This commit is contained in:
Michel Dänzer 2020-03-06 12:35:17 +01:00 committed by Michel Dänzer
parent 20c09c9c06
commit 0103f02acb
2 changed files with 5 additions and 2 deletions

View File

@ -77,6 +77,7 @@ success:
.ci-deqp-artifacts:
artifacts:
name: "mesa_${CI_JOB_NAME}"
when: always
untracked: false
paths:
@ -189,6 +190,7 @@ arm_test:
.build-common:
extends: .ci-run-policy
artifacts:
name: "mesa_${CI_JOB_NAME}"
when: always
paths:
- _build/meson-logs/*.txt
@ -538,7 +540,7 @@ scons-old-llvm:
- LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
artifacts:
when: always
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
name: "mesa_${CI_JOB_NAME}"
paths:
- results/
dependencies:
@ -569,7 +571,7 @@ scons-old-llvm:
stage: llvmpipe
artifacts:
when: on_failure
name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
name: "mesa_${CI_JOB_NAME}"
paths:
- summary/
variables:

View File

@ -33,6 +33,7 @@
- echo $result
- '[[ "$result" == "pass" ]]'
artifacts:
name: "mesa_${CI_JOB_NAME}"
when: always
paths:
- artifacts/