apt_stage_artifacts 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/apt_stage_artifacts.rb +5 -2
- data/lib/mixins/constants.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4f50352d05718bbbe350ea4c6dfc1bca13c3286d
|
4
|
+
data.tar.gz: 021f50e22c595261541fec6db58c9fe9ffff7588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1222f2be4b58acfa9fb5c42afa719b5025e7504351e3ae8d42e3048d116ea7c8ac3658558411835650fa712f624b035c00f3d4c18c0cf6618ae4fb05bc15bb17
|
7
|
+
data.tar.gz: 11ee72ca13adbbb277edad093915a4febc524cc61e179a8c895616407cf8278e8434da55641c14632f37f698354ebddd352762f30999710e8aae51fc5599ccfe
|
data/lib/apt_stage_artifacts.rb
CHANGED
@@ -77,13 +77,16 @@ class AptStageArtifacts
|
|
77
77
|
if File.directory?(File.join(@top_directory, 'deb'))
|
78
78
|
@top_directory = File.join(@top_directory, 'deb')
|
79
79
|
end
|
80
|
+
unless File.directory?(@top_directory)
|
81
|
+
fatal "Artifact directory \"#{@top_directory}\" does not exist"
|
82
|
+
end
|
80
83
|
elsif File.directory?('./output/deb')
|
81
84
|
@top_directory = './output/deb'
|
82
85
|
elsif File.directory?('./pkg/deb')
|
83
86
|
@top_directory = './pkg/deb'
|
84
87
|
else
|
85
|
-
logger.
|
86
|
-
exit
|
88
|
+
logger.warn 'Cannot find .deb artifacts. Neither pkg/deb nor output/deb exist. Skipping.'
|
89
|
+
exit 0
|
87
90
|
end
|
88
91
|
|
89
92
|
logger.info "Searching for puppetN/*.deb packages in #{@top_directory}"
|
data/lib/mixins/constants.rb
CHANGED
@@ -12,8 +12,8 @@ class AptStageArtifacts
|
|
12
12
|
|
13
13
|
# Debian/Ubuntu codenames that we care about.
|
14
14
|
# Some codenames are skipped because we don't/haven't shipped for them.
|
15
|
-
DEBIAN_CODENAMES = %w[jessie stretch buster bullseye bookworm trixie]
|
16
|
-
UBUNTU_CODENAMES = %w[xenial bionic focal groovy]
|
15
|
+
DEBIAN_CODENAMES = %w[wheezy jessie stretch buster bullseye bookworm trixie]
|
16
|
+
UBUNTU_CODENAMES = %w[lucid precise trusty xenial bionic focal groovy]
|
17
17
|
VALID_CODENAMES = DEBIAN_CODENAMES | UBUNTU_CODENAMES
|
18
18
|
|
19
19
|
# Validation constraints
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apt_stage_artifacts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Release Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
196
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.
|
197
|
+
rubygems_version: 2.6.11
|
198
198
|
signing_key:
|
199
199
|
specification_version: 4
|
200
200
|
summary: Stages .deb artifacts to a remote freight repository
|