packaging 0.109.7 → 0.110.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0302fad395c2dbc8aa71645b463a4da5f333341b5f9a542cfd78b72488c4c98d
4
- data.tar.gz: fe97ea4b5923e8efaf3243eca8ddc20e2cd9f58ab097d68b25af53082a8bc7d9
3
+ metadata.gz: f531bbfb5a05625e55cdf14b09928314d13999addf12b7c77ddb8ed954c187e1
4
+ data.tar.gz: f7fc4ca10a227835456ac481b71b14adc916d55e218dc975bcb0c3e6ebd92859
5
5
  SHA512:
6
- metadata.gz: 8cf5ba1d6868d2490a2c1be7a08287ceec001d5d3b4b43f5d0cb8e446cbc566bf0e353e31b41b2acb5ac72441758d7df9ef45df225e9dbc7be3117ebccc62348
7
- data.tar.gz: 83ded7c09cd11571d96c43bf862b5f9e2409ae666b1063d5757b4d2090c3208bc91ce1ce4522ec840f9ccda132a58edd6cf235532b343d9053d240b069172a94
6
+ metadata.gz: 98aa70e3f509f803d1e0e2d65d2121ab81197b9d412ea57ab8c3e8750d68374e87b81a89d10d2597b5b4b58f01873985c21a47047c9df70c63cafae7d9e3d855
7
+ data.tar.gz: 60d5a3851e2765a421327cb7ac105e4f132b1d96d91731eef10da0e39a44976c940360f6ae5effe9869cc230924d1b1d09dce8162cbd0a762826a7ef06a02a0c
@@ -18,6 +18,13 @@ module Pkg
18
18
  source_package_formats: ['src.rpm'],
19
19
  repo: false,
20
20
  },
21
+ '7.2' => {
22
+ architectures: ['power'],
23
+ source_architecture: 'SRPMS',
24
+ package_format: 'rpm',
25
+ source_package_formats: ['src.rpm'],
26
+ repo: false,
27
+ },
21
28
  },
22
29
 
23
30
  'debian' => {
@@ -49,7 +56,7 @@ module Pkg
49
56
  repo: true,
50
57
  },
51
58
  '7' => {
52
- architectures: ['x86_64', 'ppc64le', 'aarch64'],
59
+ architectures: ['x86_64', 'ppc64le'],
53
60
  source_architecture: 'SRPMS',
54
61
  package_format: 'rpm',
55
62
  source_package_formats: ['src.rpm'],
@@ -86,17 +93,17 @@ module Pkg
86
93
  },
87
94
 
