packaging 0.99.10 → 0.99.10.2.gfa4c366

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 0f788b32c3e05aac814dca9f9ace5194cfea0302be6d123c81a2c3d124d150f7
4
- data.tar.gz: a0febe3e56e27da47fa79a9180e4285c7a1b714e15443036a26a71b25ffd0987
2
+ SHA1:
3
+ metadata.gz: ed1069a6e2c970cfd58605a5ef95b379b33c0c14
4
+ data.tar.gz: 59829675f9962b14b61eaca8edcc948e61c3d02a
5
5
  SHA512:
6
- metadata.gz: f86454f7a83fe56d9220efe15a261c500d46208c77e5129ac9c48ed9f3114c30fe717e6bb2406a7edf56314d25c27c05f278409dbbe02cf98872aff27ea60208
7
- data.tar.gz: c18c7c85b88c495aa21b7e9fd9826d8183066aaf49937cad240c62e3bed70b4d970d039f5d0261cfd352238d171720d5615b0e3e60d579c7b86fa941b5b0eef6
6
+ metadata.gz: 68df7464f92bdebf150a86fad3d1caf14c1558d725a0c21d3ce82f3434eb0d89a471addb01d964c64ef00b6d8309460fbc35dcbbbe78a7d49526d8cb9c3bd1ba
7
+ data.tar.gz: 9a5f6ef023197d18ec1bfe1b5535bbe9807af7e2383ff8f25c13b242ab703d05bca016230b7ddf6cabb03ac2e57a42fbf111d52602afd13df098b22fe4bc0ce3
@@ -359,12 +359,12 @@ module Pkg::Util::Net
359
359
  #{tar} -zxvf /tmp/#{tarball_name}.tar.gz -C /tmp/ ;
360
360
  git clone --recursive /tmp/#{tarball_name} /tmp/#{Pkg::Config.project}-#{appendix} ;
361
361
  cd /tmp/#{Pkg::Config.project}-#{appendix} ;
362
- bundle_prefix= ;
363
362
  if [[ -r Gemfile ]]; then
364
363
  source /usr/local/rvm/scripts/rvm; rvm use ruby-2.4.1; bundle install --path .bundle/gems ;
365
- bundle_prefix='bundle exec' ;
364
+ else
365
+ echo "ERROR: Couldn't read Gemfile, can't bundle install."
366
+ exit 1
366
367
  fi ;
367
- $bundle_prefix rake package:bootstrap
368
368
  DOC
369
369
  Pkg::Util::Net.remote_ssh_cmd(host, command)
370
370
  "/tmp/#{Pkg::Config.project}-#{appendix}"
data/tasks/jenkins.rake CHANGED
@@ -53,13 +53,13 @@
53
53
  # pushd git_repo
54
54
  #
55
55
  # ### Clone the packaging repo
56
- # rake package:bootstrap
56
+ # bundle install --path .bundle/gems --bin .bundle/bin --retry 3
57
57
  #
58
58
  # ### Perform the build
59
- # rake pl:build_from_params PARAMS_FILE=$WORKSPACE/BUILD_PROPERTIES
59
+ # bundle exec rake pl:build_from_params PARAMS_FILE=$WORKSPACE/BUILD_PROPERTIES
60
60
  #
61
61
  # ### Send the results
62
- # rake pl:jenkins:ship["artifacts"] PARAMS_FILE=$WORKSPACE/BUILD_PROPERTIES
62
+ # bundle exec rake pl:jenkins:ship["artifacts"] PARAMS_FILE=$WORKSPACE/BUILD_PROPERTIES
63
63
  #
64
64
  # popd
65
65
  # popd
@@ -75,7 +75,7 @@
75
75
  # if [ -n "$DOWNSTREAM_JOB" ] ; then
76
76
  # pushd project
77
77
  # pushd git_repo
78
- # rake pl:jenkins:post["$DOWNSTREAM_JOB"] PARAMS_FILE=$WORKSPACE/BUILD_PROPERTIES
78
+ # bundle exec rake pl:jenkins:post["$DOWNSTREAM_JOB"] PARAMS_FILE=$WORKSPACE/BUILD_PROPERTIES
79
79
  # popd
80
80
  # popd
81
81
  # fi
@@ -37,7 +37,7 @@ pl:jenkins:uber_build NOTIFY=foo@puppetlabs.com
37
37
  Successful completion of packaging will result in the automatic creation of
38
38
  apt/yum repositories on the distribution server with the built packages. To
39
39
  generate client apt/yum repository config files for accessing these packages,
