cpl 0.5.1 → 0.7.0
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/.rubocop.yml +6 -0
- data/Gemfile.lock +19 -4
- data/README.md +67 -20
- data/Rakefile +2 -2
- data/cpl.gemspec +3 -0
- data/docs/commands.md +108 -21
- data/examples/circleci.yml +1 -1
- data/examples/controlplane.yml +3 -0
- data/lib/command/{setup.rb → apply_template.rb} +89 -15
- data/lib/command/base.rb +68 -18
- data/lib/command/build_image.rb +15 -3
- data/lib/command/copy_image_from_upstream.rb +1 -1
- data/lib/command/info.rb +9 -5
- data/lib/command/maintenance.rb +37 -0
- data/lib/command/maintenance_off.rb +58 -0
- data/lib/command/maintenance_on.rb +58 -0
- data/lib/command/maintenance_set_page.rb +34 -0
- data/lib/command/no_command.rb +1 -1
- data/lib/command/promote_app_from_upstream.rb +2 -2
- data/lib/command/ps_start.rb +22 -5
- data/lib/command/ps_stop.rb +22 -5
- data/lib/command/run.rb +53 -14
- data/lib/command/run_cleanup.rb +99 -0
- data/lib/command/run_detached.rb +22 -14
- data/lib/command/setup_app.rb +29 -0
- data/lib/core/config.rb +39 -32
- data/lib/core/controlplane.rb +78 -16
- data/lib/core/controlplane_api.rb +39 -0
- data/lib/core/controlplane_api_direct.rb +13 -3
- data/lib/cpl/version.rb +1 -1
- data/lib/cpl.rb +6 -1
- data/lib/deprecated_commands.json +2 -1
- data/templates/daily-task.yml +30 -0
- data/templates/maintenance.yml +24 -0
- metadata +54 -4
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: 0.
|
4
|
+
version: 0.7.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: 2023-
|
12
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debug
|
@@ -151,6 +151,48 @@ dependencies:
|
|
151
151
|
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: 0.22.0
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: timecop
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 0.9.6
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 0.9.6
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: vcr
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 6.1.0
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: 6.1.0
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: webmock
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 3.18.1
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: 3.18.1
|
154
196
|
description: CLI for providing Heroku-like platform-as-a-service on Control Plane
|
155
197
|
email:
|
156
198
|
- justin@shakacode.com
|
@@ -183,6 +225,7 @@ files:
|
|
183
225
|
- examples/circleci.yml
|
184
226
|
- examples/controlplane.yml
|
185
227
|
- googlee2da545df05d92f9.html
|
228
|
+
- lib/command/apply_template.rb
|
186
229
|
- lib/command/base.rb
|
187
230
|
- lib/command/build_image.rb
|
188
231
|
- lib/command/cleanup_old_images.rb
|
@@ -196,6 +239,10 @@ files:
|
|
196
239
|
- lib/command/info.rb
|
197
240
|
- lib/command/latest_image.rb
|
198
241
|
- lib/command/logs.rb
|
242
|
+
- lib/command/maintenance.rb
|
243
|
+
- lib/command/maintenance_off.rb
|
244
|
+
- lib/command/maintenance_on.rb
|
245
|
+
- lib/command/maintenance_set_page.rb
|
199
246
|
- lib/command/no_command.rb
|
200
247
|
- lib/command/open.rb
|
201
248
|
- lib/command/promote_app_from_upstream.rb
|
@@ -204,8 +251,9 @@ files:
|
|
204
251
|
- lib/command/ps_start.rb
|
205
252
|
- lib/command/ps_stop.rb
|
206
253
|
- lib/command/run.rb
|
254
|
+
- lib/command/run_cleanup.rb
|
207
255
|
- lib/command/run_detached.rb
|
208
|
-
- lib/command/
|
256
|
+
- lib/command/setup_app.rb
|
209
257
|
- lib/command/test.rb
|
210
258
|
- lib/command/version.rb
|
211
259
|
- lib/core/config.rb
|
@@ -223,8 +271,10 @@ files:
|
|
223
271
|
- script/add_command
|
224
272
|
- script/generate_commands_docs
|
225
273
|
- script/rename_command
|
274
|
+
- templates/daily-task.yml
|
226
275
|
- templates/gvc.yml
|
227
276
|
- templates/identity.yml
|
277
|
+
- templates/maintenance.yml
|
228
278
|
- templates/memcached.yml
|
229
279
|
- templates/postgres.yml
|
230
280
|
- templates/rails.yml
|
@@ -250,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
300
|
- !ruby/object:Gem::Version
|
251
301
|
version: '0'
|
252
302
|
requirements: []
|
253
|
-
rubygems_version: 3.4.
|
303
|
+
rubygems_version: 3.4.12
|
254
304
|
signing_key:
|
255
305
|
specification_version: 4
|
256
306
|
summary: Heroku to Control Plane
|