Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-07-22 09:17:25 +00:00
parent f7c4d06565
commit 6cfdcea4f4
148 changed files with 2360 additions and 1665 deletions

View File

@ -17,18 +17,15 @@ end
require 'net/http'
class SetPipelineName
DOCS = ['docs-lint markdown', 'docs-lint links'].freeze
RSPEC_PREDICTIVE = ['rspec:predictive:trigger', 'rspec-ee:predictive:trigger'].freeze
CODE = ['retrieve-tests-metadata'].freeze
QA_GDK = ['e2e:test-on-gdk'].freeze
REVIEW_APP = ['start-review-app-pipeline'].freeze
QA = [
'e2e:test-on-omnibus-ce',
'e2e:test-on-omnibus-ee',
'follow-up:e2e:test-on-omnibus-ee'
].freeze
DOCS = ['docs-lint markdown', 'docs-lint links'].freeze
RSPEC_PREDICTIVE = ['rspec:predictive:trigger', 'rspec-ee:predictive:trigger'].freeze
CODE = ['retrieve-tests-metadata'].freeze
E2E_GDK = ['e2e:test-on-gdk'].freeze
E2E_CNG = ['e2e:test-on-cng'].freeze
E2E_OMNIBUS = ['e2e:test-on-omnibus-ee', 'e2e:test-on-omnibus-ce'].freeze
REVIEW_APP = ['start-review-app-pipeline'].freeze
# Ordered by expected duration, DESC
PIPELINE_TYPES_ORDERED = %w[qa review-app qa-gdk code rspec-predictive docs].freeze
PIPELINE_TYPES_ORDERED = %w[e2e-omnibus review-app e2e-gdk e2e-cng code rspec-predictive docs].freeze
# We need an access token that isn't CI_JOB_TOKEN because we are querying
# the pipelines API to fetch jobs and bridge jobs.
@ -140,9 +137,11 @@ class SetPipelineName
def pipeline_types_for(job)
types = Set.new
types << 'rspec-predictive' if RSPEC_PREDICTIVE.include?(job.name)
types << 'qa-gdk' if QA_GDK.include?(job.name)
types << 'e2e-gdk' if E2E_GDK.include?(job.name)
types << 'e2e-cng' if E2E_CNG.include?(job.name)
# omnibus e2e tests are manual in mr pipelines and are only executed on demand
types << 'e2e-omnibus' if E2E_OMNIBUS.include?(job.name) && job.status != 'manual'
types << 'review-app' if REVIEW_APP.include?(job.name)
types << 'qa' if QA.include?(job.name)
types << 'docs' if DOCS.include?(job.name)
types << 'code' if CODE.include?(job.name)
types