vcloud-tools-tester 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +2 -6
- data/Jenkinsfile +40 -0
- data/README.md +1 -5
- data/lib/vcloud/tools/tester/version.rb +1 -1
- data/rbenv_version.sh +1 -0
- data/vcloud-tools-tester.gemspec +8 -6
- metadata +48 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e987278d642a535f1b882b27d5387920bf92bd09
|
4
|
+
data.tar.gz: 9630df7563425806fbbb331944846b7e7f33e19e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db3f957aca66ccc4eeb640039e5c88656f333eac007116ee66db0e63c277efd8ccf277de18b25b604c442482054bfa558a851efdac2f7efbbec6f18fe869b62
|
7
|
+
data.tar.gz: df1bd44056aed5a780fb94054eb54971f94acd3f48575e1f3372152f20206252ee532a0806a4030d05627a2cfb8c1b0707934e009a7fcf7872a904b4433f8795
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 2.1.0 (2017-06-22)
|
2
|
+
|
3
|
+
- Upgrade to latest Fog
|
4
|
+
- Drop support for Ruby older than 2.2.2
|
5
|
+
- Add support for Ruby 2.3 and 2.4
|
6
|
+
- Various bugfixes
|
7
|
+
|
1
8
|
## 2.0.0 (2016-01-15)
|
2
9
|
|
3
10
|
- Depend on any version of vCloud Core. This is a temporary fix so we can release version 2.0.0
|
data/CONTRIBUTING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Contributing to vCloud Tools Tester
|
2
2
|
|
3
|
-
We
|
3
|
+
We now consider vCloud Tools feature complete for our purposes. We'd be happy to consider pull requests for new features but please discuss them with us in the issues first so we can let you know if it's something we'd be likely to merge. We will continue to make maintenance and bug fixes.
|
4
4
|
|
5
5
|
## A quick guide on how to contribute
|
6
6
|
|
@@ -31,11 +31,7 @@ We really welcome contributions.
|
|
31
31
|
|
32
32
|
## How soon will we respond?
|
33
33
|
|
34
|
-
We will comment on your
|
35
|
-
|
36
|
-
We may come back to you with comments and suggestions, and if we would like you to make changes, we will close the pull request as well as adding details of the changes we'd like you to make.
|
37
|
-
|
38
|
-
If you feel your pull request has been outstanding too long, please feel free to bump it by making a comment on it.
|
34
|
+
We will comment on your issue as soon as we can. If you feel your issue is important, please feel free to bump it by making a comment on it or raise your issue on the [mailing list](https://groups.google.com/a/digital.cabinet-office.gov.uk/forum/#!forum/vcloud-tools).
|
39
35
|
|
40
36
|
## Guidelines for making a pull request
|
41
37
|
|
data/Jenkinsfile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/usr/bin/env groovy
|
2
|
+
|
3
|
+
repoName = JOB_NAME.split('/')[0]
|
4
|
+
|
5
|
+
node {
|
6
|
+
def govuk = load '/var/lib/jenkins/groovy_scripts/govuk_jenkinslib.groovy'
|
7
|
+
|
8
|
+
try {
|
9
|
+
stage("Checkout") {
|
10
|
+
govuk.checkoutFromGitHubWithSSH(repoName)
|
11
|
+
}
|
12
|
+
|
13
|
+
stage("Clean up workspace") {
|
14
|
+
govuk.cleanupGit()
|
15
|
+
}
|
16
|
+
|
17
|
+
stage("bundle install") {
|
18
|
+
govuk.setEnvar("RBENV_VERSION", "2.2.2")
|
19
|
+
govuk.bundleGem()
|
20
|
+
}
|
21
|
+
|
22
|
+
stage("Run tests") {
|
23
|
+
govuk.runTests()
|
24
|
+
}
|
25
|
+
|
26
|
+
if (env.BRANCH_NAME == "master") {
|
27
|
+
stage("Publish gem") {
|
28
|
+
govuk.publishGem(repoName, env.BRANCH_NAME)
|
29
|
+
}
|
30
|
+
}
|
31
|
+
} catch (e) {
|
32
|
+
currentBuild.result = "FAILED"
|
33
|
+
step([$class: 'Mailer',
|
34
|
+
notifyEveryUnstableBuild: true,
|
35
|
+
recipients: 'govuk-ci-notifications@digital.cabinet-office.gov.uk',
|
36
|
+
sendToIndividuals: true])
|
37
|
+
throw e
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
data/README.md
CHANGED
@@ -28,8 +28,4 @@ There are no integration tests for this project.
|
|
28
28
|
|
29
29
|
## Contributing
|
30
30
|
|
31
|
-
|
32
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
33
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
34
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
35
|
-
5. Create new Pull Request
|
31
|
+
Please see [CONTRIBUTING.md](/CONTRIBUTING.md).
|
data/rbenv_version.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export RBENV_VERSION="2.2.2"
|
data/vcloud-tools-tester.gemspec
CHANGED
@@ -18,15 +18,17 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.required_ruby_version = '>= 2.
|
21
|
+
spec.required_ruby_version = '>= 2.2.2'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'gem_publisher', '1.2.0'
|
24
24
|
spec.add_development_dependency 'pry'
|
25
|
-
spec.add_development_dependency 'rake'
|
26
|
-
spec.add_development_dependency 'rspec', '~> 2.14.1'
|
27
|
-
spec.add_development_dependency 'rubocop', '~> 0.23.0'
|
28
|
-
spec.add_development_dependency 'simplecov', '~> 0.7.1'
|
29
25
|
|
30
|
-
spec.
|
26
|
+
spec.add_development_dependency 'rake', '>= 12'
|
27
|
+
spec.add_development_dependency 'rspec', '>= 3.6'
|
28
|
+
spec.add_development_dependency 'rubocop', '~> 0.49.1'
|
29
|
+
spec.add_development_dependency 'simplecov', '~> 0.14.1'
|
30
|
+
|
31
|
+
spec.add_runtime_dependency 'fog', '~> 1.40.0'
|
31
32
|
spec.add_runtime_dependency 'vcloud-core'
|
33
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.6.8.1'
|
32
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vcloud-tools-tester
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anna Shipman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_publisher
|
@@ -28,100 +28,114 @@ dependencies:
|
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '12'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '12'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '3.6'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '3.6'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.49.1
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.49.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.14.1
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.14.1
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: fog
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.40.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.40.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: vcloud-core
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: nokogiri
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.6.8.1
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.6.8.1
|
125
139
|
description: Tool to facilitate testing of vCloud Tools
|
126
140
|
email:
|
127
141
|
- anna.shipman@digital.cabinet-office.gov.uk
|
@@ -129,11 +143,12 @@ executables: []
|
|
129
143
|
extensions: []
|
130
144
|
extra_rdoc_files: []
|
131
145
|
files:
|
132
|
-
- .gitignore
|
133
|
-
- .travis.yml
|
146
|
+
- ".gitignore"
|
147
|
+
- ".travis.yml"
|
134
148
|
- CHANGELOG.md
|
135
149
|
- CONTRIBUTING.md
|
136
150
|
- Gemfile
|
151
|
+
- Jenkinsfile
|
137
152
|
- LICENSE.txt
|
138
153
|
- README.md
|
139
154
|
- Rakefile
|
@@ -144,6 +159,7 @@ files:
|
|
144
159
|
- lib/vcloud/tools/tester/test_setup.rb
|
145
160
|
- lib/vcloud/tools/tester/user_parameters.rb
|
146
161
|
- lib/vcloud/tools/tester/version.rb
|
162
|
+
- rbenv_version.sh
|
147
163
|
- spec/spec_helper.rb
|
148
164
|
- spec/vcloud/tools/tester/data/test_config.yaml
|
149
165
|
- spec/vcloud/tools/tester/data/test_launcher_config.yaml
|
@@ -163,17 +179,17 @@ require_paths:
|
|
163
179
|
- lib
|
164
180
|
required_ruby_version: !ruby/object:Gem::Requirement
|
165
181
|
requirements:
|
166
|
-
- -
|
182
|
+
- - ">="
|
167
183
|
- !ruby/object:Gem::Version
|
168
|
-
version: 2.
|
184
|
+
version: 2.2.2
|
169
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
186
|
requirements:
|
171
|
-
- -
|
187
|
+
- - ">="
|
172
188
|
- !ruby/object:Gem::Version
|
173
189
|
version: '0'
|
174
190
|
requirements: []
|
175
191
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.4.5
|
177
193
|
signing_key:
|
178
194
|
specification_version: 4
|
179
195
|
summary: vCloud Tools integration tests require secret parameters. This helps you
|