cpl 0.1.0 → 0.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/{ci.yml → rspec.yml} +2 -25
- data/.github/workflows/rubocop.yml +29 -0
- data/CHANGELOG.md +6 -2
- data/CONTRIBUTING.md +16 -0
- data/Gemfile.lock +4 -16
- data/README.md +46 -25
- data/Rakefile +5 -0
- data/cpl.gemspec +0 -6
- data/docs/commands.md +40 -8
- data/examples/circleci.yml +4 -4
- data/lib/command/base.rb +43 -14
- data/lib/command/cleanup_old_images.rb +76 -0
- data/lib/command/cleanup_stale_apps.rb +88 -0
- data/lib/command/delete.rb +13 -5
- data/lib/command/{promote_image.rb → deploy_image.rb} +5 -5
- data/lib/command/env.rb +1 -1
- data/lib/command/no_command.rb +19 -0
- data/lib/command/open.rb +1 -1
- data/lib/command/run.rb +1 -1
- data/lib/command/run_detached.rb +1 -1
- data/lib/command/setup.rb +5 -2
- data/lib/command/test.rb +0 -2
- data/lib/command/version.rb +16 -0
- data/lib/core/config.rb +49 -16
- data/lib/core/controlplane.rb +27 -4
- data/lib/core/controlplane_api_direct.rb +2 -1
- data/lib/core/shell.rb +31 -0
- data/lib/cpl/version.rb +1 -1
- data/lib/cpl.rb +5 -3
- data/rakelib/create_release.rake +80 -0
- data/script/generate_commands_docs +3 -1
- metadata +13 -90
- /data/{postgres.md → docs/postgres.md} +0 -0
- /data/{redis.md → docs/redis.md} +0 -0
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
@@ -9,22 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: cgi
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - "~>"
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 0.3.6
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - "~>"
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 0.3.6
|
28
14
|
- !ruby/object:Gem::Dependency
|
29
15
|
name: debug
|
30
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,48 +39,6 @@ dependencies:
|
|
53
39
|
- - "~>"
|
54
40
|
- !ruby/object:Gem::Version
|
55
41
|
version: 2.8.1
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: json
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 2.6.3
|
63
|
-
type: :runtime
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 2.6.3
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: net-http
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 0.3.2
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 0.3.2
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: pathname
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 0.2.1
|
91
|
-
type: :runtime
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 0.2.1
|
98
42
|
- !ruby/object:Gem::Dependency
|
99
43
|
name: psych
|
100
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,20 +53,6 @@ dependencies:
|
|
109
53
|
- - "~>"
|
110
54
|
- !ruby/object:Gem::Version
|
111
55
|
version: 5.1.0
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: tempfile
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 0.1.3
|
119
|
-
type: :runtime
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 0.1.3
|
126
56
|
- !ruby/object:Gem::Dependency
|
127
57
|
name: thor
|
128
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,20 +67,6 @@ dependencies:
|
|
137
67
|
- - "~>"
|
138
68
|
- !ruby/object:Gem::Version
|
139
69
|
version: 1.2.1
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: yaml
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 0.2.1
|
147
|
-
type: :runtime
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 0.2.1
|
154
70
|
- !ruby/object:Gem::Dependency
|
155
71
|
name: rspec
|
156
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,7 +146,8 @@ executables:
|
|
230
146
|
extensions: []
|
231
147
|
extra_rdoc_files: []
|
232
148
|
files:
|
233
|
-
- ".github/workflows/
|
149
|
+
- ".github/workflows/rspec.yml"
|
150
|
+
- ".github/workflows/rubocop.yml"
|
234
151
|
- ".gitignore"
|
235
152
|
- ".rspec"
|
236
153
|
- ".rubocop.yml"
|
@@ -245,19 +162,24 @@ files:
|
|
245
162
|
- cpl
|
246
163
|
- cpl.gemspec
|
247
164
|
- docs/commands.md
|
165
|
+
- docs/postgres.md
|
166
|
+
- docs/redis.md
|
248
167
|
- docs/troubleshooting.md
|
249
168
|
- examples/circleci.yml
|
250
169
|
- examples/controlplane.yml
|
251
170
|
- lib/command/base.rb
|
252
171
|
- lib/command/build_image.rb
|
172
|
+
- lib/command/cleanup_old_images.rb
|
173
|
+
- lib/command/cleanup_stale_apps.rb
|
253
174
|
- lib/command/config.rb
|
254
175
|
- lib/command/delete.rb
|
176
|
+
- lib/command/deploy_image.rb
|
255
177
|
- lib/command/env.rb
|
256
178
|
- lib/command/exists.rb
|
257
179
|
- lib/command/latest_image.rb
|
258
180
|
- lib/command/logs.rb
|
181
|
+
- lib/command/no_command.rb
|
259
182
|
- lib/command/open.rb
|
260
|
-
- lib/command/promote_image.rb
|
261
183
|
- lib/command/ps.rb
|
262
184
|
- lib/command/ps_restart.rb
|
263
185
|
- lib/command/ps_start.rb
|
@@ -266,17 +188,18 @@ files:
|
|
266
188
|
- lib/command/run_detached.rb
|
267
189
|
- lib/command/setup.rb
|
268
190
|
- lib/command/test.rb
|
191
|
+
- lib/command/version.rb
|
269
192
|
- lib/core/config.rb
|
270
193
|
- lib/core/controlplane.rb
|
271
194
|
- lib/core/controlplane_api.rb
|
272
195
|
- lib/core/controlplane_api_cli.rb
|
273
196
|
- lib/core/controlplane_api_direct.rb
|
274
197
|
- lib/core/scripts.rb
|
198
|
+
- lib/core/shell.rb
|
275
199
|
- lib/cpl.rb
|
276
200
|
- lib/cpl/version.rb
|
277
201
|
- lib/main.rb
|
278
|
-
-
|
279
|
-
- redis.md
|
202
|
+
- rakelib/create_release.rake
|
280
203
|
- script/generate_commands_docs
|
281
204
|
- templates/gvc.yml
|
282
205
|
- templates/identity.yml
|
File without changes
|
/data/{redis.md → docs/redis.md}
RENAMED
File without changes
|