ood_packaging 0.0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fcaaed05fcdf85f942480ee3c0c983dcb636e68c033ad2e613bbda346893109
4
- data.tar.gz: 96a5eea4c809d8d076374dc0d2855e5b390cb5f42410edb8e60fee23349b534f
3
+ metadata.gz: bd3aeeb95678a5bbb1364254734c6fcb29b52f0d864edc0c0f6142e03a7e5165
4
+ data.tar.gz: 6ffdfc8efbfb4b8cf1bd5ed7170203c40ed0a7b3f075a53a0d415bf945808b61
5
5
  SHA512:
6
- metadata.gz: 506cc31f4d30572a1d8c1e38e338d3133bca116a1543d861ba9c8b3ea489f4924c19428d3f9d8aa7aaf0ff332f9b8e5345a224fdd88bbbc587c4b6fef00e2200
7
- data.tar.gz: df75dfdf6f84cf24bd1b3a6f2b3572106e417fbe0af705f390ac74fd74b0273833229347fc26ce6fb4f20145e6f3263cadfc1dd1294fe7138263c2270e965787
6
+ metadata.gz: f72229076dfddf1dd90d3817a8bd07b4594c436bce2ba5bebf63a9f3705f8fe0aa62608d2095418339710c41d7654af3fa200e1af0baacc78758c1c8b4ff4436
7
+ data.tar.gz: 710040bdbcf6ef1d765d0ae9b9afbb6798e38245b6e5e7e213fc8a94fc99cd7ef836fcf85b781f67c31813c133e80f7e07f93316eb4e44fae260d25268d57de3
@@ -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
- container_exec!(exec_attach, ['-i', '-t']) if attach?
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]
@@ -67,7 +67,7 @@ module OodPackaging::Utils
67
67
  end
68
68
 
69
69
  def nodejs_version
70
- '12'
70
+ '14'
71
71
  end
72
72
 
73
73
  def ctr_scripts_dir
@@ -2,17 +2,17 @@
2
2
 
3
3
  # Version code for OodPackaging
4
4
  module OodPackaging
5
- VERSION = '0.0.3.r2.0'
5
+ VERSION = '0.0.4.r2.0'
6
6
  PACKAGE_VERSION = {
7
7
  'ondemand-release' => {
8
- '(ubuntu|debian)' => '2.0.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-2',
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.3.r2.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-07-27 00:00:00.000000000 Z
12
+ date: 2022-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake