appbundle-updater 0.6.11 → 0.6.15
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 +4 -4
- data/CHANGELOG.md +14 -6
- data/Gemfile +1 -1
- data/README.md +8 -4
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/bin/appbundle-updater +12 -8
- data/lib/appbundle_updater/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8faf2a1bce92726650424e6c8294b205d28e66c873c8a399177305386fcf490
|
|
4
|
+
data.tar.gz: fb75f5af16485fd520c206e6dbd422395924b64dd1a17a9025dd834382b668b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 784260365156f1778f54ed785746014f1ae73ae1a121eeee797f62634033db3ef3cba092e1fc1e0ed3080825cc1b19f00ce6f1bc4a9a1cda69de2bd23399a9af
|
|
7
|
+
data.tar.gz: 78def0be8c45323cfc098399d0b89af09f8da9708ce25c48e478db2b8d552d56aab656e4ccdce32694b4b4970c75da965875e29ee0cbab7d6f8d1c7d9a2e43f8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
# appbundle-updater Change Log
|
|
2
2
|
|
|
3
|
-
<!-- latest_release 0.6.
|
|
4
|
-
## [v0.6.
|
|
3
|
+
<!-- latest_release 0.6.15 -->
|
|
4
|
+
## [v0.6.15](https://github.com/chef/appbundle-updater/tree/v0.6.15) (2019-07-18)
|
|
5
5
|
|
|
6
6
|
#### Merged Pull Requests
|
|
7
|
-
-
|
|
7
|
+
- Support Fedora 30 by trying to install both lzma-devel and xz-devel [#43](https://github.com/chef/appbundle-updater/pull/43) ([tas50](https://github.com/tas50))
|
|
8
8
|
<!-- latest_release -->
|
|
9
9
|
|
|
10
|
-
<!-- release_rollup since=0.6.
|
|
10
|
+
<!-- release_rollup since=0.6.11 -->
|
|
11
11
|
### Changes not yet released to rubygems.org
|
|
12
12
|
|
|
13
13
|
#### Merged Pull Requests
|
|
14
|
-
-
|
|
14
|
+
- Support Fedora 30 by trying to install both lzma-devel and xz-devel [#43](https://github.com/chef/appbundle-updater/pull/43) ([tas50](https://github.com/tas50)) <!-- 0.6.15 -->
|
|
15
|
+
- Add Windows testing in BuildKite [#42](https://github.com/chef/appbundle-updater/pull/42) ([tas50](https://github.com/tas50)) <!-- 0.6.14 -->
|
|
16
|
+
- Remove Travis CI PR testing [#41](https://github.com/chef/appbundle-updater/pull/41) ([tas50](https://github.com/tas50)) <!-- 0.6.13 -->
|
|
17
|
+
- Setup this repo for Buildkite testing [#40](https://github.com/chef/appbundle-updater/pull/40) ([tas50](https://github.com/tas50)) <!-- 0.6.12 -->
|
|
15
18
|
<!-- release_rollup -->
|
|
16
19
|
|
|
17
20
|
<!-- latest_stable_release -->
|
|
21
|
+
## [v0.6.11](https://github.com/chef/appbundle-updater/tree/v0.6.11) (2019-04-24)
|
|
22
|
+
|
|
23
|
+
#### Merged Pull Requests
|
|
24
|
+
- trivial fix [#39](https://github.com/chef/appbundle-updater/pull/39) ([lamont-granquist](https://github.com/lamont-granquist))
|
|
25
|
+
<!-- latest_stable_release -->
|
|
26
|
+
|
|
18
27
|
## [v0.6.10](https://github.com/chef/appbundle-updater/tree/v0.6.10) (2019-04-24)
|
|
19
28
|
|
|
20
29
|
#### Merged Pull Requests
|
|
@@ -24,7 +33,6 @@
|
|
|
24
33
|
- Update travis ruby versions + minor github tweaks [#36](https://github.com/chef/appbundle-updater/pull/36) ([tas50](https://github.com/tas50))
|
|
25
34
|
- Add project status info to the readme [#37](https://github.com/chef/appbundle-updater/pull/37) ([tas50](https://github.com/tas50))
|
|
26
35
|
- support --binstubs-source option [#38](https://github.com/chef/appbundle-updater/pull/38) ([lamont-granquist](https://github.com/lamont-granquist))
|
|
27
|
-
<!-- latest_stable_release -->
|
|
28
36
|
|
|
29
37
|
## [v0.6.2](https://github.com/chef/appbundle-updater/tree/v0.6.2) (2018-10-10)
|
|
30
38
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# appbundle-updater
|
|
2
|
+
[](https://buildkite.com/chef-oss/chef-appbundle-updater-master-verify)
|
|
2
3
|
[](https://badge.fury.io/rb/appbundle-updater)
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
**Umbrella Project**: [Chef Foundation](https://github.com/chef/chef-oss-practices/blob/master/projects/chef-foundation.md)
|
|
6
|
+
|
|
7
|
+
**Project State**: [Active](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md#active)
|
|
8
|
+
|
|
9
|
+
**Issues [Response Time Maximum](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: 14 days
|
|
10
|
+
|
|
11
|
+
**Pull Request [Response Time Maximum](https://github.com/chef/chef-oss-practices/blob/master/repo-management/repo-states.md)**: 14 days
|
|
8
12
|
|
|
9
13
|
Helper to update Chef and Chef-DK appbundle'd apps inside of an omnibus bundle.
|
|
10
14
|
|
data/Rakefile
CHANGED
|
@@ -4,11 +4,12 @@ task default: [:style]
|
|
|
4
4
|
begin
|
|
5
5
|
require "chefstyle"
|
|
6
6
|
require "rubocop/rake_task"
|
|
7
|
+
desc "Run Chefstyle tests"
|
|
7
8
|
RuboCop::RakeTask.new(:style) do |task|
|
|
8
9
|
task.options += ["--display-cop-names", "--no-color"]
|
|
9
10
|
end
|
|
10
11
|
rescue LoadError
|
|
11
|
-
puts "chefstyle
|
|
12
|
+
puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed."
|
|
12
13
|
end
|
|
13
14
|
|
|
14
15
|
begin
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.
|
|
1
|
+
0.6.15
|
data/bin/appbundle-updater
CHANGED
|
@@ -57,6 +57,7 @@ def run(cmd)
|
|
|
57
57
|
unless $?.exited? && $?.exitstatus == 0
|
|
58
58
|
raise("Command [#{cmd}] failed!\n\n---BEGIN OUTPUT--\n#{output}\n---END OUTPUT--\n")
|
|
59
59
|
end
|
|
60
|
+
|
|
60
61
|
ENV_KEYS.each { |key| ENV[key] = ENV.delete("_YOLO_#{key}") }
|
|
61
62
|
end
|
|
62
63
|
|
|
@@ -64,14 +65,16 @@ TAR_LONGLINK = "././@LongLink".freeze
|
|
|
64
65
|
|
|
65
66
|
def install_package_dependencies
|
|
66
67
|
banner("Installing Packages")
|
|
67
|
-
case `#{bin_dir}/ohai platform_family`
|
|
68
|
+
case `#{bin_dir}/ohai platform_family` # rubocop: disable Lint/LiteralAsCondition
|
|
68
69
|
when /debian/
|
|
69
70
|
ENV["DEBIAN_FRONTEND"] = "noninteractive"
|
|
70
71
|
run("apt-get -y update")
|
|
71
72
|
run("apt-get -q -y install build-essential git liblzma-dev zlib1g-dev")
|
|
72
73
|
when /fedora/, /rhel/, /amazon/
|
|
73
74
|
if File.exist?("/usr/bin/dnf")
|
|
74
|
-
run("dnf -y install gcc gcc-c++ make git zlib-devel
|
|
75
|
+
run("dnf -y install gcc gcc-c++ make git zlib-devel")
|
|
76
|
+
# lzma-devel has been replaced in fedora 30+ with xz-devel
|
|
77
|
+
run("dnf -y install lzma-devel || dnf -y install xz-devel")
|
|
75
78
|
else
|
|
76
79
|
run("yum -y install gcc gcc-c++ make git zlib-devel lzma-devel")
|
|
77
80
|
end
|
|
@@ -155,9 +158,9 @@ CHEFDK_APPS = [
|
|
|
155
158
|
"#{bin_dir.join("rake")} install"
|
|
156
159
|
),
|
|
157
160
|
App.new(
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
+
"cookstyle",
|
|
162
|
+
"chef/cookstyle",
|
|
163
|
+
nil,
|
|
161
164
|
"#{bin_dir.join("rake")} install"
|
|
162
165
|
),
|
|
163
166
|
App.new(
|
|
@@ -170,7 +173,8 @@ CHEFDK_APPS = [
|
|
|
170
173
|
"inspec",
|
|
171
174
|
"chef/inspec",
|
|
172
175
|
"test integration tools maintenance deploy",
|
|
173
|
-
"#{bin_dir.join("rake")} install"
|
|
176
|
+
"#{bin_dir.join("rake")} install"
|
|
177
|
+
),
|
|
174
178
|
App.new(
|
|
175
179
|
"ohai",
|
|
176
180
|
"chef/ohai",
|
|
@@ -182,7 +186,7 @@ CHEFDK_APPS = [
|
|
|
182
186
|
"test-kitchen/test-kitchen",
|
|
183
187
|
"guard test",
|
|
184
188
|
"#{bin_dir.join("rake")} install"
|
|
185
|
-
)
|
|
189
|
+
),
|
|
186
190
|
].freeze
|
|
187
191
|
|
|
188
192
|
class Updater
|
|
@@ -290,7 +294,7 @@ class CLI
|
|
|
290
294
|
attr_reader :options, :parser
|
|
291
295
|
|
|
292
296
|
def initialize
|
|
293
|
-
@options =
|
|
297
|
+
@options = {}
|
|
294
298
|
@parser = OptionParser.new do |opts|
|
|
295
299
|
opts.banner = "Usage: #{$0} PROJECT APP_NAME GIT_REF"
|
|
296
300
|
opts.on("-t", "--[no-]tarball", "Do a tarball download instead of git clone") do |t|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appbundle-updater
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lamont-granquist
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Updates appbundled apps in Chef's omnibus packages
|
|
14
14
|
email:
|