gitlab-qa 13.1.0 → 14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +4 -5
- data/Gemfile.lock +18 -7
- data/docs/environment_setup/users.md +9 -0
- data/docs/what_tests_can_be_run.md +7 -11
- data/gitlab-qa.gemspec +1 -1
- data/lib/gitlab/qa/component/ai_gateway.rb +4 -5
- data/lib/gitlab/qa/runtime/env.rb +1 -20
- data/lib/gitlab/qa/scenario/test/integration/ai_gateway.rb +0 -4
- data/lib/gitlab/qa/test_logger.rb +8 -2
- data/lib/gitlab/qa/version.rb +1 -1
- data/support/setup/code_suggestions_setup.rb +1 -6
- metadata +10 -10
- data/lib/gitlab/qa/runtime/omnibus_configurations/facebook_oauth.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e82e5e8777aac74ac46ccdc60d9fdc8df5c4136523c92d8f5fd88ab21f25c86
|
4
|
+
data.tar.gz: 5c6e6cff8abd9abe2b8442e9d41718a6f5af17ce01b70770e075490d8d0d8ca9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f89a050668380aea6fe6032eedd280f4a51b6163c920f31d4fecd4596b3a7a077f037ef6196d7a8e86f77c1df56c80f4e80ea9857b81c74573bdad79c05a9d1e
|
7
|
+
data.tar.gz: b2ec3b5c597de4d3fcdb320e4351c3df2d6f4fb62916479f03005a9680d79250defaa331dd14deea03d657384cf05a1a16909463493fe3600d7e3df87690c0a3
|
data/.gitlab-ci.yml
CHANGED
@@ -8,10 +8,10 @@
|
|
8
8
|
- vendor/ruby
|
9
9
|
|
10
10
|
include:
|
11
|
-
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
- component: gitlab.com/gitlab-org/components/danger-review/danger-review@~latest
|
12
|
+
inputs:
|
13
|
+
job_image: "${CI_REGISTRY}/gitlab-org/gitlab-build-images/debian-bullseye-ruby-${RUBY_VERSION}:bundler-2.4"
|
14
|
+
- component: gitlab.com/gitlab-org/components/gem-release/gem-release@~latest
|
15
15
|
|
16
16
|
stages:
|
17
17
|
- check
|
@@ -97,7 +97,6 @@ cache-gems:
|
|
97
97
|
- Gemfile.lock
|
98
98
|
|
99
99
|
danger-review:
|
100
|
-
image: ${CI_REGISTRY}/gitlab-org/gitlab-build-images/debian-bullseye-ruby-${RUBY_VERSION}:bundler-2.4
|
101
100
|
stage: check
|
102
101
|
needs:
|
103
102
|
- job: cache-gems
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gitlab-qa (
|
5
|
-
activesupport (>= 6.1, < 7.
|
4
|
+
gitlab-qa (14.0.1)
|
5
|
+
activesupport (>= 6.1, < 7.2)
|
6
6
|
gitlab (~> 4.19)
|
7
7
|
http (~> 5.0)
|
8
8
|
nokogiri (~> 1.10)
|
@@ -14,16 +14,23 @@ PATH
|
|
14
14
|
GEM
|
15
15
|
remote: https://rubygems.org/
|
16
16
|
specs:
|
17
|
-
activesupport (7.
|
17
|
+
activesupport (7.1.2)
|
18
|
+
base64
|
19
|
+
bigdecimal
|
18
20
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
21
|
+
connection_pool (>= 2.2.5)
|
22
|
+
drb
|
19
23
|
i18n (>= 1.6, < 2)
|
20
24
|
minitest (>= 5.1)
|
25
|
+
mutex_m
|
21
26
|
tzinfo (~> 2.0)
|
22
27
|
addressable (2.8.1)
|
23
28
|
public_suffix (>= 2.0.2, < 6.0)
|
24
29
|
ast (2.4.2)
|
25
30
|
backport (1.2.0)
|
31
|
+
base64 (0.2.0)
|
26
32
|
benchmark (0.2.0)
|
33
|
+
bigdecimal (3.1.5)
|
27
34
|
byebug (11.1.3)
|
28
35
|
claide (1.1.0)
|
29
36
|
claide-plugins (0.9.2)
|
@@ -33,7 +40,8 @@ GEM
|
|
33
40
|
climate_control (1.0.1)
|
34
41
|
coderay (1.1.3)
|
35
42
|
colored2 (3.1.2)
|
36
|
-
concurrent-ruby (1.
|
43
|
+
concurrent-ruby (1.2.2)
|
44
|
+
connection_pool (2.4.1)
|
37
45
|
cork (0.3.0)
|
38
46
|
colored2 (~> 3.1)
|
39
47
|
crack (0.4.5)
|
@@ -58,6 +66,8 @@ GEM
|
|
58
66
|
docile (1.4.0)
|
59
67
|
domain_name (0.5.20190701)
|
60
68
|
unf (>= 0.0.5, < 1.0.0)
|
69
|
+
drb (2.2.0)
|
70
|
+
ruby2_keywords
|
61
71
|
e2mmap (0.1.0)
|
62
72
|
faraday (1.10.2)
|
63
73
|
faraday-em_http (~> 1.0)
|
@@ -115,7 +125,7 @@ GEM
|
|
115
125
|
httparty (0.20.0)
|
116
126
|
mime-types (~> 3.0)
|
117
127
|
multi_xml (>= 0.5.2)
|
118
|
-
i18n (1.
|
128
|
+
i18n (1.14.1)
|
119
129
|
concurrent-ruby (~> 1.0)
|
120
130
|
jaro_winkler (1.5.4)
|
121
131
|
json (2.6.3)
|
@@ -132,9 +142,10 @@ GEM
|
|
132
142
|
mime-types-data (~> 3.2015)
|
133
143
|
mime-types-data (3.2022.0105)
|
134
144
|
mini_portile2 (2.8.0)
|
135
|
-
minitest (5.
|
145
|
+
minitest (5.21.1)
|
136
146
|
multi_xml (0.6.0)
|
137
147
|
multipart-post (2.2.3)
|
148
|
+
mutex_m (0.2.0)
|
138
149
|
nap (1.1.0)
|
139
150
|
no_proxy_fix (0.1.2)
|
140
151
|
nokogiri (1.13.9)
|
@@ -242,7 +253,7 @@ GEM
|
|
242
253
|
thor (1.2.1)
|
243
254
|
tilt (2.0.11)
|
244
255
|
timecop (0.9.6)
|
245
|
-
tzinfo (2.0.
|
256
|
+
tzinfo (2.0.6)
|
246
257
|
concurrent-ruby (~> 1.0)
|
247
258
|
unf (0.1.4)
|
248
259
|
unf_ext
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Environment Setup | Users
|
2
|
+
|
3
|
+
Most tests ([orchestrated and instance-level](../docs/what_tests_can_be_run.md#the-two-types-of-qa-tests)) [run as the default `root` user](https://gitlab.com/gitlab-org/gitlab/-/blob/3f247bf0d6d24b479b7f169f9c14068968d9672a/qa/qa/runtime/user.rb#L16). However, some require additional users. If the test framework has administrator access to the test environment it can create users itself. If administrator access is not available you will need to create users before being able to run certain tests.
|
4
|
+
|
5
|
+
## Disable email verification
|
6
|
+
|
7
|
+
If [email verification](https://docs.gitlab.com/ee/security/email_verification.html) is enabled on the test environment (via the `require_email_verification` feature flag), a user cannot log in under certain conditions (e.g., logging in the first time from a new location) unless they enter a verification code that is sent to their email address.
|
8
|
+
|
9
|
+
To disable email verification you can disable the `require_email_verification` feature flag, which will disable email verification for all users on the instance. Alternatively, you can skip verification for individual users by enabling the `skip_require_email_verification` feature flag for that user.
|
@@ -108,7 +108,7 @@ All environment variables used by GitLab QA should be defined in [`lib/gitlab/qa
|
|
108
108
|
| `QA_1P_EMAIL` | - | Email address for authenticating into 1Password. | No |
|
109
109
|
| `QA_1P_PASSWORD` | - | Password for authenticating into 1Password. | No |
|
110
110
|
| `QA_1P_SECRET` | - | Secret for authenticating into 1Password. | No |
|
111
|
-
| `QA_1P_GITHUB_UUID` | - | UUID for
|
111
|
+
| `QA_1P_GITHUB_UUID` | - | UUID for gitlab-qa-github item in gitlab-qa-totp 1Password vault. | No |
|
112
112
|
| `RELEASE` | - | The release image to use for an orchestrated GitLab instance. | No |
|
113
113
|
| `RELEASE_REGISTRY_URL` | - | The registry url to fetch the release image for an orchestrated GitLab. | No |
|
114
114
|
| `RELEASE_REGISTRY_USERNAME` | - | The username to log in to the registry for pulling the release image for orchestrated GitLab. | No |
|
@@ -574,7 +574,7 @@ $ export EE_LICENSE=$(cat /path/to/Geo.gitlab_license)
|
|
574
574
|
$ gitlab-qa Test::Integration::InstanceSAML EE
|
575
575
|
```
|
576
576
|
|
577
|
-
### `Test::Instance::Image CE|EE|<full image address> --omnibus-config
|
577
|
+
### `Test::Instance::Image CE|EE|<full image address> --omnibus-config github_oauth`
|
578
578
|
|
579
579
|
This tests that users can sign in to a GitLab instance using external OAuth services.
|
580
580
|
|
@@ -591,10 +591,10 @@ container is spun up and tests are run from it by running the `Test::Instance::A
|
|
591
591
|
- `QA_GITHUB_OAUTH_APP_SECRET`: Client Secret for GitHub OAuth app. This can be found in the shared 1Password vault.
|
592
592
|
- `QA_GITHUB_USERNAME`: Username for authenticating with GitHub. This can be found in the shared 1Password vault.
|
593
593
|
- `QA_GITHUB_PASSWORD`: Password for authenticating with GitHub. This can be found in the shared 1Password vault.
|
594
|
-
- `QA_1P_EMAIL`: Email address for authenticating into 1Password
|
595
|
-
- `QA_1P_PASSWORD`: Password for authenticating into 1Password
|
596
|
-
- `QA_1P_SECRET`: Secret for authenticating into 1Password. This can be found in the
|
597
|
-
- `QA_1P_GITHUB_UUID`: UUID for
|
594
|
+
- `QA_1P_EMAIL`: Email address for authenticating into gitlab-qa-totp 1Password vault. This can be found in the Gitlab-QA 1Password vault.
|
595
|
+
- `QA_1P_PASSWORD`: Password for authenticating into gitlab-qa-totp 1Password vault. This can be found in the Gitlab-QA 1Password vault.
|
596
|
+
- `QA_1P_SECRET`: Secret for authenticating into gitlab-qa-totp 1Password vault. This can be found in the Gitlab-QA 1Password vault.
|
597
|
+
- `QA_1P_GITHUB_UUID`: UUID for gitlab-qa-github item in gitlab-qa-totp 1Password vault. This can be found in the Gitlab-QA 1Password vault. The gitlab-qa-totp vault can be accessed with the the creds provided in 1P under "GitLab-QA 1Password user with access to gitlab-qa-totp vault"
|
598
598
|
- `QA_GITLAB_HOSTNAME`: Hostname set for GitLab instance. This must be set to `gitlab` as the external OAuth applications have been setup to use this.
|
599
599
|
- `QA_GITLAB_USE_TLS`: Use TLS for setting up GitLab instance. This must be set to `true` as since some external OAuth applications require the client to use TLS.
|
600
600
|
|
@@ -608,7 +608,7 @@ $ export QA_GITHUB_PASSWORD=your_github_password
|
|
608
608
|
$ export QA_1P_EMAIL=1password_email
|
609
609
|
$ export QA_1P_PASSWORD=1password_password
|
610
610
|
$ export QA_1P_SECRET=1password_secret
|
611
|
-
$ export QA_1P_GITHUB_UUID=
|
611
|
+
$ export QA_1P_GITHUB_UUID=1password_gitlab-qa-github_item_uuid
|
612
612
|
|
613
613
|
$ gitlab-qa Test::Integration::OAuth CE
|
614
614
|
|
@@ -1183,10 +1183,6 @@ This scenario spins up a GitLab Omnibus instance integrated with a test AI Gatew
|
|
1183
1183
|
- `QA_EE_ACTIVATION_CODE`: An activation code for a Staging-generated Premium or Ultimate cloud license with a purchased AI add-on. This can be found in the GitLab QA 1Password vault.
|
1184
1184
|
- `GITLAB_LICENSE_MODE`: Set to `test` in order to configure GitLab Omnibus with the correct license mode and `CUSTOMER_PORTAL_URL`.
|
1185
1185
|
|
1186
|
-
**Optional environment variables:**
|
1187
|
-
|
1188
|
-
- `QA_USE_SYNC_SERVICE_TOKEN_WORKER`: When true, will enable the `use_sync_service_token_worker` feature flag during code suggestions setup to use the `SyncServiceTokenWorker` to fetch a code suggestions JWT during activation instead of the `SyncSeatLinkWorker`. See rollout issue https://gitlab.com/gitlab-org/gitlab/-/issues/431608 for details.
|
1189
|
-
|
1190
1186
|
Example:
|
1191
1187
|
|
1192
1188
|
```shell
|
data/gitlab-qa.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_development_dependency 'timecop', '~> 0.9.5'
|
37
37
|
spec.add_development_dependency 'webmock', '3.7.0'
|
38
38
|
|
39
|
-
spec.add_runtime_dependency 'activesupport', '>= 6.1', '< 7.
|
39
|
+
spec.add_runtime_dependency 'activesupport', '>= 6.1', '< 7.2'
|
40
40
|
spec.add_runtime_dependency 'gitlab', '~> 4.19'
|
41
41
|
spec.add_runtime_dependency 'http', '~> 5.0'
|
42
42
|
spec.add_runtime_dependency 'nokogiri', '~> 1.10'
|
@@ -13,11 +13,10 @@ module Gitlab
|
|
13
13
|
|
14
14
|
def configure_environment(gitlab_hostname:)
|
15
15
|
@environment = {
|
16
|
-
'
|
17
|
-
'
|
18
|
-
'
|
19
|
-
'
|
20
|
-
'USE_LOCAL_CACHE' => true
|
16
|
+
'AIGW_GITLAB_URL' => "http://#{gitlab_hostname}",
|
17
|
+
'AIGW_GITLAB_API_URL' => "http://#{gitlab_hostname}/api/v4",
|
18
|
+
'AIGW_CUSTOMER_PORTAL_URL' => Runtime::Env.customer_portal_url,
|
19
|
+
'AIGW_USE_FAKE_MODELS' => true
|
21
20
|
}
|
22
21
|
end
|
23
22
|
end
|
@@ -79,8 +79,6 @@ module Gitlab
|
|
79
79
|
'GITLAB_QA_PASSWORD_2' => :gitlab_qa_password_2,
|
80
80
|
'QA_GITHUB_USERNAME' => :qa_github_username,
|
81
81
|
'QA_GITHUB_PASSWORD' => :qa_github_password,
|
82
|
-
'QA_FACEBOOK_USERNAME' => :qa_facebook_username,
|
83
|
-
'QA_FACEBOOK_PASSWORD' => :qa_facebook_password,
|
84
82
|
'QA_GITLAB_HOSTNAME' => :qa_gitlab_hostname,
|
85
83
|
'QA_GITLAB_USE_TLS' => :qa_gitlab_use_tls,
|
86
84
|
'KNAPSACK_GENERATE_REPORT' => :knapsack_generate_report,
|
@@ -146,8 +144,6 @@ module Gitlab
|
|
146
144
|
'JH_ENV' => :jh_env,
|
147
145
|
'QA_GITHUB_OAUTH_APP_ID' => :github_oauth_app_id,
|
148
146
|
'QA_GITHUB_OAUTH_APP_SECRET' => :github_oauth_app_secret,
|
149
|
-
'QA_FACEBOOK_OAUTH_APP_ID' => :facebook_oauth_app_id,
|
150
|
-
'QA_FACEBOOK_OAUTH_APP_SECRET' => :facebook_oauth_app_secret,
|
151
147
|
'QA_1P_EMAIL' => :qa_1p_email,
|
152
148
|
'QA_1P_PASSWORD' => :qa_1p_password,
|
153
149
|
'QA_1P_SECRET' => :qa_1p_secret,
|
@@ -298,18 +294,7 @@ module Gitlab
|
|
298
294
|
|
299
295
|
def require_oauth_environment!
|
300
296
|
%w[QA_GITHUB_OAUTH_APP_ID QA_GITHUB_OAUTH_APP_SECRET QA_GITHUB_USERNAME
|
301
|
-
QA_GITHUB_PASSWORD QA_1P_EMAIL QA_1P_PASSWORD QA_1P_SECRET QA_1P_GITHUB_UUID
|
302
|
-
QA_FACEBOOK_PASSWORD QA_FACEBOOK_OAUTH_APP_SECRET QA_FACEBOOK_OAUTH_APP_ID].each do |env_key|
|
303
|
-
unless ENV.key?(env_key)
|
304
|
-
raise ArgumentError,
|
305
|
-
"Environment variable #{env_key} must be set to run OAuth specs"
|
306
|
-
end
|
307
|
-
end
|
308
|
-
end
|
309
|
-
|
310
|
-
def require_facebook_environment!
|
311
|
-
%w[QA_FACEBOOK_USERNAME QA_FACEBOOK_PASSWORD QA_FACEBOOK_OAUTH_APP_SECRET
|
312
|
-
QA_FACEBOOK_OAUTH_APP_ID].each do |env_key|
|
297
|
+
QA_GITHUB_PASSWORD QA_1P_EMAIL QA_1P_PASSWORD QA_1P_SECRET QA_1P_GITHUB_UUID].each do |env_key|
|
313
298
|
unless ENV.key?(env_key)
|
314
299
|
raise ArgumentError,
|
315
300
|
"Environment variable #{env_key} must be set to run OAuth specs"
|
@@ -432,10 +417,6 @@ module Gitlab
|
|
432
417
|
env_var_value_if_defined('QA_EE_ACTIVATION_CODE')
|
433
418
|
end
|
434
419
|
|
435
|
-
def use_sync_service_token_worker?
|
436
|
-
enabled?(env_var_value_if_defined('QA_USE_SYNC_SERVICE_TOKEN_WORKER'), default: false)
|
437
|
-
end
|
438
|
-
|
439
420
|
def geo_staging_url
|
440
421
|
env_var_value_if_defined('GEO_STAGING_URL') || 'https://geo.staging.gitlab.com'
|
441
422
|
end
|
@@ -42,10 +42,6 @@ module Gitlab
|
|
42
42
|
|
43
43
|
gitlab.omnibus_gitlab_rails_env['CODE_SUGGESTIONS_BASE_URL'] = "http://#{@ai_gateway_hostname}:#{@ai_gateway_port}"
|
44
44
|
|
45
|
-
# Determines whether to use the SyncServiceTokenWorker or SyncSeatLinkWorker
|
46
|
-
# for generating a code suggestions access token during license activation
|
47
|
-
gitlab.omnibus_gitlab_rails_env['QA_USE_SYNC_SERVICE_TOKEN_WORKER'] = Runtime::Env.use_sync_service_token_worker?
|
48
|
-
|
49
45
|
gitlab.set_ee_activation_code
|
50
46
|
end
|
51
47
|
|
@@ -24,12 +24,18 @@ module Gitlab
|
|
24
24
|
#
|
25
25
|
# @param [<Symbol, String>] level
|
26
26
|
# @param [String] source
|
27
|
-
# @return [ActiveSupport::Logger]
|
27
|
+
# @return [ActiveSupport::Logger, ActiveSupport::BroadcastLogger]
|
28
28
|
def logger(level: :info, source: 'Gitlab QA', path: 'tmp')
|
29
29
|
console_log = console_logger(level: level, source: source)
|
30
30
|
file_log = file_logger(source: source, path: path)
|
31
31
|
|
32
|
-
|
32
|
+
if ActiveSupport.const_defined?(:BroadcastLogger)
|
33
|
+
ActiveSupport::BroadcastLogger.new(console_log, file_log)
|
34
|
+
elsif ActiveSupport::Logger.respond_to?(:broadcast)
|
35
|
+
console_log.extend(ActiveSupport::Logger.broadcast(file_log))
|
36
|
+
else
|
37
|
+
raise 'Could not configure logger broadcasting'
|
38
|
+
end
|
33
39
|
end
|
34
40
|
|
35
41
|
private
|
data/lib/gitlab/qa/version.rb
CHANGED
@@ -3,11 +3,6 @@
|
|
3
3
|
class CodeSuggestionsSetup
|
4
4
|
class << self
|
5
5
|
def configure!
|
6
|
-
if ENV.fetch('QA_USE_SYNC_SERVICE_TOKEN_WORKER', false)
|
7
|
-
puts 'Enabling use_sync_service_token_worker feature flag...'
|
8
|
-
Feature.enable(:use_sync_service_token_worker)
|
9
|
-
end
|
10
|
-
|
11
6
|
puts 'Enabling code_suggestions_tokens_api feature flag...'
|
12
7
|
Feature.enable(:code_suggestions_tokens_api)
|
13
8
|
|
@@ -42,7 +37,7 @@ class CodeSuggestionsSetup
|
|
42
37
|
max_attempts = 3
|
43
38
|
attempts = 0
|
44
39
|
|
45
|
-
until (tokens = ::
|
40
|
+
until (tokens = ::CloudConnector::ServiceAccessToken.active.count)&.positive? || attempts == max_attempts
|
46
41
|
puts 'Attempting to verify access token exists...'
|
47
42
|
attempts += 1
|
48
43
|
sleep 30
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-qa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 14.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab Quality
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -201,7 +201,7 @@ dependencies:
|
|
201
201
|
version: '6.1'
|
202
202
|
- - "<"
|
203
203
|
- !ruby/object:Gem::Version
|
204
|
-
version: '7.
|
204
|
+
version: '7.2'
|
205
205
|
type: :runtime
|
206
206
|
prerelease: false
|
207
207
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -211,7 +211,7 @@ dependencies:
|
|
211
211
|
version: '6.1'
|
212
212
|
- - "<"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: '7.
|
214
|
+
version: '7.2'
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: gitlab
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -328,7 +328,7 @@ dependencies:
|
|
328
328
|
- - "<"
|
329
329
|
- !ruby/object:Gem::Version
|
330
330
|
version: '3'
|
331
|
-
description:
|
331
|
+
description:
|
332
332
|
email:
|
333
333
|
- gitlab-qa@gmail.com
|
334
334
|
executables:
|
@@ -365,6 +365,7 @@ files:
|
|
365
365
|
- docs/developer/http_mocking.md
|
366
366
|
- docs/developer/ssl.md
|
367
367
|
- docs/developer/style_guide.md
|
368
|
+
- docs/environment_setup/users.md
|
368
369
|
- docs/how_it_works.md
|
369
370
|
- docs/omnibus_configurations/license_mode.md
|
370
371
|
- docs/release_process.md
|
@@ -420,7 +421,6 @@ files:
|
|
420
421
|
- lib/gitlab/qa/runtime/omnibus_configurations/decomposition_multiple_db.rb
|
421
422
|
- lib/gitlab/qa/runtime/omnibus_configurations/decomposition_single_db.rb
|
422
423
|
- lib/gitlab/qa/runtime/omnibus_configurations/default.rb
|
423
|
-
- lib/gitlab/qa/runtime/omnibus_configurations/facebook_oauth.rb
|
424
424
|
- lib/gitlab/qa/runtime/omnibus_configurations/github_oauth.rb
|
425
425
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage.rb
|
426
426
|
- lib/gitlab/qa/runtime/omnibus_configurations/object_storage_aws.rb
|
@@ -516,7 +516,7 @@ homepage: http://about.gitlab.com/
|
|
516
516
|
licenses:
|
517
517
|
- MIT
|
518
518
|
metadata: {}
|
519
|
-
post_install_message:
|
519
|
+
post_install_message:
|
520
520
|
rdoc_options: []
|
521
521
|
require_paths:
|
522
522
|
- lib
|
@@ -531,8 +531,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
531
531
|
- !ruby/object:Gem::Version
|
532
532
|
version: '0'
|
533
533
|
requirements: []
|
534
|
-
rubygems_version: 3.
|
535
|
-
signing_key:
|
534
|
+
rubygems_version: 3.3.26
|
535
|
+
signing_key:
|
536
536
|
specification_version: 4
|
537
537
|
summary: Integration tests for GitLab
|
538
538
|
test_files: []
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Gitlab
|
4
|
-
module QA
|
5
|
-
module Runtime
|
6
|
-
module OmnibusConfigurations
|
7
|
-
class FacebookOauth < Default
|
8
|
-
def configuration
|
9
|
-
Runtime::Env.require_facebook_environment!
|
10
|
-
|
11
|
-
<<~OMNIBUS
|
12
|
-
gitlab_rails['omniauth_enabled'] = true
|
13
|
-
gitlab_rails['omniauth_allow_single_sign_on'] = ['facebook']
|
14
|
-
gitlab_rails['omniauth_block_auto_created_users'] = false
|
15
|
-
gitlab_rails['omniauth_providers'] = [
|
16
|
-
{
|
17
|
-
name: 'facebook',
|
18
|
-
app_id: '$QA_FACEBOOK_OAUTH_APP_ID',
|
19
|
-
app_secret: '$QA_FACEBOOK_OAUTH_APP_SECRET',
|
20
|
-
verify_ssl: false
|
21
|
-
}
|
22
|
-
];
|
23
|
-
letsencrypt['enable'] = false
|
24
|
-
external_url '<%= gitlab.address %>'
|
25
|
-
OMNIBUS
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|