ci: Namespace trace artifacts to the job number
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 22 Jul 2020 15:39:15 +0000 (17:39 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jul 2020 09:04:33 +0000 (09:04 +0000)
commit429ec827d4a7d2322a5e1dd854666e6c2d697082
tree591b9c533d09830402a60a61b7856af3a7b9396e
parent772ed657a27ccf402a5cbbab32e62e85541acc03
ci: Namespace trace artifacts to the job number

Put artifacts in a per-job folder, because if a job is retried then it
will try to upload a file to the same key and fail with the following
error:

403 Client Error: Forbidden for url:
https://minio-packet.freedesktop.org/artifacts/daenzer/mesa/180609/gl-panfrost-t860/results.yml

Also, to prevent in the future similar clashes if several trace files
share the same name, upload the images with their checksums as their
names. This will also make it easier to fetch images for comparison with
the references.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6029>
.gitlab-ci/lava-gitlab-ci.yml
.gitlab-ci/tracie/tracie.py