knife-google 3.3.0 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.expeditor/config.yml +41 -0
- data/.expeditor/update_version.sh +12 -0
- data/.github/CODEOWNERS +4 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +14 -0
- data/.travis.yml +12 -8
- data/CHANGELOG.md +37 -2
- data/Gemfile +23 -6
- data/README.md +22 -23
- data/Rakefile +29 -7
- data/VERSION +1 -0
- data/knife-google.gemspec +1 -1
- data/lib/knife-google/version.rb +1 -1
- metadata +15 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 912225d3b18ae28eb1e4c1cdddff75077cf863917f4888fb85c8aeb261c71e47
|
4
|
+
data.tar.gz: 9827cb9f230891db43016ffe0fc1bd47b13158b0fda2f8db670643599335d40d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76733350635961937f0a3f44fba7877039eb3e66f51906ae5e587d6c101b262e443f13574429787f2cf5fe9de578c404b4be442691996462a419571ee5d5988
|
7
|
+
data.tar.gz: 21348ae47376ebbe56eb25917404079e3d7fad6160a46ef50c8986064beeb87102b9efac67fb10b61de43340bb2f1ed5e3f3e2429dde6a7954781e552b203c38
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Documentation available at https://expeditor.chef.io/docs/getting-started/
|
2
|
+
---
|
3
|
+
# Slack channel in Chef Software slack to send notifications about build failures, etc
|
4
|
+
slack:
|
5
|
+
notify_channel: sustaining-notify
|
6
|
+
|
7
|
+
# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
|
8
|
+
rubygems:
|
9
|
+
- knife-google
|
10
|
+
|
11
|
+
github:
|
12
|
+
# This deletes the GitHub PR branch after successfully merged into the release branch
|
13
|
+
delete_branch_on_merge: true
|
14
|
+
# The tag format to use (e.g. v1.0.0)
|
15
|
+
version_tag_format: "v{{version}}"
|
16
|
+
# allow bumping the minor release via label
|
17
|
+
minor_bump_labels:
|
18
|
+
- "Expeditor: Bump Minor Version"
|
19
|
+
|
20
|
+
changelog:
|
21
|
+
rollup_header: Changes not yet released to rubygems.org
|
22
|
+
|
23
|
+
# These actions are taken, in order they are specified, anytime a Pull Request is merged.
|
24
|
+
merge_actions:
|
25
|
+
- built_in:bump_version:
|
26
|
+
ignore_labels:
|
27
|
+
- "Expeditor: Skip Version Bump"
|
28
|
+
- "Expeditor: Skip All"
|
29
|
+
- bash:.expeditor/update_version.sh:
|
30
|
+
only_if: built_in:bump_version
|
31
|
+
- built_in:update_changelog:
|
32
|
+
ignore_labels:
|
33
|
+
- "Expeditor: Exclude From Changelog"
|
34
|
+
- "Expeditor: Skip All"
|
35
|
+
- built_in:build_gem:
|
36
|
+
only_if: built_in:bump_version
|
37
|
+
|
38
|
+
promote:
|
39
|
+
actions:
|
40
|
+
- built_in:rollover_changelog
|
41
|
+
- built_in:publish_rubygems
|
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# After a PR merge, Chef Expeditor will bump the PATCH version in the VERSION file.
|
4
|
+
# It then executes this file to update any other files/components with that new version.
|
5
|
+
#
|
6
|
+
|
7
|
+
set -evx
|
8
|
+
|
9
|
+
sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"$(cat VERSION)\"/" lib/knife-google/version.rb
|
10
|
+
|
11
|
+
# Once Expeditor finishes executing this script, it will commit the changes and push
|
12
|
+
# the commit as a new tag corresponding to the value in the VERSION file.
|
data/.github/CODEOWNERS
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
### Description
|
2
|
+
|
3
|
+
[Please describe what this change achieves]
|
4
|
+
|
5
|
+
### Issues Resolved
|
6
|
+
|
7
|
+
[List any existing issues this PR resolves, or any Discourse or
|
8
|
+
StackOverflow discussion that's relevant]
|
9
|
+
|
10
|
+
### Check List
|
11
|
+
|
12
|
+
- [ ] New functionality includes tests
|
13
|
+
- [ ] All tests pass
|
14
|
+
- [ ] All commits have been signed-off for the Developer Certificate of Origin. See <https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco>
|
data/.travis.yml
CHANGED
@@ -1,20 +1,24 @@
|
|
1
|
+
sudo: false
|
1
2
|
language: ruby
|
2
3
|
cache: bundler
|
3
|
-
|
4
|
-
sudo: false
|
5
|
-
rvm:
|
6
|
-
- 2.2.7
|
7
|
-
- 2.3.4
|
8
|
-
- 2.4.1
|
9
|
-
- ruby-head
|
10
|
-
|
4
|
+
|
11
5
|
matrix:
|
6
|
+
include:
|
7
|
+
- rvm: 2.3.7
|
8
|
+
- rvm: 2.4.4
|
9
|
+
- rvm: 2.5.1
|
10
|
+
- rvm: ruby-head
|
12
11
|
allow_failures:
|
13
12
|
- rvm: ruby-head
|
14
13
|
|
15
14
|
branches:
|
16
15
|
only:
|
17
16
|
- master
|
17
|
+
|
18
|
+
bundler_args: --without docs development
|
19
|
+
|
20
|
+
script: bundle exec rake
|
21
|
+
|
18
22
|
notifications:
|
19
23
|
slack:
|
20
24
|
on_success: change
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,39 @@
|
|
1
|
-
# Change Log
|
1
|
+
# knife-google Change Log
|
2
|
+
|
3
|
+
Note: this log contains only changes from knife-google release 1.1.0 and later
|
4
|
+
-- it does not contain the changes from prior releases. To view change history
|
5
|
+
prior to release 1.1.0, please visit the [source repository](https://github.com/chef/knife-google/commits).
|
6
|
+
|
7
|
+
<!-- latest_release 3.3.3 -->
|
8
|
+
## [v3.3.3](https://github.com/chef/knife-google/tree/v3.3.3) (2018-10-17)
|
9
|
+
|
10
|
+
#### Merged Pull Requests
|
11
|
+
- Allow for newer google-api-client releases [#137](https://github.com/chef/knife-google/pull/137) ([tas50](https://github.com/tas50))
|
12
|
+
<!-- latest_release -->
|
13
|
+
|
14
|
+
<!-- release_rollup since=3.3.0 -->
|
15
|
+
### Changes since 3.3.0 release
|
16
|
+
|
17
|
+
#### Merged Pull Requests
|
18
|
+
- Allow for newer google-api-client releases [#137](https://github.com/chef/knife-google/pull/137) ([tas50](https://github.com/tas50)) <!-- 3.3.3 -->
|
19
|
+
- Empty commit to test expeditor [#136](https://github.com/chef/knife-google/pull/136) ([btm](https://github.com/btm)) <!-- 3.3.2 -->
|
20
|
+
<!-- release_rollup -->
|
21
|
+
|
22
|
+
<!-- latest_stable_release -->
|
23
|
+
<!-- latest_stable_release -->
|
24
|
+
|
25
|
+
## [3.3.0](https://github.com/chef/knife-google/tree/v3.3.0)
|
26
|
+
|
27
|
+
[Full Changelog](https://github.com/chef/knife-google/compare/v3.2.0...v3.3.0)
|
28
|
+
|
29
|
+
- Increased the dependency on google-api-client from 0.9.X to 0.19.X to bring in the latest improvements to the API
|
30
|
+
- Remove the dependency on Chef entirely since it's assumed Chef is already installed
|
31
|
+
|
32
|
+
## [3.2.0](https://github.com/chef/knife-google/tree/v3.2.0)
|
33
|
+
|
34
|
+
[Full Changelog](https://github.com/chef/knife-google/compare/v3.1.1...v3.2.0)
|
35
|
+
|
36
|
+
- Loosen the dependency on Chef so this gem can work with Chef 13+
|
2
37
|
|
3
38
|
## [3.3.0](https://github.com/chef/knife-google/tree/v3.3.0)
|
4
39
|
|
@@ -206,4 +241,4 @@
|
|
206
241
|
|
207
242
|
|
208
243
|
|
209
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
244
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
CHANGED
@@ -1,13 +1,30 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
1
|
source "https://rubygems.org"
|
3
2
|
|
4
3
|
gemspec
|
5
4
|
|
6
|
-
group :
|
7
|
-
gem "
|
5
|
+
group :docs do
|
6
|
+
gem "yard"
|
7
|
+
gem "redcarpet"
|
8
|
+
gem "github-markup"
|
9
|
+
end
|
10
|
+
|
11
|
+
group :test do
|
12
|
+
gem "chefstyle"
|
13
|
+
gem "rspec", "~> 3.1"
|
8
14
|
gem "rake"
|
9
|
-
gem "
|
10
|
-
|
15
|
+
gem "chef", ">= 12.0"
|
16
|
+
end
|
17
|
+
|
18
|
+
group :development do
|
11
19
|
gem "pry"
|
12
|
-
gem "
|
20
|
+
gem "pry-byebug"
|
21
|
+
gem "pry-stack_explorer"
|
22
|
+
gem "rb-readline"
|
23
|
+
gem "simplecov", "~> 0.9"
|
13
24
|
end
|
25
|
+
|
26
|
+
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
|
27
|
+
|
28
|
+
# If you want to load debugging tools into the bundle exec sandbox,
|
29
|
+
# add these additional dependencies into Gemfile.local
|
30
|
+
eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local")
|
data/README.md
CHANGED
@@ -271,36 +271,35 @@ WinRM is used by Chef to bootstrap Windows nodes. The default settings of the GC
|
|
271
271
|
* inbound firewall rule in Windows Firewall to allow the inbound WinRM connections
|
272
272
|
* enable the appropriate WinRM transports
|
273
273
|
|
274
|
-
|
274
|
+
## Development Documentation
|
275
275
|
|
276
|
-
|
276
|
+
All documentation is written using YARD. You can generate a by running:
|
277
277
|
|
278
|
-
|
278
|
+
```
|
279
|
+
rake docs
|
280
|
+
```
|
279
281
|
|
280
|
-
|
282
|
+
## Contributing
|
281
283
|
|
282
|
-
|
284
|
+
For information on contributing to this project please see our [Contributing Documentation](https://github.com/chef/chef/blob/master/CONTRIBUTING.md)
|
283
285
|
|
284
|
-
|
285
|
-
this file except in compliance with the License. You may obtain a copy of the License at
|
286
|
+
## License & Copyright
|
286
287
|
|
287
|
-
|
288
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
289
|
-
```
|
290
|
-
|
291
|
-
Unless required by applicable law or agreed to in writing, software distributed under the
|
292
|
-
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
293
|
-
either express or implied. See the License for the specific language governing permissions
|
294
|
-
and limitations under the License.
|
288
|
+
Version 3.0.0 of knife-google was rewritten by Chef Partner Engineering but is largely inspired by initial versions of knife-google, thanks to the work of the great folks at Google.
|
295
289
|
|
296
|
-
|
290
|
+
- Copyright:: Copyright (c) 2016-2018 Chef Software, Inc.
|
291
|
+
- License:: Apache License, Version 2.0
|
297
292
|
|
298
|
-
|
293
|
+
```text
|
294
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
295
|
+
you may not use this file except in compliance with the License.
|
296
|
+
You may obtain a copy of the License at
|
299
297
|
|
300
|
-
|
298
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
301
299
|
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
300
|
+
Unless required by applicable law or agreed to in writing, software
|
301
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
302
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
303
|
+
See the License for the specific language governing permissions and
|
304
|
+
limitations under the License.
|
305
|
+
```
|
data/Rakefile
CHANGED
@@ -1,13 +1,35 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
1
|
require "bundler/gem_tasks"
|
3
2
|
require "rspec/core/rake_task"
|
4
3
|
|
5
|
-
|
4
|
+
task default: [:style, :spec]
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
Bundler::GemHelper.install_tasks
|
7
|
+
|
8
|
+
desc "Run specs"
|
9
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
10
|
+
spec.pattern = "spec/**/*_spec.rb"
|
11
|
+
end
|
12
|
+
|
13
|
+
begin
|
14
|
+
require "chefstyle"
|
15
|
+
require "rubocop/rake_task"
|
16
|
+
RuboCop::RakeTask.new(:style) do |task|
|
17
|
+
task.options += ["--display-cop-names", "--no-color"]
|
18
|
+
end
|
19
|
+
rescue LoadError
|
20
|
+
puts "chefstyle/rubocop is not available. bundle install first to make sure all dependencies are installed."
|
11
21
|
end
|
12
22
|
|
13
|
-
|
23
|
+
begin
|
24
|
+
require "yard"
|
25
|
+
YARD::Rake::YardocTask.new(:docs)
|
26
|
+
rescue LoadError
|
27
|
+
puts "yard is not available. bundle install first to make sure all dependencies are installed."
|
28
|
+
end
|
29
|
+
|
30
|
+
task :console do
|
31
|
+
require "irb"
|
32
|
+
require "irb/completion"
|
33
|
+
ARGV.clear
|
34
|
+
IRB.start
|
35
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.3.3
|
data/knife-google.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.required_ruby_version = ">= 2.2.2"
|
19
19
|
|
20
20
|
s.add_dependency "knife-cloud", "~> 1.2.0"
|
21
|
-
s.add_dependency "google-api-client", "
|
21
|
+
s.add_dependency "google-api-client", ">= 0.19.8", "< 0.25" # each version introduces breaking changes which we need to validate
|
22
22
|
s.add_dependency "gcewinpass", "~> 1.1"
|
23
23
|
|
24
24
|
s.add_development_dependency "github_changelog_generator"
|
data/lib/knife-google/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chiraq Jog
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2018-
|
16
|
+
date: 2018-10-17 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: knife-cloud
|
@@ -33,16 +33,22 @@ dependencies:
|
|
33
33
|
name: google-api-client
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
35
35
|
requirements:
|
36
|
-
- - "
|
36
|
+
- - ">="
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: 0.19.8
|
39
|
+
- - "<"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0.25'
|
39
42
|
type: :runtime
|
40
43
|
prerelease: false
|
41
44
|
version_requirements: !ruby/object:Gem::Requirement
|
42
45
|
requirements:
|
43
|
-
- - "
|
46
|
+
- - ">="
|
44
47
|
- !ruby/object:Gem::Version
|
45
48
|
version: 0.19.8
|
49
|
+
- - "<"
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0.25'
|
46
52
|
- !ruby/object:Gem::Dependency
|
47
53
|
name: gcewinpass
|
48
54
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +87,11 @@ extra_rdoc_files:
|
|
81
87
|
- README.md
|
82
88
|
- LICENSE
|
83
89
|
files:
|
90
|
+
- ".expeditor/config.yml"
|
91
|
+
- ".expeditor/update_version.sh"
|
92
|
+
- ".github/CODEOWNERS"
|
84
93
|
- ".github/ISSUE_TEMPLATE.md"
|
94
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
85
95
|
- ".gitignore"
|
86
96
|
- ".rspec"
|
87
97
|
- ".travis.yml"
|
@@ -91,6 +101,7 @@ files:
|
|
91
101
|
- README.md
|
92
102
|
- RELEASE_NOTES.md
|
93
103
|
- Rakefile
|
104
|
+
- VERSION
|
94
105
|
- knife-google.gemspec
|
95
106
|
- lib/chef/knife/cloud/google_service.rb
|
96
107
|
- lib/chef/knife/cloud/google_service_helpers.rb
|