avm 0.63.0 → 0.64.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/docker/image.rb +3 -8
- data/lib/avm/scms/base.rb +7 -0
- data/lib/avm/version.rb +1 -1
- metadata +12 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16d0d9543dd537c7dec9ad3b7958426558e9b0ca7f7763345e5beb9b55f4fea3
|
4
|
+
data.tar.gz: faf52cfe3e69406c5a3d36b1485aee475e9d8ee44aebb4d2bc10baec99e6c83a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a8de4846a96ad91dd3809131ba510b1c113b81718eead76461993982c4420f5d09a67ff45b79dd1daef102c82d1268776262c0fe809fe607428d5f2b410d23
|
7
|
+
data.tar.gz: fcb16b18c37d910c32a114dffe9e60367cd03ea768475d464f6324f696a799c0a6ceae30a2d7b4b099dcdde5a9f5bc90d9b03fb97d27d6ce16ac8a9741c9cdd6
|
data/lib/avm/docker/image.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/version'
|
4
|
+
require 'avm/entries/jobs/with_variables_source'
|
4
5
|
require 'eac_ruby_utils/core_ext'
|
5
6
|
require 'eac_docker/images/templatized'
|
6
7
|
require 'eac_docker/registry'
|
@@ -8,6 +9,8 @@ require 'eac_docker/registry'
|
|
8
9
|
module Avm
|
9
10
|
module Docker
|
10
11
|
class Image < ::EacDocker::Images::Templatized
|
12
|
+
prepend ::Avm::Entries::Jobs::WithVariablesSource
|
13
|
+
|
11
14
|
DEFAULT_REGISTRY_NAME = 'local'
|
12
15
|
|
13
16
|
class << self
|
@@ -41,14 +44,6 @@ module Avm
|
|
41
44
|
::EacDocker::Executables.docker.command.append(['push', tag]).system!
|
42
45
|
end
|
43
46
|
|
44
|
-
def read_entry(path, options = {})
|
45
|
-
method = path.gsub('.', '_')
|
46
|
-
return send(method) if respond_to?(path, true)
|
47
|
-
return instance.read_entry(path, options) if respond_to?(:instance)
|
48
|
-
|
49
|
-
raise "Method \"#{method}\" not found for entry \"#{path}\""
|
50
|
-
end
|
51
|
-
|
52
47
|
def run(instance)
|
53
48
|
run_run(instance) if container_exist?(instance)
|
54
49
|
end
|
data/lib/avm/scms/base.rb
CHANGED
@@ -29,6 +29,13 @@ module Avm
|
|
29
29
|
self.class.name.demodulize
|
30
30
|
end
|
31
31
|
|
32
|
+
# @return [Pathname]
|
33
|
+
def relative_path_from_parent_scm
|
34
|
+
parent_scm.if_present(nil) do |v|
|
35
|
+
path.relative_path_from(v.path)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
32
39
|
# @return [Enumerable<Avm::Scms::Base>]
|
33
40
|
def subs
|
34
41
|
raise_abstract_method __method__
|
data/lib/avm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.64.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.17'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.17'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: eac_cli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.7'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
74
|
+
version: '0.7'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: eac_fs
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,6 +93,9 @@ dependencies:
|
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0.14'
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 0.14.1
|
96
99
|
type: :runtime
|
97
100
|
prerelease: false
|
98
101
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -100,6 +103,9 @@ dependencies:
|
|
100
103
|
- - "~>"
|
101
104
|
- !ruby/object:Gem::Version
|
102
105
|
version: '0.14'
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 0.14.1
|
103
109
|
- !ruby/object:Gem::Dependency
|
104
110
|
name: eac_ruby_utils
|
105
111
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,26 +188,6 @@ dependencies:
|
|
182
188
|
- - "~>"
|
183
189
|
- !ruby/object:Gem::Version
|
184
190
|
version: '0.9'
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: aranha-parsers
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - "~>"
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '0.14'
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 0.14.1
|
195
|
-
type: :development
|
196
|
-
prerelease: false
|
197
|
-
version_requirements: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0.14'
|
202
|
-
- - "~>"
|
203
|
-
- !ruby/object:Gem::Version
|
204
|
-
version: 0.14.1
|
205
191
|
- !ruby/object:Gem::Dependency
|
206
192
|
name: avm-eac_ruby_base1
|
207
193
|
requirement: !ruby/object:Gem::Requirement
|