ood_packaging 0.0.2.r2.0 → 0.0.4.r2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ood_packaging/build_box.rb +2 -0
- data/lib/ood_packaging/package.rb +7 -1
- data/lib/ood_packaging/utils.rb +1 -1
- data/lib/ood_packaging/version.rb +3 -3
- 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: bd3aeeb95678a5bbb1364254734c6fcb29b52f0d864edc0c0f6142e03a7e5165
|
4
|
+
data.tar.gz: 6ffdfc8efbfb4b8cf1bd5ed7170203c40ed0a7b3f075a53a0d415bf945808b61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f72229076dfddf1dd90d3817a8bd07b4594c436bce2ba5bebf63a9f3705f8fe0aa62608d2095418339710c41d7654af3fa200e1af0baacc78758c1c8b4ff4436
|
7
|
+
data.tar.gz: 710040bdbcf6ef1d765d0ae9b9afbb6798e38245b6e5e7e213fc8a94fc99cd7ef836fcf85b781f67c31813c133e80f7e07f93316eb4e44fae260d25268d57de3
|
@@ -12,10 +12,12 @@ class OodPackaging::BuildBox
|
|
12
12
|
BASE_IMAGES = {
|
13
13
|
'el7' => 'centos:7',
|
14
14
|
'el8' => 'rockylinux/rockylinux:8',
|
15
|
+
'ubuntu-18.04' => 'ubuntu:18.04',
|
15
16
|
'ubuntu-20.04' => 'ubuntu:20.04'
|
16
17
|
}.freeze
|
17
18
|
|
18
19
|
CODENAMES = {
|
20
|
+
'ubuntu-18.04' => 'bionic',
|
19
21
|
'ubuntu-20.04' => 'focal'
|
20
22
|
}.freeze
|
21
23
|
|
@@ -261,7 +261,7 @@ class OodPackaging::Package
|
|
261
261
|
puts "Build FAILED package=#{package} dist=#{build_box.dist}".red
|
262
262
|
raise
|
263
263
|
ensure
|
264
|
-
|
264
|
+
container_attach! if attach?
|
265
265
|
container_kill! if container_running? && !attach?
|
266
266
|
end
|
267
267
|
|
@@ -300,6 +300,12 @@ class OodPackaging::Package
|
|
300
300
|
raise
|
301
301
|
end
|
302
302
|
|
303
|
+
def container_attach!
|
304
|
+
container_exec!(exec_attach, ['-i', '-t']) if attach?
|
305
|
+
ensure
|
306
|
+
container_kill! if container_running?
|
307
|
+
end
|
308
|
+
|
303
309
|
def container_kill!
|
304
310
|
puts "Killing container #{container_name}".blue
|
305
311
|
cmd = [container_runtime, 'kill', container_name]
|
data/lib/ood_packaging/utils.rb
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
# Version code for OodPackaging
|
4
4
|
module OodPackaging
|
5
|
-
VERSION = '0.0.
|
5
|
+
VERSION = '0.0.4.r2.0'
|
6
6
|
PACKAGE_VERSION = {
|
7
7
|
'ondemand-release' => {
|
8
|
-
'(ubuntu|debian)' => '2.0.
|
8
|
+
'(ubuntu|debian)' => '2.0.1',
|
9
9
|
'default' => '2.0'
|
10
10
|
},
|
11
11
|
'ondemand-release-latest' => {
|
12
12
|
'(ubuntu|debian)' => '1',
|
13
13
|
'default' => '1-7'
|
14
14
|
},
|
15
|
-
'ondemand-runtime' => '2.0-
|
15
|
+
'ondemand-runtime' => '2.0-3',
|
16
16
|
'passenger' => '6.0.14',
|
17
17
|
'cjose' => '0.6.1',
|
18
18
|
'mod_auth_openidc' => '2.4.5',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ood_packaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4.r2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trey Dockendorf
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|