gitlab-qa 2.8.0 → 2.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/docs/what_tests_can_be_run.md +4 -0
- data/lib/gitlab/qa/component/gitlab.rb +4 -3
- data/lib/gitlab/qa/scenario/test/omnibus/update.rb +5 -3
- 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: 488b13f4d68a6b9b73ae205a88b71b29f785347a27d3e4ff2d2de1f1b68cdaa1
|
4
|
+
data.tar.gz: f2ca9a979e8036508f916db891311538844b8c3a17e371c30a153eccc32ce9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e975889e7403b30cda178d6898841623ccfbd82feaab52f8db6294167282b4a5a74fa2e1f7c6506c769b67f48774f08587c345422c3ce547568a52a91d629df
|
7
|
+
data.tar.gz: 93f82c058ea90d9c2c9a9bef2f6aaf10013a3617d50ddac2cbeee8a25b5e161f9b7f61207a00ecde6723e32cec6ddfa213e67dbd4a753b9827b72b0426faf333
|
data/.gitignore
CHANGED
@@ -32,6 +32,10 @@ For more details on the internals, please read the
|
|
32
32
|
* `GITLAB_PASSWORD` - password to use when signing into GitLab
|
33
33
|
* `GITLAB_FORKER_USERNAME` - username to use for forking a project
|
34
34
|
* `GITLAB_FORKER_PASSWORD` - password to use for forking a project
|
35
|
+
* `GITLAB_QA_USERNAME_1` - username available in environments where signup is disabled
|
36
|
+
* `GITLAB_QA_PASSWORD_1` - password for `GITLAB_QA_USERNAME_1` available in environments where signup is disabled (e.g. staging.gitlab.com)
|
37
|
+
* `GITLAB_QA_USERNAME_2` - another username available in environments where signup is disabled
|
38
|
+
* `GITLAB_QA_PASSWORD_2` - password for `GITLAB_QA_USERNAME_2` available in environments where signup is disabled (e.g. staging.gitlab.com)
|
35
39
|
* `GITLAB_LDAP_USERNAME` - LDAP username to use when signing into GitLab
|
36
40
|
* `GITLAB_LDAP_PASSWORD` - LDAP password to use when signing into GitLab
|
37
41
|
* `GITLAB_ADMIN_USERNAME` - Admin username to use when adding a license
|
@@ -2,6 +2,7 @@ require 'securerandom'
|
|
2
2
|
require 'net/http'
|
3
3
|
require 'uri'
|
4
4
|
require 'forwardable'
|
5
|
+
require 'openssl'
|
5
6
|
|
6
7
|
module Gitlab
|
7
8
|
module QA
|
@@ -68,19 +69,19 @@ module Gitlab
|
|
68
69
|
end
|
69
70
|
|
70
71
|
def instance
|
71
|
-
raise 'Please provide a block!' unless block_given?
|
72
|
-
|
73
72
|
prepare
|
74
73
|
start
|
75
74
|
reconfigure
|
76
75
|
wait
|
77
76
|
process_exec_commands
|
78
77
|
|
79
|
-
yield self
|
78
|
+
yield self if block_given?
|
80
79
|
ensure
|
81
80
|
teardown
|
82
81
|
end
|
83
82
|
|
83
|
+
alias_method :launch_and_teardown_instance, :instance
|
84
|
+
|
84
85
|
def prepare
|
85
86
|
@docker.pull(image, tag)
|
86
87
|
|
@@ -12,9 +12,11 @@ module Gitlab
|
|
12
12
|
current_release = Release.new(to_release || from_release)
|
13
13
|
|
14
14
|
Docker::Volumes.new.with_temporary_volumes do |volumes|
|
15
|
-
|
16
|
-
.
|
17
|
-
|
15
|
+
Component::Gitlab.perform do |gitlab|
|
16
|
+
gitlab.release = previous_release
|
17
|
+
gitlab.volumes = volumes
|
18
|
+
gitlab.network = 'test'
|
19
|
+
gitlab.launch_and_teardown_instance
|
18
20
|
end
|
19
21
|
|
20
22
|
Scenario::Test::Instance::Image
|
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: 2.8.
|
4
|
+
version: 2.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grzegorz Bizon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
206
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.7.
|
207
|
+
rubygems_version: 2.7.6
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: Integration tests for GitLab
|