gitlab-qa 8.10.0 → 8.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f953400de439363c7574e32bc75e4dfe90a51223708bb57c38c268e591b57bc8
4
- data.tar.gz: fa43874f0bfd3e8524ab496bf44ea21b67dd42a8cecc532a6d020050603c3a2a
3
+ metadata.gz: 81e48c81786f8f96655e3c8096e804cf08b1ca602133fb10b3238d581df26957
4
+ data.tar.gz: faf446327a9eba30bb029771ca8658097da2b3852a4389fe1d3309cf370c037f
5
5
  SHA512:
6
- metadata.gz: fc7a630d56deab744601fe176c17c52fdec1073701b990118eb7a11068e44faa65f068de470b1c340b8bca9fd4fc2d61fa82f980be84f8fd4c6c405799bfefe7
7
- data.tar.gz: c5638a094566d7b27cf24a0d6ec4a7eebfcee7c8e26df7c5ea32d86a3944b3d6b59ec9f4ce768c20206bb743b8a6bd477521e6d4832f97fa005cd193fb23b43b
6
+ metadata.gz: ee989bb53b1fae1ff3ab34780f20b8cb609cb23aee4d74ec04d2b7f31aeae78d136157044009e79fa53084f9edb168c69150596fedab77670385b5e56803138c
7
+ data.tar.gz: 1d3355039191667d8415097781afc5f49294e4c0fe9c10407c92537085ee088e642cf167518e2a4688faeb4410f20c7e2cc9e70d7d6bd0c05539fbd0667f43c1
@@ -4,7 +4,7 @@ stages:
4
4
  - notify
5
5
 
6
6
  default:
7
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-qa-ruby-2.7
7
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-${RUBY_VERSION}:bundler-2.3-docker-${DOCKER_VERSION}
8
8
  tags:
9
9
  - gitlab-org
10
10
  cache:
@@ -12,6 +12,7 @@ default:
12
12
  files:
13
13
  - Gemfile.lock
14
14
  - gitlab-qa.gemspec
15
+ prefix: $RUBY_VERSION
15
16
  paths:
16
17
  - vendor/ruby
17
18
  before_script:
@@ -79,6 +80,8 @@ variables:
79
80
  QA_TESTCASE_SESSIONS_PROJECT: "gitlab-org/quality/testcase-sessions"
80
81
  # QA_DEFAULT_BRANCH is the default branch name of the instance under test.
81
82
  QA_DEFAULT_BRANCH: "master"
83
+ RUBY_VERSION: "2.7"
84
+ DOCKER_VERSION: "20.10.14"
82
85
 
83
86
  .ce-variables:
84
87
  variables:
@@ -32,4 +32,4 @@ with the latest commit from https://gitlab.com/gitlab-org/gitlab-qa/commits/mast
32
32
  - Checklist after merging:
33
33
  - [ ] [Update the release notes for the newly created tag](docs/release_process.md#how-to).
34
34
 
35
- /label ~Quality ~"type::maintenance"
35
+ /label ~Quality ~"type::maintenance" ~"maintenance::dependency"
data/.gitlab-ci.yml CHANGED
@@ -5,7 +5,7 @@ stages:
5
5
  - deploy
6
6
 
7
7
  default:
8
- image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-qa-ruby-2.7
8
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bullseye-ruby-${RUBY_VERSION}:bundler-2.3
9
9
  tags:
10
10
  - gitlab-org
11
11
  cache:
@@ -13,6 +13,7 @@ default:
13
13
  files:
14
14
  - Gemfile.lock
15
15
  - gitlab-qa.gemspec
16
+ prefix: $RUBY_VERSION
16
17
  paths:
17
18
  - vendor/ruby
18
19
  before_script:
@@ -40,16 +41,24 @@ workflow:
40
41
  # When using Run pipeline button in the GitLab UI, from the project’s CI/CD > Pipelines section, create a pipeline.
41
42
  - if: '$CI_PIPELINE_SOURCE == "web"'
42
43
 
44
+ variables:
45
+ RUBY_VERSION: "2.7"
46
+
43
47
  .check-base:
44
48
  stage: check
45
- script:
46
- - bundle exec $CI_JOB_NAME --color
49
+ parallel:
50
+ matrix:
51
+ - RUBY_VERSION: ["2.7", "3.0"]
47
52
 
48
53
  rubocop:
49
54
  extends: .check-base
55
+ script:
56
+ - bundle exec rubocop --color
50
57
 
51
58
  rspec:
52
59
  extends: .check-base
60
+ script:
61
+ - bundle exec rspec --force-color
53
62
 
54
63
  prepare:
55
64
  stage: generate
data/.rubocop.yml CHANGED
@@ -39,3 +39,7 @@ Layout/SpaceBeforeFirstArg:
39
39
 
40
40
  RSpec/MultipleMemoizedHelpers:
41
41
  Enabled: false
42
+
43
+ CodeReuse/ActiveRecord:
44
+ Exclude:
45
+ - 'spec/**/*_spec.rb'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-qa (8.10.0)
4
+ gitlab-qa (8.10.1)
5
5
  activesupport (~> 6.1)
6
6
  gitlab (~> 4.18.0)
7
7
  http (~> 5.0)
@@ -32,7 +32,7 @@ module Gitlab
32
32
 
33
33
  logger.info("Shell command: `#{mask_secrets(command).cyan}`")
34
34
 
35
- Open3.popen2e(@command.to_s) do |stdin, out, wait|
35
+ Open3.popen2e(command.to_s) do |stdin, out, wait|
36
36
  if @stdin_data
37
37
  stdin.puts(@stdin_data)
38
38
  stdin.close
@@ -90,7 +90,7 @@ module Gitlab
90
90
  # @param [String] input the string to mask
91
91
  # @return [String] The masked string
92
92
  def mask_secrets(input)
93
- @mask_secrets.each_with_object(+input) { |secret, s| s.gsub!(secret, '*****') }.to_s
93
+ @mask_secrets.reduce(input) { |s, secret| s.gsub(secret, '*****') }.to_s
94
94
  end
95
95
  end
96
96
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module QA
5
- VERSION = '8.10.0'
5
+ VERSION = '8.10.1'
6
6
  end
7
7
  end
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: 8.10.0
4
+ version: 8.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control