avm-tools 0.113.2 → 0.113.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/eac_writings_base0/commons.rb +1 -1
- data/lib/avm/patches/i18n.rb +2 -2
- data/lib/avm/ruby/gems/generator.rb +1 -1
- data/lib/avm/tools/runner/config/load_path.rb +0 -1
- data/lib/avm/tools/runner/self.rb +2 -2
- data/lib/avm/tools/runner.rb +2 -2
- data/lib/avm/tools/self.rb +23 -0
- data/lib/avm/tools/version.rb +1 -1
- data/sub/avm/lib/avm/instances/application.rb +4 -0
- data/sub/avm/lib/avm/instances/base/auto_values/data.rb +2 -2
- data/sub/avm/lib/avm/instances/base/auto_values/filesystem.rb +6 -8
- data/sub/avm/lib/avm/instances/entry.rb +10 -4
- data/sub/avm/lib/avm/instances/entry_keys.rb +1 -1
- data/sub/avm/lib/avm/self/instance.rb +8 -0
- data/sub/avm/lib/avm/sources/base.rb +1 -1
- data/sub/avm/lib/avm/version.rb +1 -1
- data/sub/avm-eac_asciidoctor_base0/avm-eac_asciidoctor_base0.gemspec +1 -1
- data/sub/avm-eac_asciidoctor_base0/lib/avm/eac_asciidoctor_base0/version.rb +1 -1
- data/sub/avm-eac_postgresql_base0/Gemfile +5 -0
- data/sub/avm-eac_postgresql_base0/avm-eac_postgresql_base0.gemspec +19 -0
- data/{lib/avm/postgresql → sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0}/instance/data_unit.rb +1 -1
- data/{lib/avm/postgresql → sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0}/instance.rb +3 -3
- data/{lib/avm/postgresql → sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0}/instance_with.rb +3 -3
- data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0/version.rb +7 -0
- data/sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0.rb +9 -0
- data/sub/avm-eac_postgresql_base0/spec/rubocop_spec.rb +3 -0
- data/sub/avm-eac_postgresql_base0/spec/spec_helper.rb +4 -0
- data/sub/avm-eac_rails_base0/avm-eac_rails_base0.gemspec +2 -2
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/apache_path.rb +1 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/deploy.rb +1 -1
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/runners/base.rb +2 -0
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/version.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb +1 -1
- data/sub/avm-eac_rails_base0/spec/spec_helper.rb +1 -0
- data/sub/avm-eac_rails_base1/avm-eac_rails_base1.gemspec +2 -1
- data/sub/avm-eac_rails_base1/lib/avm/eac_rails_base1/version.rb +1 -1
- data/sub/avm-eac_redmine_base0/avm-eac_redmine_base0.gemspec +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/instances/docker_image.rb +1 -1
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/version.rb +1 -1
- data/sub/avm-eac_ruby_base1/avm-eac_ruby_base1.gemspec +1 -1
- data/sub/avm-eac_ubuntu_base0/avm-eac_ubuntu_base0.gemspec +1 -1
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb +1 -1
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/runners/base.rb +4 -0
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/version.rb +1 -1
- data/sub/avm-eac_ubuntu_base0/spec/lib/avm/eac_ubuntu_base0/runners/base/docker_spec.rb +14 -0
- data/sub/avm-eac_webapp_base0/avm-eac_webapp_base0.gemspec +3 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/apache_host.rb +1 -2
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/deploy.rb +1 -1
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instance.rb +2 -2
- data/sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/version.rb +1 -1
- data/{template → sub/avm-eac_webapp_base0/template}/avm/eac_webapp_base0/apache_host/no_ssl.conf +0 -0
- data/{template → sub/avm-eac_webapp_base0/template}/avm/eac_webapp_base0/apache_path/default.conf +0 -0
- data/sub/avm-git/avm-git.gemspec +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/commits.rb +3 -3
- data/sub/avm-git/lib/avm/git/issue/complete/git_subrepos.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/local_branch.rb +13 -6
- data/sub/avm-git/lib/avm/git/issue/complete/local_tag.rb +3 -3
- data/sub/avm-git/lib/avm/git/issue/complete/push.rb +15 -9
- data/sub/avm-git/lib/avm/git/issue/complete/remote.rb +2 -2
- data/sub/avm-git/lib/avm/git/issue/complete/test.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/tracker.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete/validation.rb +13 -5
- data/sub/avm-git/lib/avm/git/issue/complete/working_tree.rb +1 -1
- data/sub/avm-git/lib/avm/git/issue/complete.rb +22 -7
- data/sub/avm-git/lib/avm/git/version.rb +1 -1
- data/sub/eac_cli/eac_cli.gemspec +2 -2
- data/sub/eac_cli/lib/eac_cli/config/entry/options.rb +1 -1
- data/sub/eac_cli/lib/eac_cli/config/entry/undefined.rb +1 -1
- data/sub/eac_cli/lib/eac_cli/config/entry.rb +5 -1
- data/sub/eac_cli/lib/eac_cli/rspec/setup.rb +42 -0
- data/sub/eac_cli/lib/eac_cli/rspec.rb +9 -0
- data/sub/eac_cli/lib/eac_cli/speaker/constants.rb +13 -0
- data/sub/eac_cli/lib/eac_cli/version.rb +1 -1
- data/sub/eac_config/eac_config.gemspec +1 -1
- data/sub/eac_config/lib/eac_config/entry.rb +4 -0
- data/sub/eac_config/lib/eac_config/node_entry.rb +4 -0
- data/sub/eac_config/lib/eac_config/rspec/setup.rb +35 -0
- data/sub/eac_config/lib/eac_config/version.rb +1 -1
- data/sub/eac_fs/lib/eac_fs/logs/file.rb +6 -0
- data/sub/eac_fs/lib/eac_fs/logs.rb +5 -0
- data/sub/eac_fs/lib/eac_fs/version.rb +1 -1
- data/sub/eac_git/eac_git.gemspec +1 -1
- data/sub/eac_git/lib/eac_git/local/branch.rb +27 -0
- data/sub/eac_git/lib/eac_git/local.rb +18 -0
- data/sub/eac_git/lib/eac_git/version.rb +1 -1
- data/sub/eac_ruby_base0/eac_ruby_base0.gemspec +1 -1
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec/setup.rb +14 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/rspec.rb +9 -0
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner.rb +21 -8
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/version.rb +1 -1
- data/sub/eac_ruby_utils/eac_ruby_utils.gemspec +1 -1
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/context.rb +2 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/hash/to_struct.rb +10 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/patches/pathname/mkpath_s.rb +12 -0
- data/sub/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- data/sub/eac_templates/lib/eac_templates/core_ext.rb +4 -0
- data/sub/eac_templates/lib/eac_templates/from_all_gems.rb +4 -0
- data/sub/eac_templates/lib/eac_templates/from_gem.rb +35 -0
- data/sub/eac_templates/lib/eac_templates/version.rb +1 -1
- metadata +38 -32
- data/lib/avm/patches/object/template.rb +0 -7
- data/lib/avm/patches/object.rb +0 -4
- data/lib/avm/postgresql.rb +0 -9
- data/lib/avm/self/root.rb +0 -13
- data/lib/avm/self.rb +0 -30
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/patches/object/template.rb +0 -7
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/patches/object.rb +0 -4
- data/sub/avm-eac_rails_base0/lib/avm/eac_rails_base0/patches.rb +0 -4
- data/sub/avm-eac_redmine_base0/lib/avm/eac_redmine_base0/patches/object/template.rb +0 -7
- data/sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/patches/object/template.rb +0 -7
- data/sub/eac_cli/lib/eac_cli/old_configs_bridge.rb +0 -39
- data/sub/eac_cli/lib/eac_cli/speaker/_constants.rb +0 -12
- data/sub/eac_ruby_base0/lib/eac_ruby_base0/runner/test_all.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f0c1b42a6d34ae3d070dbbae54375ddd08eab2a177c5c46cc9d42de8165d10a
|
4
|
+
data.tar.gz: ff02a56141cb130c4b0e9c7fc651ebe3de42ba13ec6c56557fbae70f96ff693c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c12fcce202f2eb1b40b58485dbf790e29b7f6bb183d450ce3c9f8a479abf9ae35a77865990c481ad1f2a28b18110bcc4e3db82ecc880c355f040eb8646433143
|
7
|
+
data.tar.gz: d85bb09c92c7d6b1f0414f66509da068ff018d8ec1da32b730f00fe99cc723895d4e09d205f5964cd562a61647c849017f2fe3def50f3fdfec45c770a9d2d8a6
|
data/lib/avm/patches/i18n.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/self
|
3
|
+
require 'avm/tools/self'
|
4
4
|
require 'i18n'
|
5
5
|
|
6
6
|
module Avm
|
@@ -12,7 +12,7 @@ module Avm
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def locale_files_paths
|
15
|
-
::Avm::Self.root.join('locale').glob('*.yml')
|
15
|
+
::Avm::Tools::Self.root.join('locale').glob('*.yml')
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/tools/core_ext'
|
4
|
-
require 'avm/self'
|
4
|
+
require 'avm/self/instance'
|
5
5
|
|
6
6
|
module Avm
|
7
7
|
module Tools
|
@@ -14,7 +14,7 @@ module Avm
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def instance
|
17
|
-
::Avm::Self.
|
17
|
+
::Avm::Self::Instance.default
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
data/lib/avm/tools/runner.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/self'
|
3
|
+
require 'avm/tools/self'
|
4
4
|
require 'avm/registry'
|
5
5
|
require 'avm/tools/version'
|
6
6
|
require 'eac_ruby_base0/runner'
|
@@ -16,7 +16,7 @@ module Avm
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def application
|
19
|
-
::Avm::Self.application
|
19
|
+
::Avm::Tools::Self.application
|
20
20
|
end
|
21
21
|
|
22
22
|
def extra_available_subcommands
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'eac_ruby_base0/application'
|
4
|
+
require 'eac_ruby_utils/require_sub'
|
5
|
+
require 'avm/instances/base'
|
6
|
+
|
7
|
+
module Avm
|
8
|
+
module Tools
|
9
|
+
module Self
|
10
|
+
::EacRubyUtils.require_sub(__FILE__)
|
11
|
+
|
12
|
+
class << self
|
13
|
+
def application
|
14
|
+
@application ||= ::EacRubyBase0::Application.new(root.to_path)
|
15
|
+
end
|
16
|
+
|
17
|
+
def root
|
18
|
+
::Pathname.new('../../..').expand_path(__dir__)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/avm/tools/version.rb
CHANGED
@@ -9,8 +9,8 @@ module Avm
|
|
9
9
|
module AutoValues
|
10
10
|
module Data
|
11
11
|
def auto_data_default_dump_path
|
12
|
-
::Avm::Self
|
13
|
-
.
|
12
|
+
::Avm::Self::Instance
|
13
|
+
.default
|
14
14
|
.read_entry_optional(::Avm::Self::Instance::EntryKeys::DATA_DEFAULT_PATH)
|
15
15
|
.if_present do |v|
|
16
16
|
::File.join(
|
@@ -1,22 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'avm/instances/entry_keys'
|
4
|
+
|
3
5
|
module Avm
|
4
6
|
module Instances
|
5
7
|
class Base
|
6
8
|
module AutoValues
|
7
9
|
module Filesystem
|
8
|
-
FS_PATH_KEY = :fs_path
|
9
|
-
|
10
10
|
def auto_fs_path
|
11
|
-
inherited_entry_value(::Avm::Instances::EntryKeys::HOST_ID,
|
12
|
-
|
13
|
-
end
|
11
|
+
inherited_entry_value(::Avm::Instances::EntryKeys::HOST_ID,
|
12
|
+
::Avm::Instances::EntryKeys::FS_PATH) { |v| v + '/' + id }
|
14
13
|
end
|
15
14
|
|
16
15
|
def auto_data_fs_path
|
17
|
-
inherited_entry_value(::Avm::Instances::EntryKeys::HOST_ID,
|
18
|
-
|
19
|
-
end
|
16
|
+
inherited_entry_value(::Avm::Instances::EntryKeys::HOST_ID,
|
17
|
+
::Avm::Instances::EntryKeys::DATA_FS_PATH) { |v| v + '/' + id }
|
20
18
|
end
|
21
19
|
|
22
20
|
def auto_fs_url
|
@@ -27,11 +27,11 @@ module Avm
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def optional_value
|
30
|
-
|
30
|
+
context_entry.found? ? context_entry.value : auto_value
|
31
31
|
end
|
32
32
|
|
33
|
-
def read
|
34
|
-
|
33
|
+
def read
|
34
|
+
context_entry.value
|
35
35
|
end
|
36
36
|
|
37
37
|
def suffix_as_array
|
@@ -47,7 +47,13 @@ module Avm
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def write(value)
|
50
|
-
|
50
|
+
context_entry.value = value
|
51
|
+
end
|
52
|
+
|
53
|
+
private
|
54
|
+
|
55
|
+
def context_entry
|
56
|
+
::EacConfig::Node.context.current.entry(full_path)
|
51
57
|
end
|
52
58
|
end
|
53
59
|
end
|
@@ -42,7 +42,7 @@ module Avm
|
|
42
42
|
end
|
43
43
|
|
44
44
|
{
|
45
|
-
'' => %w[fs_path host_id source_instance_id],
|
45
|
+
'' => %w[data_fs_path fs_path host_id name source_instance_id],
|
46
46
|
database: %w[id hostname limit name password port system timeout username extra],
|
47
47
|
docker: %w[registry],
|
48
48
|
mailer: {
|
@@ -8,6 +8,14 @@ require 'avm/eac_ubuntu_base0/docker_image'
|
|
8
8
|
module Avm
|
9
9
|
module Self
|
10
10
|
class Instance < ::Avm::Instances::Base
|
11
|
+
DEFAULT_INSTANCE_ID = 'avm_self'
|
12
|
+
|
13
|
+
class << self
|
14
|
+
def default
|
15
|
+
@default ||= by_id(DEFAULT_INSTANCE_ID)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
11
19
|
def docker_image_class
|
12
20
|
::Avm::Self::DockerImage
|
13
21
|
end
|
data/sub/avm/lib/avm/version.rb
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ['Put here the authors']
|
11
11
|
s.summary = 'Put here de description.'
|
12
12
|
|
13
|
-
s.files = Dir['{lib}/**/*']
|
13
|
+
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'asciidoctor', '~> 2.0', '>= 2.0.12'
|
16
16
|
s.add_dependency 'avm-eac_webapp_base0', '~> 0.2'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
|
+
|
5
|
+
require 'avm/eac_postgresql_base0/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'avm-eac_postgresql_base0'
|
9
|
+
s.version = Avm::EacPostgresqlBase0::VERSION
|
10
|
+
s.authors = ['Put here the authors']
|
11
|
+
s.summary = 'Put here de description.'
|
12
|
+
|
13
|
+
s.files = Dir['{lib}/**/*']
|
14
|
+
|
15
|
+
s.add_dependency 'avm', '~> 0.12', '>= 0.12.1'
|
16
|
+
s.add_dependency 'eac_ruby_utils', '~> 0.82'
|
17
|
+
|
18
|
+
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.4'
|
19
|
+
end
|
data/{lib/avm/postgresql → sub/avm-eac_postgresql_base0/lib/avm/eac_postgresql_base0}/instance.rb
RENAMED
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/
|
3
|
+
require 'avm/eac_postgresql_base0/instance/data_unit'
|
4
4
|
|
5
5
|
module Avm
|
6
|
-
module
|
6
|
+
module EacPostgresqlBase0
|
7
7
|
class Instance
|
8
8
|
def initialize(env, connection_params)
|
9
9
|
@env = env
|
@@ -11,7 +11,7 @@ module Avm
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def data_unit
|
14
|
-
::Avm::
|
14
|
+
::Avm::EacPostgresqlBase0::Instance::DataUnit.new(self)
|
15
15
|
end
|
16
16
|
|
17
17
|
def dump_command
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/instances/entry_keys'
|
4
|
-
require 'avm/
|
4
|
+
require 'avm/eac_postgresql_base0/instance'
|
5
5
|
|
6
6
|
module Avm
|
7
|
-
module
|
7
|
+
module EacPostgresqlBase0
|
8
8
|
module InstanceWith
|
9
9
|
def pg
|
10
|
-
@pg ||= ::Avm::
|
10
|
+
@pg ||= ::Avm::EacPostgresqlBase0::Instance.new(
|
11
11
|
host_env, user: read_entry(::Avm::Instances::EntryKeys::DATABASE_USERNAME),
|
12
12
|
password: read_entry(::Avm::Instances::EntryKeys::DATABASE_PASSWORD),
|
13
13
|
name: read_entry(::Avm::Instances::EntryKeys::DATABASE_NAME)
|
@@ -10,9 +10,9 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ['Put here the authors']
|
11
11
|
s.summary = 'Put here de description.'
|
12
12
|
|
13
|
-
s.files = Dir['{lib}/**/*']
|
13
|
+
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm-eac_rails_base1', '~> 0.1', '>= 0.1.
|
15
|
+
s.add_dependency 'avm-eac_rails_base1', '~> 0.1', '>= 0.1.3'
|
16
16
|
s.add_dependency 'eac_ruby_utils', '~> 0.80', '>= 0.80.2'
|
17
17
|
|
18
18
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.4'
|
@@ -12,7 +12,7 @@ RSpec.describe ::Avm::EacRailsBase0::ApachePath do
|
|
12
12
|
let(:expected_content) { expect_file.read }
|
13
13
|
|
14
14
|
before do
|
15
|
-
instance.entry(::Avm::Instances::
|
15
|
+
instance.entry(::Avm::Instances::EntryKeys::FS_PATH).write('/path/to/stub-app_0')
|
16
16
|
instance.entry('web.url').write('http://stubapp.net/stub-app_0')
|
17
17
|
end
|
18
18
|
|
@@ -12,7 +12,8 @@ Gem::Specification.new do |s|
|
|
12
12
|
|
13
13
|
s.files = Dir['{lib}/**/*']
|
14
14
|
|
15
|
-
s.add_dependency 'avm-eac_webapp_base0', '~> 0.1'
|
15
|
+
s.add_dependency 'avm-eac_webapp_base0', '~> 0.2', '>= 0.2.1'
|
16
|
+
s.add_dependency 'eac_ruby_gems_utils', '~> 0.9', '>= 0.9.9'
|
16
17
|
s.add_dependency 'eac_ruby_utils', '~> 0.68'
|
17
18
|
|
18
19
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ['Put here the authors']
|
11
11
|
s.summary = 'Put here de description.'
|
12
12
|
|
13
|
-
s.files = Dir['{lib}/**/*']
|
13
|
+
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'avm-eac_rails_base1', '~> 0.1'
|
16
16
|
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.2'
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ['Put here the authors']
|
11
11
|
s.summary = 'Put here de description.'
|
12
12
|
|
13
|
-
s.files = Dir['{lib}/**/*']
|
13
|
+
s.files = Dir['{lib,locale}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'avm', '~> 0.9'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.1'
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.add_dependency 'avm', '~> 0.7'
|
16
16
|
s.add_dependency 'eac_ruby_utils', '~> 0.77', '>= 0.77.1'
|
17
|
-
s.add_dependency 'eac_templates', '~> 0.
|
17
|
+
s.add_dependency 'eac_templates', '~> 0.3'
|
18
18
|
|
19
19
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.4'
|
20
20
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/eac_ubuntu_base0/runners/base'
|
4
|
+
require 'avm/eac_ubuntu_base0/runners/base/docker'
|
5
|
+
|
6
|
+
::RSpec.describe ::Avm::EacUbuntuBase0::Runners::Base::Docker do
|
7
|
+
it do
|
8
|
+
expect { run_command('--registry-name', 'testing', '--image-name') }.not_to raise_error
|
9
|
+
end
|
10
|
+
|
11
|
+
def run_command(*argv)
|
12
|
+
::Avm::EacUbuntuBase0::Runners::Base.run(argv: %w[docker] + argv)
|
13
|
+
end
|
14
|
+
end
|
@@ -10,10 +10,12 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.authors = ['Put here the authors']
|
11
11
|
s.summary = 'Put here de description.'
|
12
12
|
|
13
|
-
s.files = Dir['{lib}/**/*']
|
13
|
+
s.files = Dir['{lib,template}/**/*']
|
14
14
|
|
15
15
|
s.add_dependency 'avm', '~> 0.1'
|
16
16
|
s.add_dependency 'avm-eac_generic_base0', '~> 0.1'
|
17
|
+
s.add_dependency 'avm-eac_postgresql_base0', '~> 0.1'
|
18
|
+
s.add_dependency 'avm-eac_ubuntu_base0', '~> 0.2.1'
|
17
19
|
s.add_dependency 'eac_ruby_utils', '~> 0.68'
|
18
20
|
|
19
21
|
s.add_development_dependency 'eac_ruby_gem_support', '~> 0.2'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/instances/base'
|
4
|
-
require 'avm/
|
4
|
+
require 'avm/eac_postgresql_base0/instance_with'
|
5
5
|
require 'avm/data/instance/files_unit'
|
6
6
|
require 'avm/data/instance/package'
|
7
7
|
require 'avm/eac_webapp_base0/deploy/file_unit'
|
@@ -10,7 +10,7 @@ module Avm
|
|
10
10
|
module EacWebappBase0
|
11
11
|
class Instance < ::Avm::Instances::Base
|
12
12
|
require_sub __FILE__
|
13
|
-
include ::Avm::
|
13
|
+
include ::Avm::EacPostgresqlBase0::InstanceWith
|
14
14
|
|
15
15
|
FILES_UNITS = [].freeze
|
16
16
|
|
data/{template → sub/avm-eac_webapp_base0/template}/avm/eac_webapp_base0/apache_host/no_ssl.conf
RENAMED
File without changes
|
data/{template → sub/avm-eac_webapp_base0/template}/avm/eac_webapp_base0/apache_path/default.conf
RENAMED
File without changes
|