Mesa (staging/21.2): ci: Drop "success" job

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 5 16:27:37 UTC 2021


Module: Mesa
Branch: staging/21.2
Commit: 3cb4a9ec0cc826f463f76d98be6eeea6f1f914b8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3cb4a9ec0cc826f463f76d98be6eeea6f1f914b8

Author: Michel Dänzer <mdaenzer at redhat.com>
Date:   Wed Aug  4 17:41:46 2021 +0200

ci: Drop "success" job

It was added to make sure every pipeline for a merge request has at
least one job which passes (otherwise it's not possible to merge the
MR). Now the "sanity" job always exists in such pipelines, so this
isn't needed anymore.

Fixes: 4c41d1900e58 "ci: Add jobs running ci-fairy checks"
Reviewed-by: Daniel Stone <daniels at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12198>
(cherry picked from commit 6ccf11ac2b951963407601b5b1109b45a972e48e)

---

 .gitlab-ci.yml    | 20 --------------------
 .pick_status.json |  2 +-
 2 files changed, 1 insertion(+), 21 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c07f5cf214..5b9087e4063 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,7 +54,6 @@ stages:
   - software-renderer
   - layered-backends
   - deploy
-  - success
 
 # Generic rule to not run the job during scheduled pipelines
 # ----------------------------------------------------------
@@ -177,25 +176,6 @@ test-docs-mr:
     when:
       - runner_system_failure
 
-success:
-  stage: success
-  image: debian:stable-slim
-  rules:
-    - *ignore_scheduled_pipelines
-    - if: *is-post-merge
-      when: never
-    - if: *is-for-marge
-      changes: *docs-or-ci
-      when: never
-    - changes: *all_paths
-      when: never
-    - if: *is-pre-merge
-      when: on_success
-  variables:
-    GIT_STRATEGY: none
-  script:
-    - echo "Dummy job to make sure every merge request pipeline runs at least one job"
-
 
 .ci-deqp-artifacts:
   artifacts:
diff --git a/.pick_status.json b/.pick_status.json
index 0083a0772d3..b4aaa1f859e 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -4,7 +4,7 @@
         "description": "ci: Drop \"success\" job",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "4c41d1900e58cb09501cbf113568645e70634aff"
     },



More information about the mesa-commit mailing list