2018-09-03 12:04:40 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-07-11 13:00:36 -04:00
|
|
|
Encoding.default_external = 'UTF-8'
|
|
|
|
|
2019-08-01 08:41:37 -04:00
|
|
|
require_relative '../lib/gitlab'
|
2019-10-10 14:06:00 -04:00
|
|
|
require_relative '../lib/gitlab/utils'
|
2019-08-01 08:41:37 -04:00
|
|
|
require_relative '../config/initializers/0_inject_enterprise_edition_module'
|
|
|
|
|
2021-08-09 05:22:41 -04:00
|
|
|
require_relative 'lib/gitlab'
|
|
|
|
|
2021-09-03 08:09:03 -04:00
|
|
|
require_relative '../config/bundler_setup'
|
2021-08-25 11:11:14 -04:00
|
|
|
Bundler.require(:default)
|
2021-05-18 11:10:46 -04:00
|
|
|
|
2017-02-20 06:45:04 -05:00
|
|
|
module QA
|
2021-08-25 11:11:14 -04:00
|
|
|
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",
|
2021-09-07 11:11:06 -04:00
|
|
|
"project_imported_from_url" => "ProjectImportedFromURL",
|
2021-08-25 11:11:14 -04:00
|
|
|
"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",
|
2021-11-03 20:12:36 -04:00
|
|
|
"jira_api" => "JiraAPI",
|
|
|
|
"registry_tls" => "RegistryTLS"
|
2021-08-25 11:11:14 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
loader.setup
|
2017-02-20 06:45:04 -05:00
|
|
|
end
|