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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a6b3566973d14a67793306517648074a14a90e485adb9e16c150477f0622875
4
- data.tar.gz: 1b24618f2a5ae46c8a39e759e2cae1ae9b06f439f774de56dbd084832331b1b8
3
+ metadata.gz: bd3aeeb95678a5bbb1364254734c6fcb29b52f0d864edc0c0f6142e03a7e5165
4
+ data.tar.gz: 6ffdfc8efbfb4b8cf1bd5ed7170203c40ed0a7b3f075a53a0d415bf945808b61
5
5
  SHA512:
6
- metadata.gz: 1be5dc8f3a13ffc3eeeb496ed6b700ac92a78b8d84861225a01f3343b11ba6387b389794af9ceda44b7ea80b22dc364c21780d8578a1d770984165028ca4c25f
7
- data.tar.gz: 47a5e5315cd46df79c3500b8c5f118217ad25303a5189c2b0b4be6de71691db00d7369766b20c95bbc12eaa35c09fb4c6d47c671252372098afa770fd5d345fa
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
- 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.2.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.2.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-19 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