kitchen-appbundle-updater 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.expeditor/config.yml +41 -0
- data/.expeditor/update_version.sh +12 -0
- data/.github/CODEOWNERS +5 -0
- data/.github/ISSUE_TEMPLATE.md +21 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +14 -0
- data/.github/lock.yml +1 -0
- data/.travis.yml +17 -7
- data/CHANGELOG.md +19 -0
- data/CODE_OF_CONDUCT.md +1 -0
- data/Gemfile +24 -1
- data/Rakefile +25 -0
- data/VERSION +1 -0
- data/kitchen-appbundle-updater.gemspec +13 -17
- data/lib/kitchen-appbundle-updater/version.rb +1 -1
- data/lib/kitchen/provisioner/chef_github.rb +6 -6
- metadata +15 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ce3d5a28643007e850eb50a4b57f83f7b0950766a8758a7833da44db0dbabb14
|
4
|
+
data.tar.gz: 7d9e90577df7520a2d99592318922e745d3a4070abd9a5315e85e6330dbab59d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee7d5058e0e7e76e1c7d20741b6a1c3146a7c794427589c1cbcb9f470d5b047fd393e82d3a87d2c8278a2614a000bcd10626deb8dae3bcc8ecd8b65984e80dc1
|
7
|
+
data.tar.gz: 5c8fcdafdc6516565524e5dcdc7bf52869c33303ec699221b97f31576f2b4235b867ce244b91be2a9d364854f22833d18c99e97b866e1a877254d46f01cbead4
|
@@ -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: chef-notify
|
6
|
+
|
7
|
+
# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
|
8
|
+
rubygems:
|
9
|
+
- kitchen-appbundle-updater
|
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 Version Minor"
|
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: Skip 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/bash
|
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/VERSION = \".+\"/VERSION = \"$(cat VERSION)\"/" lib/kitchen-appbundle-updater/version.rb
|
10
|
+
|
11
|
+
# Once Expeditor finshes 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,21 @@
|
|
1
|
+
# Version:
|
2
|
+
|
3
|
+
[Version of the project installed]
|
4
|
+
|
5
|
+
# Environment: [Details about the environment such as the Operating System, cookbook details, etc...]
|
6
|
+
|
7
|
+
# Scenario:
|
8
|
+
|
9
|
+
[What you are trying to achieve and you can't?]
|
10
|
+
|
11
|
+
# Steps to Reproduce:
|
12
|
+
|
13
|
+
[If you are filing an issue what are the things we need to do in order to repro your problem?]
|
14
|
+
|
15
|
+
# Expected Result:
|
16
|
+
|
17
|
+
[What are you expecting to happen as the consequence of above reproduction steps?]
|
18
|
+
|
19
|
+
# Actual Result:
|
20
|
+
|
21
|
+
[What actually happens after the reproduction steps?]
|
@@ -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/.github/lock.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
daysUntilLock: 60
|
data/.travis.yml
CHANGED
@@ -1,11 +1,21 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
- 2.0.0
|
5
|
-
- 1.9.3
|
6
|
-
- 1.9.2
|
7
|
-
- ruby-head
|
2
|
+
cache: bundler
|
3
|
+
dist: xenial
|
8
4
|
|
9
5
|
matrix:
|
6
|
+
include:
|
7
|
+
- rvm: 2.3.8
|
8
|
+
- rvm: 2.4.5
|
9
|
+
- rvm: 2.5.3
|
10
|
+
- rvm: 2.6.0
|
11
|
+
- rvm: ruby-head
|
10
12
|
allow_failures:
|
11
|
-
|
13
|
+
- rvm: ruby-head
|
14
|
+
|
15
|
+
branches:
|
16
|
+
only:
|
17
|
+
- master
|
18
|
+
|
19
|
+
bundler_args: --jobs 7 --without docs debug
|
20
|
+
|
21
|
+
script: bundle exec rake
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
# Change Log
|
2
|
+
<!-- latest_release 0.2.3 -->
|
3
|
+
## [v0.2.3](https://github.com/chef/kitchen-appbundle-updater/tree/v0.2.3) (2019-01-16)
|
4
|
+
|
5
|
+
#### Merged Pull Requests
|
6
|
+
- Set the author to Chef Software for the gem [#9](https://github.com/chef/kitchen-appbundle-updater/pull/9) ([tas50](https://github.com/tas50))
|
7
|
+
<!-- latest_release -->
|
8
|
+
|
9
|
+
<!-- release_rollup since=0.2.0 -->
|
10
|
+
### Changes not yet released to rubygems.org
|
11
|
+
|
12
|
+
#### Merged Pull Requests
|
13
|
+
- Set the author to Chef Software for the gem [#9](https://github.com/chef/kitchen-appbundle-updater/pull/9) ([tas50](https://github.com/tas50)) <!-- 0.2.3 -->
|
14
|
+
- Resolve all chefstyle warnings [#7](https://github.com/chef/kitchen-appbundle-updater/pull/7) ([tas50](https://github.com/tas50)) <!-- 0.2.2 -->
|
15
|
+
- Move dev deps to the gemfile and add our rakefile [#6](https://github.com/chef/kitchen-appbundle-updater/pull/6) ([tas50](https://github.com/tas50)) <!-- 0.2.1 -->
|
16
|
+
<!-- release_rollup -->
|
17
|
+
|
18
|
+
<!-- latest_stable_release -->
|
1
19
|
## 0.1.0 / Unreleased
|
2
20
|
|
3
21
|
* Initial release
|
22
|
+
<!-- latest_stable_release -->
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Please refer to the Chef Community Code of Conduct at https://www.chef.io/code-of-conduct/
|
data/Gemfile
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
3
|
gemspec
|
4
|
+
|
5
|
+
group :test do
|
6
|
+
gem "rake"
|
7
|
+
gem "chefstyle"
|
8
|
+
end
|
9
|
+
|
10
|
+
group :debug do
|
11
|
+
gem "pry"
|
12
|
+
gem "pry-byebug"
|
13
|
+
gem "pry-stack_explorer"
|
14
|
+
end
|
15
|
+
|
16
|
+
group :docs do
|
17
|
+
gem "github-markup"
|
18
|
+
gem "redcarpet"
|
19
|
+
gem "yard"
|
20
|
+
end
|
21
|
+
|
22
|
+
instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
|
23
|
+
|
24
|
+
# If you want to load debugging tools into the bundle exec sandbox,
|
25
|
+
# add these additional dependencies into Gemfile.local
|
26
|
+
eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local")
|
data/Rakefile
CHANGED
@@ -1 +1,26 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
+
task default: [:style]
|
3
|
+
|
4
|
+
begin
|
5
|
+
require "chefstyle"
|
6
|
+
require "rubocop/rake_task"
|
7
|
+
RuboCop::RakeTask.new(:style) do |task|
|
8
|
+
task.options += ["--display-cop-names", "--no-color"]
|
9
|
+
end
|
10
|
+
rescue LoadError
|
11
|
+
puts "chefstyle/rubocop is not available. bundle install first to make sure all dependencies are installed."
|
12
|
+
end
|
13
|
+
|
14
|
+
begin
|
15
|
+
require "yard"
|
16
|
+
YARD::Rake::YardocTask.new(:docs)
|
17
|
+
rescue LoadError
|
18
|
+
puts "yard is not available. bundle install first to make sure all dependencies are installed."
|
19
|
+
end
|
20
|
+
|
21
|
+
task :console do
|
22
|
+
require "irb"
|
23
|
+
require "irb/completion"
|
24
|
+
ARGV.clear
|
25
|
+
IRB.start
|
26
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.2.3
|
@@ -1,29 +1,25 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
4
|
+
require "kitchen-appbundle-updater/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = "kitchen-appbundle-updater"
|
8
8
|
spec.version = KitchenAppbundleUpdater::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
11
|
-
spec.description =
|
9
|
+
spec.authors = ["Chef Software"]
|
10
|
+
spec.email = ["oss@chef.io"]
|
11
|
+
spec.description = "A Test Kitchen Driver for Appbundle-updater"
|
12
12
|
spec.summary = spec.description
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
13
|
+
spec.homepage = "https://github.com/chef/kitchen-appbundle-updater"
|
14
|
+
spec.license = "Apache-2.0"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = []
|
18
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = [
|
18
|
+
spec.require_paths = ["lib"]
|
20
19
|
|
21
|
-
|
20
|
+
spec.add_development_dependency "bundler"
|
22
21
|
|
23
|
-
spec.add_development_dependency
|
24
|
-
spec.add_development_dependency
|
25
|
-
|
26
|
-
spec.add_development_dependency 'cane'
|
27
|
-
spec.add_development_dependency 'tailor'
|
28
|
-
spec.add_development_dependency 'countloc'
|
22
|
+
spec.add_development_dependency "cane"
|
23
|
+
spec.add_development_dependency "tailor"
|
24
|
+
spec.add_development_dependency "countloc"
|
29
25
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "kitchen/provisioner/chef_zero"
|
2
2
|
|
3
3
|
module Kitchen
|
4
4
|
module Provisioner
|
@@ -11,10 +11,10 @@ module Kitchen
|
|
11
11
|
default_config :chef_omnibus_install_options, "-n"
|
12
12
|
|
13
13
|
def prepare_command
|
14
|
-
ruby_bin = remote_path_join(config[:ruby_bindir], "ruby")
|
15
|
-
tap { |path| path.concat(".exe") if windows_os? }
|
16
|
-
gem_bin = remote_path_join(config[:ruby_bindir], "gem")
|
17
|
-
tap { |path| path.concat(".bat") if windows_os? }
|
14
|
+
ruby_bin = remote_path_join(config[:ruby_bindir], "ruby")
|
15
|
+
.tap { |path| path.concat(".exe") if windows_os? }
|
16
|
+
gem_bin = remote_path_join(config[:ruby_bindir], "gem")
|
17
|
+
.tap { |path| path.concat(".bat") if windows_os? }
|
18
18
|
appbundle_updater_bin = remote_path_join(config[:ruby_bindir], "appbundle-updater")
|
19
19
|
# tap { |path| path.concat(".bat") if windows_os? }
|
20
20
|
vars = [
|
@@ -36,7 +36,7 @@ module Kitchen
|
|
36
36
|
def my_shell_code_from_file(vars, file)
|
37
37
|
src_file = File.join(
|
38
38
|
File.dirname(__FILE__),
|
39
|
-
%w
|
39
|
+
%w{.. .. .. support},
|
40
40
|
file + (powershell_shell? ? ".ps1" : ".sh")
|
41
41
|
)
|
42
42
|
|
metadata
CHANGED
@@ -1,31 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-appbundle-updater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Chef Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.3'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - ">="
|
@@ -82,29 +68,37 @@ dependencies:
|
|
82
68
|
version: '0'
|
83
69
|
description: A Test Kitchen Driver for Appbundle-updater
|
84
70
|
email:
|
85
|
-
-
|
71
|
+
- oss@chef.io
|
86
72
|
executables: []
|
87
73
|
extensions: []
|
88
74
|
extra_rdoc_files: []
|
89
75
|
files:
|
90
76
|
- ".cane"
|
77
|
+
- ".expeditor/config.yml"
|
78
|
+
- ".expeditor/update_version.sh"
|
79
|
+
- ".github/CODEOWNERS"
|
80
|
+
- ".github/ISSUE_TEMPLATE.md"
|
81
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
82
|
+
- ".github/lock.yml"
|
91
83
|
- ".gitignore"
|
92
84
|
- ".tailor"
|
93
85
|
- ".travis.yml"
|
94
86
|
- CHANGELOG.md
|
87
|
+
- CODE_OF_CONDUCT.md
|
95
88
|
- Gemfile
|
96
89
|
- LICENSE
|
97
90
|
- README.md
|
98
91
|
- Rakefile
|
92
|
+
- VERSION
|
99
93
|
- kitchen-appbundle-updater.gemspec
|
100
94
|
- lib/kitchen-appbundle-updater.rb
|
101
95
|
- lib/kitchen-appbundle-updater/version.rb
|
102
96
|
- lib/kitchen/provisioner/chef_github.rb
|
103
97
|
- support/chef_base_updater.ps1
|
104
98
|
- support/chef_base_updater.sh
|
105
|
-
homepage:
|
99
|
+
homepage: https://github.com/chef/kitchen-appbundle-updater
|
106
100
|
licenses:
|
107
|
-
- Apache
|
101
|
+
- Apache-2.0
|
108
102
|
metadata: {}
|
109
103
|
post_install_message:
|
110
104
|
rdoc_options: []
|
@@ -122,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
116
|
version: '0'
|
123
117
|
requirements: []
|
124
118
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.6
|
119
|
+
rubygems_version: 2.7.6
|
126
120
|
signing_key:
|
127
121
|
specification_version: 4
|
128
122
|
summary: A Test Kitchen Driver for Appbundle-updater
|