ci/zink: Fix zink-tu-a618-traces perf job rules

The pipeline should create this job only when it is under performance
enabled workflow, represented by the presence of
MESA_CI_PERFORMANCE_ENABLED variable.

For example:
The following pipeline
https://gitlab.freedesktop.org/gallo/mesa/-/pipelines/840525 has
`zink-tu-a618-traces-performance` job, even if it was not triggered by
marge-bot, which means that performance jobs should be disabled.

This job should appear in pipelines with performance jobs enabled
https://gitlab.freedesktop.org/gallo/mesa/-/pipelines/840529

Fixes: 93e3d37b47
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22155>
This commit is contained in:
Guilherme Gallo 2023-03-27 16:17:51 -03:00 committed by Marge Bot
parent 43dc19f44d
commit a5de0174af
2 changed files with 5 additions and 1 deletions

View file

@ -83,7 +83,8 @@
allow_failure: true
.piglit-performance-base:
allow_failure: true
extends:
- .performance-rules
variables:
LAVA_JOB_PRIORITY: 40
PIGLIT_REPLAY_SUBCOMMAND: "profile"

View file

@ -130,6 +130,9 @@ zink-tu-a618-traces-performance:
- zink-tu-a618-traces
- .zink-turnip-manual-rules
- .piglit-performance:arm64
rules:
- !reference [.piglit-performance:arm64, rules]
- !reference [.zink-turnip-manual-rules, rules]
variables:
# Always use the same device
# a618 tag starts with cbg-1 (not cbg-0) for some reason