gitlab-qa 13.1.0 → 13.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16a2d1d19d2421861d4698ef692926f2fa15cc9f4081e39d1ca7e4da46a8ba7c
4
- data.tar.gz: 0c65e2931b680e7737df751f702943e40851ac207afcb3be7a01765ec2b47291
3
+ metadata.gz: ec2a37c6f98ab78ae2f344370d529f82b569ead6d88845e50226356617a9ebee
4
+ data.tar.gz: 8c8e21d9b39bd995e9e3e0d9c631f1c11ce711d107209bcea4f88038c679830b
5
5
  SHA512:
6
- metadata.gz: 81c553e7373d1fc790429dd8e4e9c1538e7c2a6afc382b7b79170c0edb6b8b83c4f533a60746defc313c846ab92fb4505f84899f3eede1f21bcdcdc586e7b90c
7
- data.tar.gz: 492ad5e00e24b345ab1ac724dcf059c9520d992df141a03b413b674262720138a724ed44d633b9d9a926f40471aa44744994b8dcf38eee8753d03728ad3c715e
6
+ metadata.gz: feff60020a43876bfee3ec151d2baa2026275d9c931cbd49c0a74b0c6af53ebacd54e3e8a77324a30eafbec72d7e3eb39f5d0e259b42d7e9279837cf85bf02ad
7
+ data.tar.gz: c2f96db542d246fddcf610414644f4c05768f14e901fade00e0f754253504de7fc38394e0a51f86f24ffea00635090d54e16c523dca7a589cb7de69b6d337216
data/.gitlab-ci.yml CHANGED
@@ -8,10 +8,10 @@
8
8
  - vendor/ruby
9
9
 
10
10
  include:
11
- - project: 'gitlab-org/quality/pipeline-common'
12
- file:
13
- - '/ci/gem-release.yml'
14
- - '/ci/danger-review.yml'
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 (13.1.0)
5
- activesupport (>= 6.1, < 7.1)
4
+ gitlab-qa (13.2.0)
5
+ activesupport (>= 6.1, < 7.2)
6
6
  gitlab (~> 4.19)
7
7
  http (~> 5.0)
8
8
  nokogiri (~> 1.10)
@@ -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.
@@ -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.1'
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
- 'GITLAB_URL' => "http://#{gitlab_hostname}",
17
- 'GITLAB_API_URL' => "http://#{gitlab_hostname}/api/v4",
18
- 'CUSTOMER_PORTAL_BASE_URL' => Runtime::Env.customer_portal_url,
19
- 'USE_FAKE_MODELS' => true,
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
@@ -432,10 +432,6 @@ module Gitlab
432
432
  env_var_value_if_defined('QA_EE_ACTIVATION_CODE')
433
433
  end
434
434
 
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
435
  def geo_staging_url
440
436
  env_var_value_if_defined('GEO_STAGING_URL') || 'https://geo.staging.gitlab.com'
441
437
  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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module QA
5
- VERSION = '13.1.0'
5
+ VERSION = '13.2.0'
6
6
  end
7
7
  end
@@ -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
 
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: 13.1.0
4
+ version: 13.2.0
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: 2023-12-14 00:00:00.000000000 Z
11
+ date: 2024-01-15 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.1'
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.1'
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
@@ -516,7 +517,7 @@ homepage: http://about.gitlab.com/
516
517
  licenses:
517
518
  - MIT
518
519
  metadata: {}
519
- post_install_message:
520
+ post_install_message:
520
521
  rdoc_options: []
521
522
  require_paths:
522
523
  - lib
@@ -531,8 +532,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
531
532
  - !ruby/object:Gem::Version
532
533
  version: '0'
533
534
  requirements: []
534
- rubygems_version: 3.1.6
535
- signing_key:
535
+ rubygems_version: 3.3.26
536
+ signing_key:
536
537
  specification_version: 4
537
538
  summary: Integration tests for GitLab
538
539
  test_files: []