40
- check out the ref of the git sha that was packaged, and run `rake
40
+ check out the ref of the git sha that was packaged, and run `bundle exec rake
41
41
  pl:jenkins:(deb|rpm)_repo_configs`. Configuration files will be generated and
42
42
  deposited locally in pkg/repo_configs.
43
43
  </p>
@@ -146,13 +146,13 @@ pushd project
146
146
  pushd git_repo
147
147
 
148
148
  ### Clone the packaging repo
149
- rake package:bootstrap
149
+ bundle install --path .bundle/gems --bin .bundle/bin --retry 3
150
150
 
151
151
  ### Perform the build
152
- rake $command PARAMS_FILE="$WORKSPACE/BUILD_PROPERTIES" --trace
152
+ bundle exec rake $command PARAMS_FILE="$WORKSPACE/BUILD_PROPERTIES" --trace
153
153
 
154
154
  ### Send the results
155
- rake pl:jenkins:ship["artifacts"] PARAMS_FILE="$WORKSPACE/BUILD_PROPERTIES" --trace
155
+ bundle exec rake pl:jenkins:ship["artifacts"] PARAMS_FILE="$WORKSPACE/BUILD_PROPERTIES" --trace
156
156
 
157
157
  popd
158
158
  popd</command>
@@ -71,16 +71,16 @@ if [ $PACKAGE_BUILD_RESULT -eq 0 ] ; then
71
71
  pushd git_repo
72
72
 
73
73
  ### Clone the packaging repo
74
- rake package:bootstrap --trace
74
+ bundle install --path .bundle/gems --bin .bundle/bin --retry 3
75
75
 
76
76
  ### Run repo creation
77
77
  <% if Pkg::Config.final_mocks and not Pkg::Config.final_mocks.empty? %>
78
- rake PARAMS_FILE=../../BUILD_PROPERTIES pl:jenkins:rpm_repos --trace
78
+ bundle exec rake PARAMS_FILE=../../BUILD_PROPERTIES pl:jenkins:rpm_repos --trace
79
79
  <% else %>
80
80
  echo "No mock/rpm targets found, skipping rpm repo creation"
81
81
  <% end %>
82
82
  <% if Pkg::Config.cows and not Pkg::Config.cows.empty? %>
83
- rake PARAMS_FILE=../../BUILD_PROPERTIES pl:jenkins:deb_repos --trace
83
+ bundle exec rake PARAMS_FILE=../../BUILD_PROPERTIES pl:jenkins:deb_repos --trace
84
84
  <% else %>
85
85
  echo "No cow/deb targets found, skipping deb repo creation"
86
86
  <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.10
4
+ version: 0.99.10.2.gfa4c366
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-15 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -217,36 +217,36 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
217
  version: 2.0.0
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - ">="
220
+ - - ">"
221
221
  - !ruby/object:Gem::Version
222
- version: '0'
222
+ version: 1.3.1
223
223
  requirements: []
224
224
  rubyforge_project:
225
- rubygems_version: 2.7.6
225
+ rubygems_version: 2.6.14
226
226
  signing_key:
227
227
  specification_version: 4
228
228
  summary: Puppet Labs' packaging automation
229
229
  test_files:
230
- - spec/lib/packaging/deb/repo_spec.rb
230
+ - spec/lib/packaging/artifactory_spec.rb
231
231
  - spec/lib/packaging/config_spec.rb
232
+ - spec/lib/packaging/deb/repo_spec.rb
233
+ - spec/lib/packaging/deb_spec.rb
234
+ - spec/lib/packaging/paths_spec.rb
235
+ - spec/lib/packaging/platforms_spec.rb
236
+ - spec/lib/packaging/repo_spec.rb
237
+ - spec/lib/packaging/retrieve_spec.rb
238
+ - spec/lib/packaging/rpm/repo_spec.rb
239
+ - spec/lib/packaging/tar_spec.rb
232
240
  - spec/lib/packaging/util/execution_spec.rb
233
- - spec/lib/packaging/util/rake_utils_spec.rb
234
- - spec/lib/packaging/util/misc_spec.rb
235
- - spec/lib/packaging/util/ship_spec.rb
236
- - spec/lib/packaging/util/jenkins_spec.rb
237
- - spec/lib/packaging/util/git_tag_spec.rb
238
241
  - spec/lib/packaging/util/file_spec.rb
239
- - spec/lib/packaging/util/net_spec.rb
240
242
  - spec/lib/packaging/util/git_spec.rb
241
- - spec/lib/packaging/util/version_spec.rb
243
+ - spec/lib/packaging/util/git_tag_spec.rb
242
244
  - spec/lib/packaging/util/gpg_spec.rb
245
+ - spec/lib/packaging/util/jenkins_spec.rb
246
+ - spec/lib/packaging/util/misc_spec.rb
247
+ - spec/lib/packaging/util/net_spec.rb
243
248
  - spec/lib/packaging/util/os_spec.rb
244
- - spec/lib/packaging/deb_spec.rb
245
- - spec/lib/packaging/retrieve_spec.rb
246
- - spec/lib/packaging/rpm/repo_spec.rb
247
- - spec/lib/packaging/platforms_spec.rb
248
- - spec/lib/packaging/artifactory_spec.rb
249
- - spec/lib/packaging/repo_spec.rb
250
- - spec/lib/packaging/paths_spec.rb
251
- - spec/lib/packaging/tar_spec.rb
249
+ - spec/lib/packaging/util/rake_utils_spec.rb
250
+ - spec/lib/packaging/util/ship_spec.rb
251
+ - spec/lib/packaging/util/version_spec.rb
252
252
  - spec/lib/packaging_spec.rb