swarm_cluster_cli_ope 0.4 → 0.5.0.pre.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ require 'active_support/concern'
2
+
3
+ module SwarmClusterCliOpe
4
+ module ThorConfigurationConcern
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+
9
+ desc "config", "Visualizza le configurazioni mergiate (HOME + Project configuration[#{Configuration.cfgs_project_file_name}])"
10
+
11
+ def config
12
+ cfgs.env(options[:environment]) do
13
+ puts JSON.pretty_generate(cfgs.merged_configurations)
14
+ end
15
+ end
16
+
17
+ desc "configure_project STACK_NAME", "Genera il file di configurazione del progetto contenente il nome dello stack"
18
+
19
+ def configure_project(stack_name)
20
+ cfgs.env(options[:environment]) do |c|
21
+ c.stack_name = stack_name
22
+ c.save_project_cfgs
23
+ end
24
+ end
25
+
26
+ end
27
+
28
+ end
29
+ end
@@ -1,3 +1,3 @@
1
1
  module SwarmClusterCliOpe
2
- VERSION = "0.4"
2
+ VERSION = "0.5.0.pre.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swarm_cluster_cli_ope
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.5.0.pre.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marino Bonetti
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-10 00:00:00.000000000 Z
11
+ date: 2020-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -88,6 +88,7 @@ files:
88
88
  - Rakefile
89
89
  - exe/swarm_cli_ope
90
90
  - lib/swarm_cluster_cli_ope.rb
91
+ - lib/swarm_cluster_cli_ope/base_configuration.rb
91
92
  - lib/swarm_cluster_cli_ope/cli.rb
92
93
  - lib/swarm_cluster_cli_ope/commands/base.rb
93
94
  - lib/swarm_cluster_cli_ope/commands/compose_container.rb
@@ -97,6 +98,15 @@ files:
97
98
  - lib/swarm_cluster_cli_ope/commands/task.rb
98
99
  - lib/swarm_cluster_cli_ope/configuration.rb
99
100
  - lib/swarm_cluster_cli_ope/configuration_concern.rb
101
+ - lib/swarm_cluster_cli_ope/k8s.rb
102
+ - lib/swarm_cluster_cli_ope/kubernetes/configuration.rb
103
+ - lib/swarm_cluster_cli_ope/kubernetes/pod.rb
104
+ - lib/swarm_cluster_cli_ope/kubernetes/rsync_cfgs/password
105
+ - lib/swarm_cluster_cli_ope/kubernetes/rsync_cfgs/rsyncd.conf
106
+ - lib/swarm_cluster_cli_ope/kubernetes/rsync_cfgs/rsyncd.secrets
107
+ - lib/swarm_cluster_cli_ope/kubernetes/sync_configs/base_decorator.rb
108
+ - lib/swarm_cluster_cli_ope/kubernetes/sync_configs/rsync.rb
109
+ - lib/swarm_cluster_cli_ope/kubernetes/sync_configs/sqlite3.rb
100
110
  - lib/swarm_cluster_cli_ope/logger_concern.rb
101
111
  - lib/swarm_cluster_cli_ope/manager.rb
102
112
  - lib/swarm_cluster_cli_ope/models/base.rb
@@ -109,6 +119,7 @@ files:
109
119
  - lib/swarm_cluster_cli_ope/node.rb
110
120
  - lib/swarm_cluster_cli_ope/shell_command_execution.rb
111
121
  - lib/swarm_cluster_cli_ope/shell_command_response.rb
122
+ - lib/swarm_cluster_cli_ope/stack_sync_concern.rb
112
123
  - lib/swarm_cluster_cli_ope/sync_configs/base.rb
113
124
  - lib/swarm_cluster_cli_ope/sync_configs/base_database.rb
114
125
  - lib/swarm_cluster_cli_ope/sync_configs/copy.rb
@@ -117,6 +128,7 @@ files:
117
128
  - lib/swarm_cluster_cli_ope/sync_configs/post_gres.rb
118
129
  - lib/swarm_cluster_cli_ope/sync_configs/rsync.rb
119
130
  - lib/swarm_cluster_cli_ope/sync_configs/sqlite3.rb
131
+ - lib/swarm_cluster_cli_ope/thor_configuration_concern.rb
120
132
  - lib/swarm_cluster_cli_ope/version.rb
121
133
  - lib/swarm_cluster_cli_ope/worker.rb
122
134
  - swarm_cluster_cli_ope.gemspec
@@ -139,9 +151,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
151
  version: 2.3.0
140
152
  required_rubygems_version: !ruby/object:Gem::Requirement
141
153
  requirements:
142
- - - ">="
154
+ - - ">"
143
155
  - !ruby/object:Gem::Version
144
- version: '0'
156
+ version: 1.3.1
145
157
  requirements: []
146
158
  rubygems_version: 3.0.8
147
159
  signing_key: