gitlab-qa 4.3.2 → 4.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/run_qa_against_gdk.md +2 -2
- data/docs/what_tests_can_be_run.md +12 -0
- data/lib/gitlab/qa/runtime/env.rb +6 -2
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b490e047aff19f334639e7e5126a773fb9aad830469a00e45e5f9b0f0bcae4a8
|
4
|
+
data.tar.gz: 35a094676936573b20a09a904cb5e63ed59d8b8a74a85529dcc31b76a10b1f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ab9084af4a9103007127fb433936872d86a2fdcad15aac3a935e08791a55111f18285dd09a6ec20615fbb83704939de47884052af7ef34c9cb022baafc56c8
|
7
|
+
data.tar.gz: a0d7b6d521c0f4ffe7166c1ec78afcb0068fabea12f4ed59ac9db92a7eea8ab8bb9876ff241d0f2649dc40c97f43f14fd083c01fde4d41b4ad60c0d228afc161
|
data/docs/run_qa_against_gdk.md
CHANGED
@@ -26,8 +26,8 @@ make a few changes to your `gdk/gitlab/config/gitlab.yml` file.
|
|
26
26
|
|
27
27
|
# And if you want to test your local `gdk/gitlab/qa` changes, you'll need to
|
28
28
|
# build the QA image first
|
29
|
-
# In gdk/gitlab
|
30
|
-
$ docker build -t gitlab/gitlab-ce-qa:your-custom-tag
|
29
|
+
# In gdk/gitlab:
|
30
|
+
$ docker build -t gitlab/gitlab-ce-qa:your-custom-tag --file ./qa/Dockerfile ./
|
31
31
|
|
32
32
|
# Then in gitlab-qa:
|
33
33
|
$ exe/gitlab-qa Test::Instance::Any gitlab/gitlab-ce:your-custom-tag http://192.168.0.12:3000 -- qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb
|
@@ -62,6 +62,10 @@ For more details on the internals, please read the
|
|
62
62
|
* `GITHUB_OAUTH_APP_SECRET` - Client Secret for GitHub OAuth app. See https://docs.gitlab.com/ce/integration/github.html for steps to generate this token.
|
63
63
|
* `GITHUB_USERNAME` - Username for authenticating with GitHub.
|
64
64
|
* `GITHUB_PASSWORD` - Password for authenticating with GitHub.
|
65
|
+
* `GITLAB_QA_1P_EMAIL` - Email address for authenticating into 1Password
|
66
|
+
* `GITLAB_QA_1P_PASSWORD` - Password for authenticating into 1Password.
|
67
|
+
* `GITLAB_QA_1P_SECRET` - Secret for authenticating into 1Password.
|
68
|
+
* `GITLAB_QA_1P_GITHUB_UUID` - UUID for GitHub item in GitLab-QA 1Password vault.
|
65
69
|
|
66
70
|
## [Supported Remote Grid environment variables](./running_against_remote_grid.md)
|
67
71
|
|
@@ -357,6 +361,10 @@ container is spun up and tests are run from it by running the
|
|
357
361
|
- `GITHUB_OAUTH_APP_SECRET`: Client Secret for GitHub OAuth app. This can be found in the shared 1Password vault.
|
358
362
|
- `GITHUB_USERNAME`: Username for authenticating with GitHub. This can be found in the shared 1Password vault.
|
359
363
|
- `GITHUB_PASSWORD`: Password for authenticating with GitHub. This can be found in the shared 1Password vault.
|
364
|
+
- `GITLAB_QA_1P_EMAIL`: Email address for authenticating into 1Password for GitLab-QA vault. This can be found in the shared 1Password vault.
|
365
|
+
- `GITLAB_QA_1P_PASSWORD`: Password for authenticating into 1Password for GitLab-QA vault. This can be found in the shared 1Password vault.
|
366
|
+
- `GITLAB_QA_1P_SECRET`: Secret for authenticating into 1Password. This can be found in the GitLab-QA 1Password vault.
|
367
|
+
- `GITLAB_QA_1P_GITHUB_UUID`: UUID for GitHub item in GitLab-QA 1Password vault. This can be found in the GitLab-QA 1Password vault.
|
360
368
|
|
361
369
|
Example:
|
362
370
|
|
@@ -365,6 +373,10 @@ $ export GITHUB_OAUTH_APP_ID=your_github_oauth_client_id
|
|
365
373
|
$ export GITHUB_OAUTH_APP_SECRET=your_github_oauth_client_secret
|
366
374
|
$ export GITHUB_USERNAME=your_github_username
|
367
375
|
$ export GITHUB_PASSWORD=your_github_password
|
376
|
+
$ export GITLAB_QA_1P_EMAIL=1password_email
|
377
|
+
$ export GITLAB_QA_1P_PASSWORD=1password_password
|
378
|
+
$ export GITLAB_QA_1P_SECRET=1password_secret
|
379
|
+
$ export GITLAB_QA_1P_GITHUB_UUID=1password_gihub_item_uuid
|
368
380
|
|
369
381
|
$ gitlab-qa Test::Integration::OAuth CE
|
370
382
|
|
@@ -55,7 +55,11 @@ module Gitlab
|
|
55
55
|
'CI_NODE_TOTAL' => :ci_node_total,
|
56
56
|
'GITLAB_CI' => :gitlab_ci,
|
57
57
|
'QA_SKIP_PULL' => :qa_skip_pull,
|
58
|
-
'ELASTIC_URL' => :elastic_url
|
58
|
+
'ELASTIC_URL' => :elastic_url,
|
59
|
+
'GITLAB_QA_1P_EMAIL' => :gitlab_qa_1p_email,
|
60
|
+
'GITLAB_QA_1P_PASSWORD' => :gitlab_qa_1p_password,
|
61
|
+
'GITLAB_QA_1P_SECRET' => :gitlab_qa_1p_secret,
|
62
|
+
'GITLAB_QA_1P_GITHUB_UUID' => :gitlab_qa_1p_github_uuid
|
59
63
|
}.freeze
|
60
64
|
|
61
65
|
ENV_VARIABLES.each_value do |accessor|
|
@@ -120,7 +124,7 @@ module Gitlab
|
|
120
124
|
end
|
121
125
|
|
122
126
|
def require_oauth_environment!
|
123
|
-
%w[GITHUB_OAUTH_APP_ID GITHUB_OAUTH_APP_SECRET GITHUB_USERNAME GITHUB_PASSWORD].each do |env_key|
|
127
|
+
%w[GITHUB_OAUTH_APP_ID GITHUB_OAUTH_APP_SECRET GITHUB_USERNAME GITHUB_PASSWORD GITLAB_QA_1P_EMAIL GITLAB_QA_1P_PASSWORD GITLAB_QA_1P_SECRET GITLAB_QA_1P_GITHUB_UUID].each do |env_key|
|
124
128
|
raise ArgumentError, "Environment variable #{env_key} must be set to run OAuth specs" unless ENV.key?(env_key)
|
125
129
|
end
|
126
130
|
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: 4.3.
|
4
|
+
version: 4.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grzegorz Bizon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: '0'
|
230
230
|
requirements: []
|
231
|
-
rubygems_version: 3.0.
|
231
|
+
rubygems_version: 3.0.3
|
232
232
|
signing_key:
|
233
233
|
specification_version: 4
|
234
234
|
summary: Integration tests for GitLab
|