cpl 1.1.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/check_cpln_links.yml +19 -0
- data/.github/workflows/rspec.yml +1 -1
- data/.overcommit.yml +3 -0
- data/CHANGELOG.md +47 -2
- data/CONTRIBUTING.md +2 -6
- data/Gemfile.lock +8 -8
- data/README.md +57 -15
- data/docs/commands.md +29 -23
- data/docs/dns.md +9 -0
- data/docs/migrating.md +3 -3
- data/examples/controlplane.yml +67 -4
- data/lib/command/apply_template.rb +2 -1
- data/lib/command/base.rb +62 -0
- data/lib/command/build_image.rb +5 -1
- data/lib/command/config.rb +0 -5
- data/lib/command/copy_image_from_upstream.rb +5 -4
- data/lib/command/delete.rb +40 -11
- data/lib/command/env.rb +1 -0
- data/lib/command/generate.rb +45 -0
- data/lib/command/info.rb +15 -33
- data/lib/command/latest_image.rb +1 -0
- data/lib/command/maintenance.rb +9 -4
- data/lib/command/maintenance_off.rb +8 -4
- data/lib/command/maintenance_on.rb +8 -4
- data/lib/command/no_command.rb +1 -0
- data/lib/command/ps.rb +5 -1
- data/lib/command/run.rb +20 -23
- data/lib/command/run_detached.rb +38 -30
- data/lib/command/setup_app.rb +3 -3
- data/lib/command/version.rb +1 -0
- data/lib/core/config.rb +194 -66
- data/lib/core/controlplane.rb +28 -7
- data/lib/core/controlplane_api.rb +13 -1
- data/lib/core/controlplane_api_direct.rb +18 -2
- data/lib/core/helpers.rb +16 -0
- data/lib/core/shell.rb +25 -3
- data/lib/cpl/version.rb +1 -1
- data/lib/cpl.rb +32 -3
- data/lib/generator_templates/Dockerfile +27 -0
- data/lib/generator_templates/controlplane.yml +57 -0
- data/lib/generator_templates/entrypoint.sh +8 -0
- data/lib/generator_templates/templates/gvc.yml +21 -0
- data/lib/generator_templates/templates/postgres.yml +176 -0
- data/lib/generator_templates/templates/rails.yml +36 -0
- data/script/check_cpln_links +45 -0
- metadata +14 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
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: 2024-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debug
|
@@ -202,6 +202,7 @@ executables:
|
|
202
202
|
extensions: []
|
203
203
|
extra_rdoc_files: []
|
204
204
|
files:
|
205
|
+
- ".github/workflows/check_cpln_links.yml"
|
205
206
|
- ".github/workflows/command_docs.yml"
|
206
207
|
- ".github/workflows/rspec.yml"
|
207
208
|
- ".github/workflows/rubocop.yml"
|
@@ -223,6 +224,7 @@ files:
|
|
223
224
|
- docs/assets/memcached.png
|
224
225
|
- docs/assets/sidekiq-pre-stop-hook.png
|
225
226
|
- docs/commands.md
|
227
|
+
- docs/dns.md
|
226
228
|
- docs/migrating.md
|
227
229
|
- docs/postgres.md
|
228
230
|
- docs/redis.md
|
@@ -242,6 +244,7 @@ files:
|
|
242
244
|
- lib/command/deploy_image.rb
|
243
245
|
- lib/command/env.rb
|
244
246
|
- lib/command/exists.rb
|
247
|
+
- lib/command/generate.rb
|
245
248
|
- lib/command/info.rb
|
246
249
|
- lib/command/latest_image.rb
|
247
250
|
- lib/command/logs.rb
|
@@ -269,14 +272,22 @@ files:
|
|
269
272
|
- lib/core/controlplane_api.rb
|
270
273
|
- lib/core/controlplane_api_cli.rb
|
271
274
|
- lib/core/controlplane_api_direct.rb
|
275
|
+
- lib/core/helpers.rb
|
272
276
|
- lib/core/scripts.rb
|
273
277
|
- lib/core/shell.rb
|
274
278
|
- lib/cpl.rb
|
275
279
|
- lib/cpl/version.rb
|
276
280
|
- lib/deprecated_commands.json
|
281
|
+
- lib/generator_templates/Dockerfile
|
282
|
+
- lib/generator_templates/controlplane.yml
|
283
|
+
- lib/generator_templates/entrypoint.sh
|
284
|
+
- lib/generator_templates/templates/gvc.yml
|
285
|
+
- lib/generator_templates/templates/postgres.yml
|
286
|
+
- lib/generator_templates/templates/rails.yml
|
277
287
|
- rakelib/create_release.rake
|
278
288
|
- script/add_command
|
279
289
|
- script/check_command_docs
|
290
|
+
- script/check_cpln_links
|
280
291
|
- script/rename_command
|
281
292
|
- script/update_command_docs
|
282
293
|
- templates/daily-task.yml
|
@@ -308,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
319
|
- !ruby/object:Gem::Version
|
309
320
|
version: '0'
|
310
321
|
requirements: []
|
311
|
-
rubygems_version: 3.4.
|
322
|
+
rubygems_version: 3.4.21
|
312
323
|
signing_key:
|
313
324
|
specification_version: 4
|
314
325
|
summary: Heroku to Control Plane
|