gitlab-qa 8.10.0 → 8.10.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/jobs/base.gitlab-ci.yml +4 -1
- data/.gitlab/merge_request_templates/Release.md +1 -1
- data/.gitlab-ci.yml +12 -3
- data/.rubocop.yml +4 -0
- data/Gemfile.lock +1 -1
- data/lib/gitlab/qa/support/shell_command.rb +2 -2
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81e48c81786f8f96655e3c8096e804cf08b1ca602133fb10b3238d581df26957
|
4
|
+
data.tar.gz: faf446327a9eba30bb029771ca8658097da2b3852a4389fe1d3309cf370c037f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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
|
-
|
46
|
-
|
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
data/Gemfile.lock
CHANGED
@@ -32,7 +32,7 @@ module Gitlab
|
|
32
32
|
|
33
33
|
logger.info("Shell command: `#{mask_secrets(command).cyan}`")
|
34
34
|
|
35
|
-
Open3.popen2e(
|
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.
|
93
|
+
@mask_secrets.reduce(input) { |s, secret| s.gsub(secret, '*****') }.to_s
|
94
94
|
end
|
95
95
|
end
|
96
96
|
end
|
data/lib/gitlab/qa/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|