simp-rake-helpers 5.7.1 → 5.8.0
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/.travis.yml +7 -6
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -1
- data/lib/simp/rake/build/auto.rb +21 -20
- data/lib/simp/rake/build/build.rb +16 -1
- data/lib/simp/rake/helpers/version.rb +1 -1
- data/lib/simp/rake/pkg.rb +1 -0
- data/lib/simp/rake/pupmod/helpers.rb +2 -1
- data/lib/simp/relchecks.rb +2 -1
- data/spec/acceptance/nodesets/default.yml +61 -7
- data/spec/lib/simp/relchecks_compare_latest_tag_spec.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8920db3e73c3ba87afa8a962d9151cf6ef35bd211103863ceea18288b87a9ad0
|
|
4
|
+
data.tar.gz: 6cf4521d6fde71cb20f52b8ff99a3e85d53b10a214a79a4e0d58cd1de06ddcd4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79da235de9c03aa8aab557994f2ad426139794e30bc099e35c0d67d7959b2f3acf860c7513b3119a23274ff4aa8a71e2bd3fd5b9a59e11e1c25eb275eda2d307
|
|
7
|
+
data.tar.gz: a98b400626152db94a6a1b0a836eb0f7cbaf3f663428b9ed1eee2465549dbb344a8d8d563ed3144a0263569e87a33c5c6a598c8034faa1a2983b19164e8ce5b6
|
data/.travis.yml
CHANGED
|
@@ -17,24 +17,25 @@ addons:
|
|
|
17
17
|
|
|
18
18
|
before_install:
|
|
19
19
|
- rm -f Gemfile.lock
|
|
20
|
+
- gem install -v '~> 1.17' bundler
|
|
20
21
|
|
|
21
22
|
jobs:
|
|
22
23
|
include:
|
|
23
24
|
- stage: spec
|
|
24
|
-
rvm: 2.
|
|
25
|
+
rvm: 2.5.1
|
|
25
26
|
script:
|
|
26
27
|
- bundle exec rake spec
|
|
27
28
|
|
|
28
29
|
- stage: acceptance
|
|
29
30
|
sudo: required
|
|
30
|
-
rvm: 2.
|
|
31
|
+
rvm: 2.5.1
|
|
31
32
|
services:
|
|
32
33
|
- docker
|
|
33
34
|
script:
|
|
34
|
-
- travis_wait
|
|
35
|
+
- travis_wait 90 unbuffer bundle exec rake acceptance
|
|
35
36
|
|
|
36
37
|
- stage: deploy
|
|
37
|
-
rvm: 2.
|
|
38
|
+
rvm: 2.5.1
|
|
38
39
|
if: 'fork = false AND tag = true'
|
|
39
40
|
script:
|
|
40
41
|
- true
|
|
@@ -49,12 +50,12 @@ jobs:
|
|
|
49
50
|
secure: "aoPmOZ3WgjNJ56UXmamKxaRv37iUaxKekAeS8n2fPk78X/nU2qGjdDHFH+SBrfl33PyzsGnS3WAANMKaIkAgssvKoaII/sAC+Sl6q1eyVUprZqloXrG+cHlnHY4GnziWEH3JrkHDChW0xoJq7hhpj7qTRKrEIp6nA25MjozjveoL+HH4kKy/ACJhiEdsYTFaDLYYFY50gGUL9KjIkwN6g9d+dIzG9JqcYoDbneQlO6/23yr4GiAHQ8HM1j5tUoBqJad+CWjWhSY7pbfYBy2ziwVhFy1qoOS4/bhlasRCsLTtz0AjjR0YWOhJap1vJqYhrSxtvhmVuzScmDkueAem/PfWS3XCQvbmjdmFMzPOxo0aRRJMlaeVWRsZ/aVFC7ngpRzokq1duZEKI47xZC27vJSOp3RZMmYl/7GsykoYkqHHsTvzSALEQiVtQq8sIOtN0JOTFI8H4LSMirXuqGq+SgCJiAQ3mQzSgh50TXiZaA2UPPcQaw4AzY36BRKs1cgw3cEWuL38O2cWUTAzEE4SUh499wrU5x+N0PsYL0AvMFONsRaq5epOYrlIL9UPSL/qZRLmzpcEWZRfOX4Ni5N6Aa9ZR8juenR6UmE79S2dupBxQeinkdfXuWznUZH7BcnUDoz8rErABpJGHNVY60dUO/s055WCr7Y95Gi+H75X9/I="
|
|
50
51
|
on:
|
|
51
52
|
tags: true
|
|
52
|
-
rvm: 2.
|
|
53
|
+
rvm: 2.5.1
|
|
53
54
|
condition: '($SKIP_PUBLISH != true)'
|
|
54
55
|
- provider: releases
|
|
55
56
|
api_key:
|
|
56
57
|
secure: "QKvAL4yAk8u9prJT6dFzKvszJfoo5/R9jIJ/WEUwdH17jij9Q/XhNrUzJZnrdVtqq4yCK6UqGqkRMMn2YLOKthoJycLEXzH+ZeCxBwzyN6uQkLmK5Mx43H+NNCsRkYTmcOdi4wJraWaWVq7XBxz6XdNRUkV99WyIh93wVnTwZuJxvF9koDFq+lRR4qRPh5Xn8HjKEZNPY7QHaecqsyWjgdEILWaQk/32IU20dLCT7U3jDdSuk92p24gWlkvTJ/gP+IYKWEPhgMMpx+WAtGGC+djMyZUrkaKEa/ennkOcFgqJ6UtDEInEtTBFWScGL70dwHORbEVExp9AKcLP3TmMyQ/36ybu7yrgcp6L995tM4Huez3GBM6NJ8xl/hYG3D1QwwoXGnWfUjQW2we7h8gcvl2yUSx59pb2V5QW3nCbD8rAiF/kpAcgwWyBT3iLpMer2j0Ux05NCBGqsltl9J944M+pLtO+YKldUw7uGDWMQQzq8/2m5+MoE4fvTgnaJ0rv0eRLWfNH2RQ565mE95nyJC/wXz/XB2v/KKHrf8FQZRIavH4Nuo4E2+tU8u2APU/n+gP8iQrtd86Nlo5RrBTu+NoDPDrM5OBnVYTT/AUAEUggXTPgZsqwZrSDSBEt0VbExnwQ5QMGIB9ZX+ZunrEZ6NeH8hV5hm67WYZ+qRFOPvI="
|
|
57
58
|
on:
|
|
58
59
|
tags: true
|
|
59
|
-
rvm: 2.
|
|
60
|
+
rvm: 2.5.1
|
|
60
61
|
condition: '($SKIP_PUBLISH != true)'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
### 5.8.0 / 2019-02-14
|
|
2
|
+
* Add SIMP_BUILD_update_packages to allow users to update the packages.yaml
|
|
3
|
+
* file at build time if desired.
|
|
4
|
+
* Bump upper bound on puppet to < 7
|
|
5
|
+
* Add rakelib/ to the list of non-mission files/directories
|
|
6
|
+
to exclude when comparing with the latest tag in
|
|
7
|
+
pkg:compare_latest_tag and compare_latest_tag
|
|
8
|
+
|
|
1
9
|
### 5.7.1 / 2018-12-10
|
|
2
10
|
* Fix long standing logic issues that were causing download failures
|
|
3
11
|
|
data/Gemfile
CHANGED
data/lib/simp/rake/build/auto.rb
CHANGED
|
@@ -95,26 +95,27 @@ module Simp::Rake::Build
|
|
|
95
95
|
* :key_name => Key name to sign packages [Default: 'dev']
|
|
96
96
|
|
|
97
97
|
ENV vars:
|
|
98
|
-
- SIMP_BUILD_isos
|
|
99
|
-
- SIMP_BUILD_distro
|
|
100
|
-
|
|
101
|
-
- SIMP_BUILD_prompt
|
|
102
|
-
|
|
103
|
-
- SIMP_BUILD_staging_dir
|
|
104
|
-
|
|
105
|
-
- SIMP_BUILD_rm_staging_dir
|
|
106
|
-
- SIMP_BUILD_overlay
|
|
107
|
-
- SIMP_BUILD_force_dirty
|
|
108
|
-
- SIMP_BUILD_docs
|
|
109
|
-
- SIMP_BUILD_checkout
|
|
110
|
-
- SIMP_BUILD_bundle
|
|
111
|
-
- SIMP_BUILD_unpack
|
|
112
|
-
- SIMP_BUILD_unpack_merge
|
|
113
|
-
- SIMP_BUILD_prune
|
|
114
|
-
- SIMP_BUILD_iso_name
|
|
115
|
-
- SIMP_BUILD_iso_tag
|
|
116
|
-
-
|
|
117
|
-
-
|
|
98
|
+
- SIMP_BUILD_isos => Path to the base OS ISO images
|
|
99
|
+
- SIMP_BUILD_distro => Distribution to build
|
|
100
|
+
See '#{File.join(@distro_build_dir, 'build_metadata.yaml')}'}
|
|
101
|
+
- SIMP_BUILD_prompt => 'no' disables asking questions.
|
|
102
|
+
Will default to a full build and *will* erase existing artifacts.
|
|
103
|
+
- SIMP_BUILD_staging_dir => Path to stage big build assets
|
|
104
|
+
[Default: './SIMP_ISO_STAGING']
|
|
105
|
+
- SIMP_BUILD_rm_staging_dir => 'no' do not forcibly remove the staging dir before starting
|
|
106
|
+
- SIMP_BUILD_overlay => 'no' uses an existing DVD overlay if found
|
|
107
|
+
- SIMP_BUILD_force_dirty => 'yes' tries to checks out subrepos even if dirty
|
|
108
|
+
- SIMP_BUILD_docs => 'yes' builds & includes documentation
|
|
109
|
+
- SIMP_BUILD_checkout => 'no' will skip the git repo checkouts
|
|
110
|
+
- SIMP_BUILD_bundle => 'no' skips running bundle in each subrepo
|
|
111
|
+
- SIMP_BUILD_unpack => 'no' skips the unpack section
|
|
112
|
+
- SIMP_BUILD_unpack_merge => 'no' prevents auto-merging the unpacked DVD
|
|
113
|
+
- SIMP_BUILD_prune => 'no' passes :prune=>false to iso:build
|
|
114
|
+
- SIMP_BUILD_iso_name => Renames the output ISO filename [Default: false]
|
|
115
|
+
- SIMP_BUILD_iso_tag => Appended to the output ISO's filename [Default: false]
|
|
116
|
+
- SIMP_BUILD_update_packages => Automatically update any necessary packages in the packages.yaml file [Default: false]
|
|
117
|
+
- SIMP_BUILD_verbose => 'yes' enables verbose reporting. [Default: 'no']
|
|
118
|
+
- SIMP_BUILD_signing_key => The name of the GPG key to use to sign packages. [Default: 'dev']
|
|
118
119
|
EOM
|
|
119
120
|
|
|
120
121
|
task :auto, [:iso_paths,
|
|
@@ -301,7 +301,22 @@ module Simp::Rake::Build
|
|
|
301
301
|
# Do we have a valid external source?
|
|
302
302
|
package_source = known_package_hash.find{|k,h| h[:rpm_name] == package_to_download}.last[:source]
|
|
303
303
|
if package_source && (package_source =~ %r(^[a-z]+://))
|
|
304
|
-
|
|
304
|
+
begin
|
|
305
|
+
download_rpm(package_to_download, yum_conf, package_source)
|
|
306
|
+
rescue => e
|
|
307
|
+
if ['yes','true'].include?(ENV['SIMP_BUILD_update_packages'])
|
|
308
|
+
pkg_shortname = known_package_hash.find {|k,v| v[:rpm_name] == package_to_download }
|
|
309
|
+
|
|
310
|
+
if pkg_shortname
|
|
311
|
+
pkg_shortname = pkg_shortname.first
|
|
312
|
+
download_rpm(pkg_shortname, yum_conf)
|
|
313
|
+
else
|
|
314
|
+
raise(e)
|
|
315
|
+
end
|
|
316
|
+
else
|
|
317
|
+
raise(e)
|
|
318
|
+
end
|
|
319
|
+
end
|
|
305
320
|
else
|
|
306
321
|
# If you get here, then you'll need to have an internal mirror of the
|
|
307
322
|
# repositories in question. This covers things like private RPMs as
|
data/lib/simp/rake/pkg.rb
CHANGED
|
@@ -324,6 +324,7 @@ class Simp::Rake::Pupmod::Helpers < ::Rake::TaskLib
|
|
|
324
324
|
- Gemfile
|
|
325
325
|
- Gemfile.lock
|
|
326
326
|
- Rakefile
|
|
327
|
+
- rakelib directory
|
|
327
328
|
- spec directory
|
|
328
329
|
- doc directory
|
|
329
330
|
EOM
|
|
@@ -352,7 +353,7 @@ class Simp::Rake::Pupmod::Helpers < ::Rake::TaskLib
|
|
|
352
353
|
# determine mission-impacting files that have changed
|
|
353
354
|
files_changed = `git diff tags/#{last_tag} --name-only`.strip.split("\n")
|
|
354
355
|
files_changed.delete_if do |file|
|
|
355
|
-
file[0] == '.'
|
|
356
|
+
file[0] == '.' || file =~ /^Gemfile/ || file == 'Rakefile' || file =~/^spec\// || file =~/^doc\// || file =~/^rakelib\//
|
|
356
357
|
end
|
|
357
358
|
|
|
358
359
|
if files_changed.empty?
|
data/lib/simp/relchecks.rb
CHANGED
|
@@ -62,6 +62,7 @@ class Simp::RelChecks
|
|
|
62
62
|
# - Gemfile
|
|
63
63
|
# - Gemfile.lock
|
|
64
64
|
# - Rakefile
|
|
65
|
+
# - rakelib directory
|
|
65
66
|
# - spec directory
|
|
66
67
|
# - doc directory
|
|
67
68
|
#
|
|
@@ -86,7 +87,7 @@ class Simp::RelChecks
|
|
|
86
87
|
# determine mission-impacting files that have changed
|
|
87
88
|
files_changed = `git diff tags/#{last_tag} --name-only`.strip.split("\n")
|
|
88
89
|
files_changed.delete_if do |file|
|
|
89
|
-
file[0] == '.' or file == 'Rakefile' or file =~ /^Gemfile|^spec\/|^doc\//
|
|
90
|
+
file[0] == '.' or file == 'Rakefile' or file =~ /^Gemfile|^spec\/|^doc\/|^rakelib\//
|
|
90
91
|
end
|
|
91
92
|
|
|
92
93
|
if files_changed.empty?
|
|
@@ -18,11 +18,36 @@ HOSTS:
|
|
|
18
18
|
- 'yum install -y rpm-build augeas-devel createrepo genisoimage git gnupg2 libicu-devel libxml2 libxml2-devel libxslt libxslt-devel rpmdevtools which'
|
|
19
19
|
# rvm build-deps
|
|
20
20
|
- 'yum install -y libyaml-devel glibc-headers autoconf gcc-c++ glibc-devel readline-devel libffi-devel openssl-devel automake libtool bison sqlite-devel'
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
|
|
22
|
+
#
|
|
23
|
+
# Do our best to get one of the keys from at one of the servers, and to
|
|
24
|
+
# trust the right ones if the GPG keyservers return bad keys
|
|
25
|
+
#
|
|
26
|
+
# These are the keys we want:
|
|
27
|
+
#
|
|
28
|
+
# 409B6B1796C275462A1703113804BB82D39DC0E3 # mpapis@gmail.com
|
|
29
|
+
# 7D2BAF1CF37B13E2069D6956105BD0E739499BDB # piotr.kuczynski@gmail.com
|
|
30
|
+
#
|
|
31
|
+
# See:
|
|
32
|
+
# - https://rvm.io/rvm/security
|
|
33
|
+
# - https://github.com/rvm/rvm/blob/master/docs/gpg.md
|
|
34
|
+
# - https://github.com/rvm/rvm/issues/4449
|
|
35
|
+
# - https://github.com/rvm/rvm/issues/4250
|
|
36
|
+
# - https://seclists.org/oss-sec/2018/q3/174
|
|
37
|
+
#
|
|
38
|
+
# NOTE (mostly to self): In addition to RVM's documented procedures,
|
|
39
|
+
# importing from https://keybase.io/mpapis may be a practical
|
|
40
|
+
# alternative for 409B6B1796C275462A1703113804BB82D39DC0E3:
|
|
41
|
+
#
|
|
42
|
+
# curl https://keybase.io/mpapis/pgp_keys.asc | gpg2 --import
|
|
43
|
+
#
|
|
44
|
+
- 'runuser build_user -l -c "for i in {1..5}; do { gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 || gpg2 --keyserver hkp://pgp.mit.edu --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 || gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3; } && break || sleep 1; done"'
|
|
45
|
+
- 'runuser build_user -l -c "for i in {1..5}; do { gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB || gpg2 --keyserver hkp://pgp.mit.edu --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB || gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB; } && break || sleep 1; done"'
|
|
46
|
+
# - 'runuser build_user -l -c "gpg2 --refresh-keys"'
|
|
47
|
+
- 'runuser build_user -l -c "curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-installer -o rvm-installer && curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-installer.asc -o rvm-installer.asc && gpg2 --verify rvm-installer.asc rvm-installer && bash rvm-installer"'
|
|
23
48
|
- 'runuser build_user -l -c "rvm install 2.4"'
|
|
24
49
|
- 'runuser build_user -l -c "rvm use --default 2.4"'
|
|
25
|
-
- 'runuser build_user -l -c "rvm all do gem install bundler"'
|
|
50
|
+
- 'runuser build_user -l -c "rvm all do gem install bundler -v \"~> 1.16\""'
|
|
26
51
|
mount_folders:
|
|
27
52
|
folder1:
|
|
28
53
|
host_path: ./
|
|
@@ -39,19 +64,48 @@ HOSTS:
|
|
|
39
64
|
docker_image_commands:
|
|
40
65
|
- 'yum install -y epel-release'
|
|
41
66
|
- 'ln -sf /bin/true /usr/bin/systemctl'
|
|
67
|
+
# Work around regression in beaker-docker
|
|
68
|
+
# https://github.com/puppetlabs/beaker-docker/pull/15/files
|
|
69
|
+
- 'yum install -y sudo openssh-server openssh-clients'
|
|
70
|
+
- "sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config"
|
|
71
|
+
- "sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config"
|
|
72
|
+
- "sed -ri 's/^#?UseDNS .*/UseDNS no/' /etc/ssh/sshd_config"
|
|
42
73
|
- "echo 'Defaults:build_user !requiretty' >> /etc/sudoers"
|
|
43
74
|
- "echo 'build_user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
|
44
75
|
- 'useradd -b /home -m -c "Build User" -s /bin/bash -U build_user'
|
|
45
76
|
- 'yum install -y facter rubygem-json'
|
|
46
77
|
# simp build-deps
|
|
47
78
|
- 'yum install -y rpm-build augeas-devel createrepo genisoimage git gnupg2 libicu-devel libxml2 libxml2-devel libxslt libxslt-devel rpmdevtools clamav-update which'
|
|
79
|
+
|
|
48
80
|
# rvm build-deps
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
81
|
+
#
|
|
82
|
+
# Do our best to get one of the keys from at one of the servers, and to
|
|
83
|
+
# trust the right ones if the GPG keyservers return bad keys
|
|
84
|
+
#
|
|
85
|
+
# These are the keys we want:
|
|
86
|
+
#
|
|
87
|
+
# 409B6B1796C275462A1703113804BB82D39DC0E3 # mpapis@gmail.com
|
|
88
|
+
# 7D2BAF1CF37B13E2069D6956105BD0E739499BDB # piotr.kuczynski@gmail.com
|
|
89
|
+
#
|
|
90
|
+
# See:
|
|
91
|
+
# - https://rvm.io/rvm/security
|
|
92
|
+
# - https://github.com/rvm/rvm/blob/master/docs/gpg.md
|
|
93
|
+
# - https://github.com/rvm/rvm/issues/4449
|
|
94
|
+
# - https://github.com/rvm/rvm/issues/4250
|
|
95
|
+
# - https://seclists.org/oss-sec/2018/q3/174
|
|
96
|
+
#
|
|
97
|
+
# NOTE (mostly to self): In addition to RVM's documented procedures,
|
|
98
|
+
# importing from https://keybase.io/mpapis may be a practical
|
|
99
|
+
# alternative for 409B6B1796C275462A1703113804BB82D39DC0E3:
|
|
100
|
+
#
|
|
101
|
+
# curl https://keybase.io/mpapis/pgp_keys.asc | gpg2 --import
|
|
102
|
+
#
|
|
103
|
+
- 'runuser build_user -l -c "for i in {1..5}; do { gpg2 --keyserver hkp://pgp.mit.edu --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 || gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3; } && { gpg2 --keyserver hkp://pgp.mit.edu --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB || gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB; } && break || sleep 1; done"'
|
|
104
|
+
- 'runuser build_user -l -c "gpg2 --refresh-keys"'
|
|
105
|
+
- 'runuser build_user -l -c "curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-installer -o rvm-installer && curl -sSL https://raw.githubusercontent.com/rvm/rvm/stable/binscripts/rvm-installer.asc -o rvm-installer.asc && gpg2 --verify rvm-installer.asc rvm-installer && bash rvm-installer"'
|
|
52
106
|
- 'runuser build_user -l -c "rvm install 2.4"'
|
|
53
107
|
- 'runuser build_user -l -c "rvm use --default 2.4"'
|
|
54
|
-
- 'runuser build_user -l -c "rvm all do gem install bundler"'
|
|
108
|
+
- 'runuser build_user -l -c "rvm all do gem install bundler -v \"~> 1.16\""'
|
|
55
109
|
- 'yum install -y rpm-sign'
|
|
56
110
|
mount_folders:
|
|
57
111
|
folder1:
|
|
@@ -31,7 +31,7 @@ describe 'Simp::RelChecks.compare_latest_tag' do
|
|
|
31
31
|
Simp::RelChecks.expects(:`).with('git fetch -t origin 2>/dev/null').returns("\n")
|
|
32
32
|
Simp::RelChecks.expects(:`).with('git tag -l').returns("1.0.0\nv1.0.1\n1.1.0\n")
|
|
33
33
|
Simp::RelChecks.expects(:`).with('git diff tags/1.1.0 --name-only').returns(
|
|
34
|
-
".travis.yml\nRakefile\nGemfile.lock\nspec/some_spec.rb\ndoc/index.html\n")
|
|
34
|
+
".travis.yml\nRakefile\nGemfile.lock\nspec/some_spec.rb\ndoc/index.html\nrakelib/mytasks.rake\n")
|
|
35
35
|
|
|
36
36
|
msg = " No new tag required: No significant files have changed since '1.1.0' tag\n"
|
|
37
37
|
expect{ Simp::RelChecks.compare_latest_tag(component_dir) }.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simp-rake-helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Tessmer
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: simp-beaker-helpers
|
|
@@ -68,7 +68,7 @@ dependencies:
|
|
|
68
68
|
version: '3.0'
|
|
69
69
|
- - "<"
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
|
-
version: '
|
|
71
|
+
version: '7.0'
|
|
72
72
|
type: :runtime
|
|
73
73
|
prerelease: false
|
|
74
74
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -78,7 +78,7 @@ dependencies:
|
|
|
78
78
|
version: '3.0'
|
|
79
79
|
- - "<"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '
|
|
81
|
+
version: '7.0'
|
|
82
82
|
- !ruby/object:Gem::Dependency
|
|
83
83
|
name: puppet-lint
|
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -203,6 +203,20 @@ dependencies:
|
|
|
203
203
|
- - "~>"
|
|
204
204
|
- !ruby/object:Gem::Version
|
|
205
205
|
version: '1.0'
|
|
206
|
+
- !ruby/object:Gem::Dependency
|
|
207
|
+
name: ruby-progressbar
|
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
|
209
|
+
requirements:
|
|
210
|
+
- - "~>"
|
|
211
|
+
- !ruby/object:Gem::Version
|
|
212
|
+
version: '1.0'
|
|
213
|
+
type: :runtime
|
|
214
|
+
prerelease: false
|
|
215
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
216
|
+
requirements:
|
|
217
|
+
- - "~>"
|
|
218
|
+
- !ruby/object:Gem::Version
|
|
219
|
+
version: '1.0'
|
|
206
220
|
- !ruby/object:Gem::Dependency
|
|
207
221
|
name: pry
|
|
208
222
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -549,7 +563,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
549
563
|
version: '0'
|
|
550
564
|
requirements: []
|
|
551
565
|
rubyforge_project:
|
|
552
|
-
rubygems_version: 2.
|
|
566
|
+
rubygems_version: 2.7.8
|
|
553
567
|
signing_key:
|
|
554
568
|
specification_version: 4
|
|
555
569
|
summary: SIMP rake helpers
|