cpflow 4.0.1 → 4.1.1
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.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/CHANGELOG.md +15 -2
- data/COMM-LICENSE.txt +9 -0
- data/Gemfile.lock +1 -1
- data/LICENSE +6 -19
- data/README.md +23 -20
- data/docs/commands.md +19 -3
- data/docs/postgres.md +2 -2
- data/docs/terraform/details.md +415 -0
- data/docs/terraform/example/.controlplane/controlplane.yml +29 -0
- data/docs/terraform/example/.controlplane/templates/app.yml +38 -0
- data/docs/terraform/example/.controlplane/templates/postgres.yml +30 -0
- data/docs/terraform/example/.controlplane/templates/rails.yml +26 -0
- data/docs/terraform/overview.md +105 -0
- data/lib/command/base.rb +40 -5
- data/lib/command/base_sub_command.rb +15 -0
- data/lib/command/build_image.rb +6 -2
- data/lib/command/delete.rb +3 -3
- data/lib/command/deploy_image.rb +2 -0
- data/lib/command/generate.rb +1 -1
- data/lib/command/ps.rb +1 -1
- data/lib/command/ps_stop.rb +2 -1
- data/lib/command/run.rb +1 -1
- data/lib/command/setup_app.rb +2 -2
- data/lib/command/terraform/base.rb +35 -0
- data/lib/command/terraform/generate.rb +99 -0
- data/lib/command/terraform/import.rb +79 -0
- data/lib/core/controlplane.rb +5 -5
- data/lib/core/shell.rb +9 -4
- data/lib/core/terraform_config/agent.rb +31 -0
- data/lib/core/terraform_config/audit_context.rb +31 -0
- data/lib/core/terraform_config/base.rb +25 -0
- data/lib/core/terraform_config/dsl.rb +102 -0
- data/lib/core/terraform_config/generator.rb +184 -0
- data/lib/core/terraform_config/gvc.rb +63 -0
- data/lib/core/terraform_config/identity.rb +35 -0
- data/lib/core/terraform_config/local_variable.rb +30 -0
- data/lib/core/terraform_config/policy.rb +151 -0
- data/lib/core/terraform_config/provider.rb +22 -0
- data/lib/core/terraform_config/required_provider.rb +23 -0
- data/lib/core/terraform_config/secret.rb +138 -0
- data/lib/core/terraform_config/volume_set.rb +155 -0
- data/lib/core/terraform_config/workload/main.tf +316 -0
- data/lib/core/terraform_config/workload/required_providers.tf +8 -0
- data/lib/core/terraform_config/workload/variables.tf +263 -0
- data/lib/core/terraform_config/workload.rb +132 -0
- data/lib/cpflow/version.rb +1 -1
- data/lib/cpflow.rb +50 -9
- data/lib/generator_templates/templates/postgres.yml +1 -1
- data/lib/patches/array.rb +8 -0
- data/lib/patches/hash.rb +47 -0
- data/lib/patches/string.rb +34 -0
- data/script/update_command_docs +7 -3
- metadata +34 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dotenv
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- ".rubocop.yml"
|
88
88
|
- ".simplecov_spawn.rb"
|
89
89
|
- CHANGELOG.md
|
90
|
+
- COMM-LICENSE.txt
|
90
91
|
- CONTRIBUTING.md
|
91
92
|
- Gemfile
|
92
93
|
- Gemfile.lock
|
@@ -105,12 +106,19 @@ files:
|
|
105
106
|
- docs/postgres.md
|
106
107
|
- docs/redis.md
|
107
108
|
- docs/secrets-and-env-values.md
|
109
|
+
- docs/terraform/details.md
|
110
|
+
- docs/terraform/example/.controlplane/controlplane.yml
|
111
|
+
- docs/terraform/example/.controlplane/templates/app.yml
|
112
|
+
- docs/terraform/example/.controlplane/templates/postgres.yml
|
113
|
+
- docs/terraform/example/.controlplane/templates/rails.yml
|
114
|
+
- docs/terraform/overview.md
|
108
115
|
- docs/tips.md
|
109
116
|
- docs/troubleshooting.md
|
110
117
|
- examples/circleci.yml
|
111
118
|
- examples/controlplane.yml
|
112
119
|
- lib/command/apply_template.rb
|
113
120
|
- lib/command/base.rb
|
121
|
+
- lib/command/base_sub_command.rb
|
114
122
|
- lib/command/build_image.rb
|
115
123
|
- lib/command/cleanup_images.rb
|
116
124
|
- lib/command/cleanup_stale_apps.rb
|
@@ -140,6 +148,9 @@ files:
|
|
140
148
|
- lib/command/ps_wait.rb
|
141
149
|
- lib/command/run.rb
|
142
150
|
- lib/command/setup_app.rb
|
151
|
+
- lib/command/terraform/base.rb
|
152
|
+
- lib/command/terraform/generate.rb
|
153
|
+
- lib/command/terraform/import.rb
|
143
154
|
- lib/command/test.rb
|
144
155
|
- lib/command/version.rb
|
145
156
|
- lib/constants/exit_code.rb
|
@@ -152,6 +163,23 @@ files:
|
|
152
163
|
- lib/core/maintenance_mode.rb
|
153
164
|
- lib/core/shell.rb
|
154
165
|
- lib/core/template_parser.rb
|
166
|
+
- lib/core/terraform_config/agent.rb
|
167
|
+
- lib/core/terraform_config/audit_context.rb
|
168
|
+
- lib/core/terraform_config/base.rb
|
169
|
+
- lib/core/terraform_config/dsl.rb
|
170
|
+
- lib/core/terraform_config/generator.rb
|
171
|
+
- lib/core/terraform_config/gvc.rb
|
172
|
+
- lib/core/terraform_config/identity.rb
|
173
|
+
- lib/core/terraform_config/local_variable.rb
|
174
|
+
- lib/core/terraform_config/policy.rb
|
175
|
+
- lib/core/terraform_config/provider.rb
|
176
|
+
- lib/core/terraform_config/required_provider.rb
|
177
|
+
- lib/core/terraform_config/secret.rb
|
178
|
+
- lib/core/terraform_config/volume_set.rb
|
179
|
+
- lib/core/terraform_config/workload.rb
|
180
|
+
- lib/core/terraform_config/workload/main.tf
|
181
|
+
- lib/core/terraform_config/workload/required_providers.tf
|
182
|
+
- lib/core/terraform_config/workload/variables.tf
|
155
183
|
- lib/cpflow.rb
|
156
184
|
- lib/cpflow/version.rb
|
157
185
|
- lib/deprecated_commands.json
|
@@ -161,6 +189,9 @@ files:
|
|
161
189
|
- lib/generator_templates/templates/app.yml
|
162
190
|
- lib/generator_templates/templates/postgres.yml
|
163
191
|
- lib/generator_templates/templates/rails.yml
|
192
|
+
- lib/patches/array.rb
|
193
|
+
- lib/patches/hash.rb
|
194
|
+
- lib/patches/string.rb
|
164
195
|
- lib/patches/thor.rb
|
165
196
|
- rakelib/create_release.rake
|
166
197
|
- script/add_command
|
@@ -197,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
228
|
- !ruby/object:Gem::Version
|
198
229
|
version: '0'
|
199
230
|
requirements: []
|
200
|
-
rubygems_version: 3.5.
|
231
|
+
rubygems_version: 3.5.11
|
201
232
|
signing_key:
|
202
233
|
specification_version: 4
|
203
234
|
summary: Control Plane Flow
|