diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99fb384be2e..86beea688b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/.gitlab-ci/common/generate-env.sh b/.gitlab-ci/common/generate-env.sh index ea4d95e4d09..63a96efe1fe 100755 --- a/.gitlab-ci/common/generate-env.sh +++ b/.gitlab-ci/common/generate-env.sh @@ -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 diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index 578523eb7db..9d14155af40 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -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 diff --git a/.gitlab-ci/piglit/piglit-runner.sh b/.gitlab-ci/piglit/piglit-runner.sh index 4ce096af8ec..c8aef9f198d 100755 --- a/.gitlab-ci/piglit/piglit-runner.sh +++ b/.gitlab-ci/piglit/piglit-runner.sh @@ -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