Skip to content

Fix pipeline 1190927 through stub import_sources before test

Baodong请求将fix-pipeline-1190927合并到main-jh

What does this MR do and why?

Failed pipeline: https://jihulab.com/gitlab-cn/gitlab/-/pipelines/1190927/failures

Failed job: https://jihulab.com/gitlab-cn/gitlab/-/jobs/7593504

Changes from: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/118970/diffs

Log
12 examples, 12 failures
Failed examples:
rspec ./jh/spec/features/projects/new_project_spec.rb:35 # New project as a user shows terms when import project from url
rspec ./jh/spec/features/projects/new_project_spec.rb:77 # New project as a user when creating CI/CD for external repositories creates CI/CD project from repo URL
rspec ./jh/spec/features/registrations/combined_registration_spec.rb:24 # Registration group and project creation flow A user can create a group and project
rspec ./jh/spec/features/registrations/saas/standard_flow_company_creating_project_spec.rb:42 # Standard flow for user picking company and creating a project when not opting into a trial registers the user and creates a group and project reaching onboarding
rspec ./jh/spec/features/registrations/saas/standard_flow_company_creating_project_spec.rb:7 # Standard flow for user picking company and creating a project when opting into a trial registers the user and creates a group and project reaching onboarding
rspec ./jh/spec/features/registrations/saas/standard_flow_just_me_creating_project_spec.rb:6 # Standard flow for user picking just me and creating a project registers the user and creates a group and project reaching onboarding
rspec ./jh/spec/features/registrations/saas/trial_flow_company_creating_project_spec.rb:6 # Trial flow for user picking company and creating a project registers the user and creates a group and project reaching onboarding
rspec ./jh/spec/features/registrations/saas/trial_flow_just_me_creating_project_spec.rb:7 # Trial flow for user picking just me and creating a project registers the user and creates a group and project reaching onboarding
rspec ./jh/spec/features/registrations/sign_up_with_trial_from_external_site_without_confirmation_spec.rb:23 # Sign up with trial from external site without confirmation passes glm parameters until user is onboarded
rspec ./jh/spec/features/registrations/start_trial_from_external_site_without_confirmation_spec.rb:23 # Start trial from external site without confirmation passes glm parameters until user is onboarded
rspec ./jh/spec/features/users/login_spec.rb:128 # Login user login when it is not JH COM when the locale is en shows default error message
rspec ./jh/spec/features/users/signup_spec.rb:184 # Users::Signup Signup when terms are enforced renders text that the user confirms terms by signing in

Disable importers by default in new self-manages instances

Stub import_sources before test in JH.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

合并请求报告

加载中