resque-kubernetes 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +39 -10
- data/lib/resque/kubernetes/version.rb +1 -1
- data/resque-kubernetes.gemspec +2 -1
- metadata +24 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c01e78712eaf835c708ee4a7a6d1015cc5642e1a
|
4
|
+
data.tar.gz: 888645885f867ccb57a35c913df6b01ea3ffcdd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d0fbd80dc1d9861625c906f812d12c42a0fa7e1de3550f7e40b586266553eb15052d966adb3b4503f8e7ef65de0caef41709fb1d6df2341e90a94701fd70109
|
7
|
+
data.tar.gz: 8e46a1d82c5315bd65a851ba62b942f3050089a5ee4683b9739da66934fc21c7d09e8668812ee994bfb7cf27993780f03c432bf1e6cfec155a89000554bb95de
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -208,14 +208,49 @@ end
|
|
208
208
|
- We probably need better namespace support, particularly for reaping
|
209
209
|
finished jobs and pods.
|
210
210
|
|
211
|
-
##
|
211
|
+
## Contributing
|
212
|
+
|
213
|
+
Bug reports and pull requests are welcome on GitHub at
|
214
|
+
https://github.com/keylime-toolbox/resque-kubernetes.
|
215
|
+
|
216
|
+
1. Fork it (`https://github.com/[my-github-username]/kubeclient/fork`)
|
217
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
218
|
+
3. Test your changes with `rake`, add new tests if needed
|
219
|
+
4. Commit your changes (`git commit -am 'Add some feature'`)
|
220
|
+
6. Push to the branch (`git push origin my-new-feature`)
|
221
|
+
7. Open a new Pull Request
|
222
|
+
|
223
|
+
|
224
|
+
### Development
|
212
225
|
|
213
226
|
After checking out the repo, run `bin/setup` to install dependencies. Then,
|
214
|
-
run `rake
|
227
|
+
run `rake` to run the test suite.
|
228
|
+
|
229
|
+
You can run `bin/console` for an interactive prompt that will allow you to
|
230
|
+
experiment.
|
231
|
+
|
232
|
+
Write test for any code that you add. Test all changes by running `rake`.
|
233
|
+
This does the following, which you can also run separately while working.
|
234
|
+
1. Tun unit tests: `rake spec`
|
235
|
+
2. Make sure that your code matches the styles: `rubocop`
|
236
|
+
3. Verify if any dependent gems have open CVEs (you must update these):
|
237
|
+
`rake bundle:audit`
|
238
|
+
|
239
|
+
### End to End Tests
|
215
240
|
|
216
|
-
|
241
|
+
We don't run End to End (e2e) tests in the regular suite because
|
242
|
+
they require a connection to a cluster. You can run these on your changes
|
243
|
+
if you want to verify that the jobs are created correctly.
|
217
244
|
|
218
|
-
|
245
|
+
This will use the default authentication on your system, which may is either
|
246
|
+
the cluster the tests are running in (if you are doing that), your `kubclient`
|
247
|
+
configuration, or your Google Default Application Credentials.
|
248
|
+
|
249
|
+
```bash
|
250
|
+
rspec --tag type:e2e
|
251
|
+
```
|
252
|
+
|
253
|
+
## Release
|
219
254
|
|
220
255
|
To release a new version, update the version number in
|
221
256
|
`lib/resque/kubernetes/version.rb` and the `CHANGELOG.md`, then run
|
@@ -223,12 +258,6 @@ To release a new version, update the version number in
|
|
223
258
|
push git commits and tags, and push the `.gem` file to
|
224
259
|
[rubygems.org](https://rubygems.org).
|
225
260
|
|
226
|
-
## Contributing
|
227
|
-
|
228
|
-
Bug reports and pull requests are welcome on GitHub at
|
229
|
-
https://github.com/keylime-toolbox/resque-kubernetes.
|
230
|
-
|
231
|
-
|
232
261
|
## License
|
233
262
|
|
234
263
|
The gem is available as open source under the terms of the
|
data/resque-kubernetes.gemspec
CHANGED
@@ -25,10 +25,11 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.16"
|
27
27
|
spec.add_development_dependency "bundler-audit", "~> 0"
|
28
|
+
spec.add_development_dependency "googleauth", "~> 0.6"
|
28
29
|
spec.add_development_dependency "rake", "~> 12.3"
|
29
30
|
spec.add_development_dependency "rspec", "~> 3.7"
|
30
31
|
spec.add_development_dependency "rubocop", "~> 0.52", ">= 0.52.1"
|
31
32
|
|
32
|
-
spec.add_dependency "kubeclient", "
|
33
|
+
spec.add_dependency "kubeclient", ">= 2.2", "< 4.0"
|
33
34
|
spec.add_dependency "resque", "~> 1.26"
|
34
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-kubernetes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Wadsack
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: googleauth
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.6'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.6'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,16 +104,22 @@ dependencies:
|
|
90
104
|
name: kubeclient
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
|
-
- - "
|
107
|
+
- - ">="
|
94
108
|
- !ruby/object:Gem::Version
|
95
109
|
version: '2.2'
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '4.0'
|
96
113
|
type: :runtime
|
97
114
|
prerelease: false
|
98
115
|
version_requirements: !ruby/object:Gem::Requirement
|
99
116
|
requirements:
|
100
|
-
- - "
|
117
|
+
- - ">="
|
101
118
|
- !ruby/object:Gem::Version
|
102
119
|
version: '2.2'
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '4.0'
|
103
123
|
- !ruby/object:Gem::Dependency
|
104
124
|
name: resque
|
105
125
|
requirement: !ruby/object:Gem::Requirement
|