88
95
  'osx' => {
89
- '10.15' => {
90
- architectures: ['x86_64'],
96
+ '11' => {
97
+ architectures: ['x86_64', 'arm64'],
91
98
  package_format: 'dmg',
92
99
  repo: false,
93
100
  },
94
- '11' => {
101
+ '12' => {
95
102
  architectures: ['x86_64', 'arm64'],
96
103
  package_format: 'dmg',
97
104
  repo: false,
98
105
  },
99
- '12' => {
106
+ '13' => {
100
107
  architectures: ['x86_64', 'arm64'],
101
108
  package_format: 'dmg',
102
109
  repo: false,
@@ -123,14 +130,6 @@ module Pkg
123
130
  },
124
131
 
125
132
  'sles' => {
126
- '11' => {
127
- architectures: ['x86_64', 'i386'],
128
- source_architecture: 'SRPMS',
129
- package_format: 'rpm',
130
- source_package_formats: ['src.rpm'],
131
- signature_format: 'v3',
132
- repo: true,
133
- },
134
133
  '12' => {
135
134
  architectures: ['x86_64', 'ppc64le'],
136
135
  source_architecture: 'SRPMS',
@@ -184,7 +184,7 @@ module Pkg::Util::Net
184
184
  target_host: nil,
185
185
  extra_flags: nil,
186
186
  dryrun: ENV['DRYRUN']
187
- }.merge(opts.delete_if { |_, value| value.nil? })
187
+ }.merge(opts.compact)
188
188
 
189
189
  stdout, = Pkg::Util::Execution.capture3(rsync_cmd(source, options), true)
190
190
  stdout
@@ -4,7 +4,6 @@ module Pkg::Util
4
4
  require 'benchmark'
5
5
  require 'base64'
6
6
  require 'io/console'
7
- require 'packaging/util/apt_staging_server'
8
7
  require 'packaging/util/build_metadata'
9
8
  require 'packaging/util/date'
10
9
  require 'packaging/util/distribution_server'
@@ -36,11 +36,6 @@ describe 'artifactory.rb' do
36
36
  :repo_config => '',
37
37
  :additional_artifacts => ["./windowsfips/puppet-agent-extras-5.3.1.34-x64.msi"],
38
38
  },
39
- 'osx-10.15-x86_64' => {
40
- :artifact => "./apple/10.15/PC1/x86_64/puppet-agent-5.3.1.34.gf65f9ef-1.osx10.15.dmg",
41
- :repo_config => '',
42
- :additional_artifacts => ["./apple/10.15/PC1/x86_64/puppet-agent-extras-5.3.1.34.gf65f9ef-1.osx10.15.dmg"],
43
- },
44
39
  'osx-11-x86_64' => {
45
40
  :artifact => "./apple/11/PC1/x86_64/puppet-agent-5.3.1.34.gf65f9ef-1.osx11.dmg",
46
41
  :repo_config => '',
@@ -89,12 +84,6 @@ describe 'artifactory.rb' do
89
84
  :package_name => 'path/to/a/windowsfips/package/puppet-agent-5.3.1.34-x64.msi',
90
85
  :all_package_names => ['puppet-agent-5.3.1.34-x64.msi','puppet-agent-extras-5.3.1.34-x64.msi']
91
86
  },
92
- 'osx-10.15-x86_64' => {
93
- :toplevel_repo => 'generic',
94
- :repo_subdirectories => "#{default_repo_name}/#{project}/#{project_version}/osx-10.15-x86_64",
95
- :package_name => 'path/to/an/osx/10.15/package/puppet-agent-5.3.1.34.gf65f9ef-1.osx10.15.dmg',
96
- :all_package_names => ['puppet-agent-5.3.1.34.gf65f9ef-1.osx10.15.dmg', 'puppet-agent-extras-5.3.1.34.gf65f9ef-1.osx10.15.dmg']
97
- },
98
87
  'osx-11-x86_64' => {
99
88
  :toplevel_repo => 'generic',
100
89
  :repo_subdirectories => "#{default_repo_name}/#{project}/#{project_version}/osx-11-x86_64",
@@ -203,7 +203,6 @@ describe 'Pkg::Config' do
203
203
 
204
204
  describe '#platform_data' do
205
205
  platform_tags = %w[
206
- osx-10.15-x86_64
207
206
  osx-11-x86_64
208
207
  ubuntu-18.04-amd64
209
208
  el-6-x86_64
@@ -212,7 +211,6 @@ describe 'Pkg::Config' do
212
211
  ]
213
212
 
214
213
  artifacts =
215
- "./artifacts/apple/10.15/PC1/x86_64/puppet-agent-5.3.2.658.gc79ef9a-1.osx10.15.dmg\n" \
216
214
  "./artifacts/apple/11/PC1/x86_64/puppet-agent-5.3.2.658.gc79ef9a-1.osx11.dmg\n" \
217
215
  "./artifacts/deb/bionic/PC1/puppet-agent_5.3.2-1bionic_amd64.deb\n" \
218
216
  "./artifacts/el/6/PC1/x86_64/puppet-agent-5.3.2.658.gc79ef9a-1.el6.x86_64.rpm\n" \
@@ -31,7 +31,6 @@ describe 'Pkg::Paths' do
31
31
  'pkg/deb/buster/pe-r10k_3.5.2.0-1buster_amd64.deb' => 'debian-10-amd64',
32
32
  'pkg/pe/deb/bionic/pe-puppetserver_2019.8.2.32-1bionic_all.deb' => 'ubuntu-18.04-amd64',
33
33
  'artifacts/deb/focal/puppet6/puppetdb_6.13.0-1focal_all.deb' => 'ubuntu-20.04-amd64',
34
- 'pkg/apple/10.15/puppet6/x86_64/puppet-agent-6.19.0-1.osx10.15.dmg' => 'osx-10.15-x86_64',
35
34
  'pkg/apple/11/puppet6/x86_64/puppet-agent-6.19.0-1.osx11.dmg' => 'osx-11-x86_64',
36
35
  'pkg/windows/puppet-agent-1.9.0-x86.msi' => 'windows-2012-x86',
37
36
  'pkg/pe/rpm/el-6-i386/pe-puppetserver-2017.3.0.3-1.el6.src.rpm' => 'el-6-SRPMS',
@@ -118,11 +117,6 @@ describe 'Pkg::Paths' do
118
117
  .to eq('artifacts/solaris/puppet6/11')
119
118
  end
120
119
 
121
- it 'should be correct for osx' do
122
- expect(Pkg::Paths.artifacts_path('osx-10.15-x86_64'))
123
- .to eq('artifacts/mac/puppet6/10.15/x86_64')
124
- end
125
-
126
120
  it 'should be correct for osx11' do
127
121
  expect(Pkg::Paths.artifacts_path('osx-11-x86_64'))
128
122
  .to eq('artifacts/mac/puppet6/11/x86_64')
@@ -376,7 +370,6 @@ describe 'Pkg::Paths' do
376
370
  .to eq("#{nonfinal_apt_repo_path}/#{nonfinal_repo_name}-release-buster.deb")
377
371
  end
378
372
  it 'returns nil for package formats that do not have release packages' do
379
- expect(Pkg::Paths.release_package_link_path('osx-10.15-x86_64')).to eq(nil)
380
373
  expect(Pkg::Paths.release_package_link_path('osx-11-x86_64')).to eq(nil)
381
374
  expect(Pkg::Paths.release_package_link_path('windows-2012-x86')).to eq(nil)
382
375
  end
@@ -414,7 +407,6 @@ describe 'Pkg::Paths' do
414
407
  .to eq("#{nonfinal_apt_repo_path}/#{nonfinal_repo_name}-release-buster.deb")
415
408
  end
416
409
  it 'returns nil for package formats that do not have release packages' do
417
- expect(Pkg::Paths.release_package_link_path('osx-10.15-x86_64')).to eq(nil)
418
410
  expect(Pkg::Paths.release_package_link_path('osx-11-x86_64')).to eq(nil)
419
411
  expect(Pkg::Paths.release_package_link_path('windows-2012-x86')).to eq(nil)
420
412
  end
@@ -97,7 +97,7 @@ describe 'Pkg::Platforms' do
97
97
  end
98
98
 
99
99
  describe '#platform_lookup' do
100
- ['osx-10.15-x86_64', 'osx-11-x86_64', 'osx-12-x86_64'].each do |platform|
100
+ ['osx-11-x86_64', 'osx-12-x86_64'].each do |platform|
101
101
  it 'should return a hash of platform info' do
102
102
  expect(Pkg::Platforms.platform_lookup(platform)).to be_instance_of(Hash)
103
103
  end
@@ -113,10 +113,6 @@ describe 'Pkg::Platforms' do
113
113
  it 'returns info about a given platform' do
114
114
  expect(Pkg::Platforms.get_attribute('el-6-x86_64', :signature_format)).to eq('v4')
115
115
  end
116
-
117
- it 'fails with a reasonable error when specified attribute is not defined' do
118
- expect { Pkg::Platforms.get_attribute('osx-10.15-x86_64', :signature_format) }.to raise_error(/doesn't have information/)
119
- end
120
116
  end
121
117
 
122
118
  describe '#package_format_for_tag' do
@@ -7,11 +7,10 @@ describe 'Pkg::Retrieve' do
7
7
  remote_target = 'repos'
8
8
  project = 'puppet-agent'
9
9
  ref = 'b25e64984dd505391f248fe5501ad81e2645b6d2'
10
- foss_platforms = ['el-7-x86_64', 'ubuntu-16.04-amd64', 'osx-10.15-x86_64', 'osx-11-x86_64', 'windows-2012-x64']
10
+ foss_platforms = ['el-7-x86_64', 'ubuntu-16.04-amd64','osx-11-x86_64', 'windows-2012-x64']
11
11
  platform_data = {:platform_data => {
12
12
  'aix-7.1-power' => {:artifact => './aix/7.1/PC1/ppc/puppet-agent-5.3.2.155.gb25e649-1.aix7.1.ppc.rpm'},
13
13
  'el-7-x86_64' => {:artifact => './el/7/PC1/x86_64/puppet-agent-5.3.2.155.gb25e649-1.el7.x86_64.rpm'},
14
- 'osx-10.15-x86_64' => {:artifact => './apple/10.15/PC1/x86_64/puppet-agent-5.3.2.155.gb25e649-1.osx10.15.dmg'},
15
14
  'osx-11-x86_64' => {:artifact => './apple/11/PC1/x86_64/puppet-agent-5.3.2.155.gb25e649-1.osx11.dmg'},
16
15
  'sles-11-i386' => {:artifact => './sles/11/PC1/i386/puppet-agent-5.3.2.155.gb25e649-1.sles11.i386.rpm'},
17
16
  'solaris-10-sparc' => {:artifact => './solaris/10/PC1/puppet-agent-5.3.2.155.gb25e649-1.sparc.pkg.gz'},
@@ -63,7 +63,7 @@ describe 'Pkg::Sign' do
63
63
  %W[#{rpm_directory}/aix/7.1/PC1/ppc/puppet-agent-5.5.3-1.aix7.1.ppc.rpm]
64
64
  end
65
65
  let(:v3_rpms) do
66
- %W[#{rpm_directory}/sles/11/PC1/x86_64/puppet-agent-5.5.3-1.sles11.x86_64.rpm]
66
+ %W[#{rpm_directory}/redhatfips/7/PC1/x86_64/puppet-agent-5.5.3-1.redhatfips7.x86_64.rpm]
67
67
  end
68
68
  let(:v4_rpms) do
69
69
  %W[%#{rpm_directory}/el/7/PC1/aarch64/puppet-agent-5.5.3-1.el7.aarch64.rpm]
@@ -45,13 +45,11 @@ describe '#Pkg::Util::Ship' do
45
45
  # Sample data for #reorganize_packages and #ship_pkgs specs
46
46
  retrieved_packages = %w[
47
47
  pkg/deb/bionic/puppet6/puppet-agent_6.19.0-1bionic_amd64.deb
48
- pkg/el/7/puppet6/aarch64/puppet-agent-6.19.0-1.el7.aarch64.rpm
49
48
  pkg/el/7/puppet6/ppc64le/puppet-agent-6.19.0-1.el7.ppc64le.rpm
50
49
  pkg/el/7/puppet6/x86_64/puppet-agent-6.19.0-1.el7.x86_64.rpm
51
50
  pkg/sles/12/puppet6/ppc64le/puppet-agent-6.19.0-1.sles12.ppc64le.rpm
52
51
  pkg/sles/12/puppet6/x86_64/puppet-agent-6.19.0-1.sles12.x86_64.rpm
53
52
  pkg/sles/15/puppet6/x86_64/puppet-agent-6.19.0-1.sles15.x86_64.rpm
54
- pkg/apple/10.15/puppet6/x86_64/puppet-agent-6.19.0-1.osx10.15.dmg
55
53
  pkg/fedora/36/puppet6/x86_64/puppet-agent-6.19.0-1.fc32.x86_64.rpm
56
54
  pkg/windows/puppet-agent-6.19.0-x64.msi
57
55
  pkg/windows/puppet-agent-6.19.0-x86.msi
@@ -64,13 +62,11 @@ describe '#Pkg::Util::Ship' do
64
62
  # Beware apple->mac transforms.
65
63
  expected_reorganized_packages = %w[
66
64
  pkg/bionic/puppet6/puppet-agent_6.19.0-1bionic_amd64.deb
67
- pkg/puppet6/el/7/aarch64/puppet-agent-6.19.0-1.el7.aarch64.rpm
68
65
  pkg/puppet6/el/7/ppc64le/puppet-agent-6.19.0-1.el7.ppc64le.rpm
69
66
  pkg/puppet6/el/7/x86_64/puppet-agent-6.19.0-1.el7.x86_64.rpm
70
67
  pkg/puppet6/sles/12/ppc64le/puppet-agent-6.19.0-1.sles12.ppc64le.rpm
71
68
  pkg/puppet6/sles/12/x86_64/puppet-agent-6.19.0-1.sles12.x86_64.rpm
72
69
  pkg/puppet6/sles/15/x86_64/puppet-agent-6.19.0-1.sles15.x86_64.rpm
73
- pkg/mac/puppet6/10.15/x86_64/puppet-agent-6.19.0-1.osx10.15.dmg
74
70
  pkg/puppet6/fedora/36/x86_64/puppet-agent-6.19.0-1.fc32.x86_64.rpm
75
71
  pkg/windows/puppet6/puppet-agent-6.19.0-x64.msi
76
72
  pkg/windows/puppet6/puppet-agent-6.19.0-x86.msi
data/tasks/jenkins.rake CHANGED
@@ -299,14 +299,6 @@ namespace :pl do
299
299
  Rake::Task['pl:jenkins:stage_nightlies'].invoke
300
300
  Rake::Task['pl:remote:update_nightly_repos'].invoke
301
301
  Rake::Task['pl:remote:deploy_nightlies_to_s3'].invoke
302
-
303
- # This serves as a cheap feature toggle to avoid things not ready to
304
- # use it. It should be removed in future versions.
305
- if ENV['NIGHTLY_SHIP_TO_GCP']
306
- ## apt.repos.puppet.com
307
- Rake::Task['pl:stage_nightly_debs'].invoke
308
- Rake::Task['pl:remote:sync_apt_repo_to_gcp'].invoke
309
- end
310
302
  end
311
303
 
312
304
  task :ship_final => "pl:fetch" do
@@ -314,14 +306,6 @@ namespace :pl do
314
306
  Rake::Task['pl:remote:update_foss_repos'].invoke
315
307
  Rake::Task['pl:remote:deploy_final_builds_to_s3'].invoke
316
308
  Rake::Task['pl:remote:deploy_to_rsync_server'].invoke
317
-
318
- # This serves as a cheap feature toggle to avoid things not ready to
319
- # use it. It should be removed in future versions.
320
- if ENV['STABLE_SHIP_TO_GCP']
321
- ## apt.repos.puppet.com
322
- Rake::Task['pl:stage_stable_debs'].invoke
323
- Rake::Task['pl:remote:sync_apt_repo_to_gcp'].invoke
324
- end
325
309
  end
326
310
 
327
311
  task :stage_release_packages => "pl:fetch" do
data/tasks/ship.rake CHANGED
@@ -297,27 +297,6 @@ namespace :pl do
297
297
  end
298
298
  end
299
299
 
300
- desc "Sync signed apt repos from #{Pkg::Config.apt_signing_server} to Google Cloud Platform"
301
- task :sync_apt_repo_to_gcp => 'pl:fetch' do
302
- GCP_REPO_SYNC = '/usr/local/bin/gcp_repo_sync'
303
- target_site = 'apt.repos.puppet.com'
304
- sync_command_puppet_6 = "#{GCP_REPO_SYNC} #{target_site} puppet6"
305
- sync_command_puppet_7 = "#{GCP_REPO_SYNC} #{target_site} puppet7"
306
- print "Sync apt repos from #{Pkg::Config.apt_signing_server} to #{target_site}? [y,n] "
307
- next unless Pkg::Util.ask_yes_or_no
308
- puts
309
-
310
- Pkg::Util::Execution.retry_on_fail(times: 3) do
311
- Pkg::Util::Net.remote_execute(Pkg::Config.apt_signing_server, sync_command_puppet_6)
312
- end
313
-
314
- Pkg::Util::Execution.retry_on_fail(times: 3) do
315
- Pkg::Util::Net.remote_execute(Pkg::Config.apt_signing_server, sync_command_puppet_7)
316
- end
317
- end
318
- # Keep 'deploy' for backward compatibility
319
- task :deploy_apt_repo_to_gcp => :sync_apt_repo_to_gcp
320
-
321
300
  desc "Sync apt, yum, and downloads.pl.com to AWS S3"
322
301
  task :deploy_final_builds_to_s3 => "pl:fetch" do
323
302
  Rake::Task['pl:remote:deploy_apt_repo_to_s3'].invoke
@@ -390,18 +369,6 @@ namespace :pl do
390
369
  )
391
370
  end
392
371
 
393
- ## This is the new-style apt stager
394
- desc "Stage debs to #{Pkg::Config.apt_signing_server}"
395
- task stage_stable_debs: 'pl:fetch' do
396
- Pkg::Util::AptStagingServer.send_packages('pkg', 'stable')
397
- end
398
- task stage_debs: :stage_stable_debs
399
-
400
- desc "Stage nightly debs to #{Pkg::Config.apt_signing_server}"
401
- task stage_nightly_debs: 'pl:fetch' do
402
- Pkg::Util::AptStagingServer.send_packages('pkg', 'nightly')
403
- end
404
-
405
372
  desc 'Ship built gem to rubygems.org, internal Gem mirror, and public file server'
406
373
  task ship_gem: 'pl:fetch' do
407
374
  # We want to ship a Gem only for projects that build gems, so
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.109.7
4
+ version: 0.110.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet By Perforce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-25 00:00:00.000000000 Z
11
+ date: 2023-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debug
@@ -185,7 +185,6 @@ files:
185
185
  - lib/packaging/sign/rpm.rb
186
186
  - lib/packaging/tar.rb
187
187
  - lib/packaging/util.rb
188
- - lib/packaging/util/apt_staging_server.rb
189
188
  - lib/packaging/util/build_metadata.rb
190
189
  - lib/packaging/util/date.rb
191
190
  - lib/packaging/util/distribution_server.rb
@@ -309,27 +308,27 @@ specification_version: 4
309
308
  summary: Puppet by Perforce packaging automation
310
309
  test_files:
311
310
  - spec/lib/packaging_spec.rb
312
- - spec/lib/packaging/deb_spec.rb
313
- - spec/lib/packaging/deb/repo_spec.rb
314
- - spec/lib/packaging/sign_spec.rb
315
311
  - spec/lib/packaging/tar_spec.rb
316
- - spec/lib/packaging/retrieve_spec.rb
312
+ - spec/lib/packaging/repo_spec.rb
313
+ - spec/lib/packaging/sign_spec.rb
314
+ - spec/lib/packaging/deb/repo_spec.rb
315
+ - spec/lib/packaging/artifactory_spec.rb
316
+ - spec/lib/packaging/config_spec.rb
317
317
  - spec/lib/packaging/platforms_spec.rb
318
+ - spec/lib/packaging/deb_spec.rb
318
319
  - spec/lib/packaging/rpm/repo_spec.rb
319
- - spec/lib/packaging/gem_spec.rb
320
- - spec/lib/packaging/paths_spec.rb
321
- - spec/lib/packaging/util/version_spec.rb
322
- - spec/lib/packaging/util/rake_utils_spec.rb
320
+ - spec/lib/packaging/util/jenkins_spec.rb
321
+ - spec/lib/packaging/util/file_spec.rb
322
+ - spec/lib/packaging/util/misc_spec.rb
323
323
  - spec/lib/packaging/util/git_spec.rb
324
- - spec/lib/packaging/util/os_spec.rb
325
324
  - spec/lib/packaging/util/git_tag_spec.rb
326
325
  - spec/lib/packaging/util/execution_spec.rb
327
- - spec/lib/packaging/util/misc_spec.rb
326
+ - spec/lib/packaging/util/os_spec.rb
328
327
  - spec/lib/packaging/util/gpg_spec.rb
328
+ - spec/lib/packaging/util/version_spec.rb
329
329
  - spec/lib/packaging/util/net_spec.rb
330
- - spec/lib/packaging/util/file_spec.rb
331
- - spec/lib/packaging/util/jenkins_spec.rb
332
330
  - spec/lib/packaging/util/ship_spec.rb
333
- - spec/lib/packaging/repo_spec.rb
334
- - spec/lib/packaging/config_spec.rb
335
- - spec/lib/packaging/artifactory_spec.rb
331
+ - spec/lib/packaging/util/rake_utils_spec.rb
332
+ - spec/lib/packaging/retrieve_spec.rb
333
+ - spec/lib/packaging/paths_spec.rb
334
+ - spec/lib/packaging/gem_spec.rb
@@ -1,8 +0,0 @@
1
- # Utility methods for handling Apt staging server.
2
-
3
- module Pkg::Util::AptStagingServer
4
- def self.send_packages(pkg_directory, apt_component = 'stable')
5
- %x(apt-stage-artifacts --component=#{apt_component} #{pkg_directory})
6
- fail 'APT artifact staging failed.' unless $CHILD_STATUS.success?
7
- end
8
- end