56 lines
1.3 KiB
Ruby
56 lines
1.3 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
Encoding.default_external = 'UTF-8'
|
|
|
|
require_relative '../lib/gitlab'
|
|
require_relative '../lib/gitlab/utils'
|
|
require_relative '../config/initializers/0_inject_enterprise_edition_module'
|
|
|
|
require_relative 'lib/gitlab'
|
|
|
|
require 'bundler/setup'
|
|
Bundler.require(:default)
|
|
|
|
module QA
|
|
root = "#{__dir__}/qa"
|
|
|
|
loader = Zeitwerk::Loader.new
|
|
loader.push_dir(root, namespace: QA)
|
|
|
|
loader.ignore("#{root}/specs/features")
|
|
|
|
loader.inflector.inflect(
|
|
"ce" => "CE",
|
|
"ee" => "EE",
|
|
"api" => "API",
|
|
"ssh" => "SSH",
|
|
"ssh_key" => "SSHKey",
|
|
"ssh_keys" => "SSHKeys",
|
|
"ecdsa" => "ECDSA",
|
|
"ed25519" => "ED25519",
|
|
"rsa" => "RSA",
|
|
"ldap" => "LDAP",
|
|
"ldap_tls" => "LDAPTLS",
|
|
"ldap_no_tls" => "LDAPNoTLS",
|
|
"ldap_no_server" => "LDAPNoServer",
|
|
"rspec" => "RSpec",
|
|
"web_ide" => "WebIDE",
|
|
"ci_cd" => "CiCd",
|
|
"repo_by_url" => "RepoByURL",
|
|
"oauth" => "OAuth",
|
|
"saml_sso_sign_in" => "SamlSSOSignIn",
|
|
"saml_sso_sign_up" => "SamlSSOSignUp",
|
|
"group_saml" => "GroupSAML",
|
|
"instance_saml" => "InstanceSAML",
|
|
"saml_sso" => "SamlSSO",
|
|
"ldap_sync" => "LDAPSync",
|
|
"ip_address" => "IPAddress",
|
|
"gpg" => "GPG",
|
|
"user_gpg" => "UserGPG",
|
|
"smtp" => "SMTP",
|
|
"otp" => "OTP",
|
|
"jira_api" => "JiraAPI"
|
|
)
|
|
|
|
loader.setup
|
|
end
|