mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
ci: Use merge-skips files during merge pipelines
These skip files contain tests that exceed one minute in execution time, which are better suited for nightly jobs. This change aims to optimize execution time and prevent delays in merge pipelines under time constraints. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31699>
This commit is contained in:
parent
9930e46fca
commit
1dc64d0613
4 changed files with 11 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ workflow:
|
|||
VALVE_INFRA_VANGOGH_JOB_PRIORITY: "" # Empty tags are ignored by gitlab
|
||||
# fast-fail in merge pipelines: stop early if we get this many unexpected fails/crashes
|
||||
DEQP_RUNNER_MAX_FAILS: 40
|
||||
# Flag to advertise the CI scripts if we are in a merge pipeline
|
||||
IS_MERGE_PIPELINE: 1
|
||||
# post-merge pipeline
|
||||
- if: &is-post-merge $GITLAB_USER_LOGIN == "marge-bot" && $CI_PIPELINE_SOURCE == "push"
|
||||
# nightly pipeline
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ VARS=(
|
|||
HWCI_TEST_ARGS
|
||||
HWCI_TEST_SCRIPT
|
||||
IR3_SHADER_DEBUG
|
||||
IS_MERGE_PIPELINE
|
||||
JOB_ARTIFACTS_BASE
|
||||
JOB_RESULTS_PATH
|
||||
JOB_ROOTFS_OVERLAY_PATH
|
||||
|
|
|
|||
|
|
@ -120,6 +120,10 @@ if [ -e "$INSTALL/$GPU_VERSION-skips.txt" ]; then
|
|||
DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$GPU_VERSION-skips.txt"
|
||||
fi
|
||||
|
||||
if [ -e "$INSTALL/$GPU_VERSION-merge-skips.txt" ] && [ -n "${IS_MERGE_PIPELINE:-}" ]; then
|
||||
DEQP_SKIPS="$DEQP_SKIPS $INSTALL/$GPU_VERSION-merge-skips.txt"
|
||||
fi
|
||||
|
||||
if [ "$PIGLIT_PLATFORM" != "gbm" ] ; then
|
||||
DEQP_SKIPS="$DEQP_SKIPS $INSTALL/x11-skips.txt"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -75,6 +75,10 @@ if [ -e "$INSTALL/$GPU_VERSION-skips.txt" ]; then
|
|||
PIGLIT_SKIPS="$PIGLIT_SKIPS $INSTALL/$GPU_VERSION-skips.txt"
|
||||
fi
|
||||
|
||||
if [ -e "$INSTALL/$GPU_VERSION-merge-skips.txt" ] && [ -n "${IS_MERGE_PIPELINE:-}" ]; then
|
||||
PIGLIT_SKIPS="$PIGLIT_SKIPS $INSTALL/$GPU_VERSION-merge-skips.txt"
|
||||
fi
|
||||
|
||||
if [ "$PIGLIT_PLATFORM" != "gbm" ] ; then
|
||||
PIGLIT_SKIPS="$PIGLIT_SKIPS $INSTALL/x11-skips.txt"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue