debian-mirror-gitlab/qa/qa.rb

61 lines
1.5 KiB
Ruby
Raw Normal View History

2018-11-20 20:47:30 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
Encoding.default_external = 'UTF-8'
2022-03-02 08:16:31 +05:30
require_relative '../lib/gitlab_edition'
2019-12-21 20:55:43 +05:30
require_relative '../lib/gitlab/utils'
2019-10-12 21:52:04 +05:30
require_relative '../config/initializers/0_inject_enterprise_edition_module'
2021-10-27 15:23:28 +05:30
require_relative 'lib/gitlab'
2021-11-11 11:23:49 +05:30
require_relative '../config/bundler_setup'
Bundler.require(:default)
2021-06-08 01:23:25 +05:30
2017-08-17 22:00:37 +05:30
module QA
2021-11-11 11:23:49 +05:30
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",
"project_imported_from_url" => "ProjectImportedFromURL",
"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-12-11 22:18:48 +05:30
"jira_api" => "JiraAPI",
2022-04-04 11:22:00 +05:30
"registry_tls" => "RegistryTLS",
"jetbrains" => "JetBrains",
"vscode" => "VSCode"
2021-11-11 11:23:49 +05:30
)
loader.setup
2017-08-17 22:00:37 +05:30
end