Skip to content

Commit c6d41f1

Browse files
committed
chore(workflow): format workflow-cli output
1 parent 2cbb7ac commit c6d41f1

10 files changed

Lines changed: 134 additions & 293 deletions

File tree

src/applications/managing-app-configuration.md

Lines changed: 40 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -106,28 +106,20 @@ zero is considered a pass, while a non-zero status code is considered a fail.
106106
healthy if the check can establish a connection. `tcpSocket` probes accept a port number to perform
107107
the socket connection on the Container.
108108

109-
Health checks can be configured on a per-proctype basis for each application using `drycc healthchecks:set`. If no type is mentioned then the health checks are applied to default proc types, web or cmd, whichever is present. To
109+
Health checks can be configured on a per-proctype basis for each application using `drycc healthchecks:set`. If no type is mentioned then the health checks are applied to default proc type web, whichever is present. To
110110
configure a `httpGet` liveness probe:
111111

112112
```
113-
$ drycc healthchecks:set liveness httpGet 80 --type cmd
114-
=== peachy-waxworks Healthchecks
115-
116-
cmd:
117-
Liveness
118-
--------
119-
Initial Delay (seconds): 50
120-
Timeout (seconds): 50
121-
Period (seconds): 10
122-
Success Threshold: 1
123-
Failure Threshold: 3
124-
Exec Probe: N/A
125-
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[]
126-
TCP Socket Probe: N/A
127-
128-
Readiness
129-
---------
130-
No readiness probe configured.
113+
$ drycc healthchecks:set liveness httpGet 80 --type web
114+
Applying livenessProbe healthcheck... done
115+
116+
App: peachy-waxworks
117+
UUID: afd84067-29e9-4a5f-9f3a-60d91e938812
118+
Owner: dev
119+
Created: 2023-12-08T10:25:00Z
120+
Updated: 2023-12-08T10:25:00Z
121+
Healthchecks:
122+
liveness web http-get headers=[] path=/ port=80 delay=50s timeout=50s period=10s #success=1 #failure=3
131123
```
132124

133125
If the application relies on certain headers being set (such as the `Host` header) or a specific
@@ -137,69 +129,45 @@ URL path relative to the root, you can also send specific HTTP headers:
137129
$ drycc healthchecks:set liveness httpGet 80 \
138130
--path /welcome/index.html \
139131
--headers "X-Client-Version:v1.0,X-Foo:bar"
140-
=== peachy-waxworks Healthchecks
141-
142-
web/cmd:
143-
Liveness
144-
--------
145-
Initial Delay (seconds): 50
146-
Timeout (seconds): 50
147-
Period (seconds): 10
148-
Success Threshold: 1
149-
Failure Threshold: 3
150-
Exec Probe: N/A
151-
HTTP GET Probe: Path="/welcome/index.html" Port=80 HTTPHeaders=[X-Client-Version=v1.0]
152-
TCP Socket Probe: N/A
153-
154-
Readiness
155-
---------
156-
No readiness probe configured.
132+
Applying livenessProbe healthcheck... done
133+
134+
App: peachy-waxworks
135+
UUID: afd84067-29e9-4a5f-9f3a-60d91e938812
136+
Owner: dev
137+
Created: 2023-12-08T10:25:00Z
138+
Updated: 2023-12-08T10:25:00Z
139+
Healthchecks:
140+
liveness web http-get headers=[X-Client-Version=v1.0] path=/welcome/index.html port=80 delay=50s timeout=50s period=10s #success=1 #failure=3
157141
```
158142

159143
To configure an `exec` readiness probe:
160144

161145
```
162-
$ drycc healthchecks:set readiness exec -- /bin/echo -n hello --type cmd
163-
=== peachy-waxworks Healthchecks
164-
165-
cmd:
166-
Liveness
167-
--------
168-
No liveness probe configured.
169-
170-
Readiness
171-
---------
172-
Initial Delay (seconds): 50
173-
Timeout (seconds): 50
174-
Period (seconds): 10
175-
Success Threshold: 1
176-
Failure Threshold: 3
177-
Exec Probe: Command=[/bin/echo -n hello]
178-
HTTP GET Probe: N/A
179-
TCP Socket Probe: N/A
146+
$ drycc healthchecks:set readiness exec -- /bin/echo -n hello --type web
147+
Applying readinessProbe healthcheck... done
148+
149+
App: peachy-waxworks
150+
UUID: afd84067-29e9-4a5f-9f3a-60d91e938812
151+
Owner: dev
152+
Created: 2023-12-08T10:25:00Z
153+
Updated: 2023-12-08T10:25:00Z
154+
Healthchecks:
155+
readiness web exec /bin/echo -n hello delay=50s timeout=50s period=10s #success=1 #failure=3
180156
```
181157

182158
You can overwrite a probe by running `drycc healthchecks:set` again:
183159

184160
```
185-
$ drycc healthchecks:set readiness httpGet 80 --type cmd
186-
=== peachy-waxworks Healthchecks
187-
188-
cmd:
189-
Liveness
190-
--------
191-
No liveness probe configured.
192-
193-
Readiness
194-
---------
195-
Initial Delay (seconds): 50
196-
Timeout (seconds): 50
197-
Period (seconds): 10
198-
Success Threshold: 1
199-
Failure Threshold: 3
200-
Exec Probe: N/A
201-
HTTP GET Probe: Path="/" Port=80 HTTPHeaders=[]
202-
TCP Socket Probe: N/A
161+
$ drycc healthchecks:set readiness httpGet 80 --type web
162+
Applying livenessProbe healthcheck... done
163+
164+
App: peachy-waxworks
165+
UUID: afd84067-29e9-4a5f-9f3a-60d91e938812
166+
Owner: dev
167+
Created: 2023-12-08T10:25:00Z
168+
Updated: 2023-12-08T10:25:00Z
169+
Healthchecks:
170+
liveness web http-get headers=[] path=/ port=80 delay=50s timeout=50s period=10s #success=1 #failure=3
203171
```
204172

205173
Configured health checks also modify the default application deploy behavior. When starting a new

src/applications/managing-app-lifecycle.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ You can see a record of changes to your application using `drycc releases`:
1212

1313
```
1414
$ drycc releases
15-
=== peachy-waxworks Releases
16-
v4 3 minutes ago gabrtv deployed d3ccc05
17-
v3 1 hour 17 minutes ago gabrtv added DATABASE_URL
18-
v2 6 hours 2 minutes ago gabrtv deployed 7cb3321
19-
v1 6 hours 2 minutes ago gabrtv deployed drycc/helloworld
15+
UUID OWNER VERSION CREATED SUMMARY
16+
d2646499-b0b5-402e-a4e9-710bfee15701 dev v3 2023-12-04T10:17:46Z dev deleted PIP_INDEX_URL, DISABLE_COLLECTSTATIC
17+
e8ad8e2e-b8fe-4319-9fa7-933460e19dd4 dev v2 2023-12-01T10:20:22Z dev added IMAGE_PULL_POLICY, PIP_INDEX_URL, PORT, DISABLE_COLLEC[...]
18+
d5e8f2ae-4af3-44b4-8e1a-bdb3a20bee71 dev v1 2023-11-30T17:54:57Z dev created initial release
2019
```
2120

2221
## Rollback a Release
@@ -34,22 +33,20 @@ and configuration from release v2:
3433

3534
```
3635
$ drycc releases
37-
=== folksy-offshoot Releases
38-
v4 4 minutes ago gabrtv deployed d3ccc05
39-
v3 1 hour 18 minutes ago gabrtv added DATABASE_URL
40-
v2 6 hours 2 minutes ago gabrtv deployed 7cb3321
41-
v1 6 hours 3 minutes ago gabrtv deployed drycc/helloworld
36+
UUID OWNER VERSION CREATED SUMMARY
37+
d2646499-b0b5-402e-a4e9-710bfee15701 dev v3 2023-12-04T10:17:46Z dev deleted PIP_INDEX_URL, DISABLE_COLLECTSTATIC
38+
e8ad8e2e-b8fe-4319-9fa7-933460e19dd4 dev v2 2023-12-01T10:20:22Z dev added IMAGE_PULL_POLICY, PIP_INDEX_URL, PORT, DISABLE_COLLEC[...]
39+
d5e8f2ae-4af3-44b4-8e1a-bdb3a20bee71 dev v1 2023-11-30T17:54:57Z dev created initial release
4240
4341
$ drycc rollback v2
4442
Rolled back to v2
4543
4644
$ drycc releases
47-
=== folksy-offshoot Releases
48-
v5 Just now gabrtv rolled back to v2
49-
v4 4 minutes ago gabrtv deployed d3ccc05
50-
v3 1 hour 18 minutes ago gabrtv added DATABASE_URL
51-
v2 6 hours 2 minutes ago gabrtv deployed 7cb3321
52-
v1 6 hours 3 minutes ago gabrtv deployed drycc/helloworld
45+
UUID OWNER VERSION CREATED SUMMARY
46+
d2646499-b0b5-402e-a4e9-710bfee15701 dev v4 2023-12-04T10:20:46Z dev rolled back to v2
47+
d2646499-b0b5-402e-a4e9-710bfee15701 dev v3 2023-12-04T10:17:46Z dev deleted PIP_INDEX_URL, DISABLE_COLLECTSTATIC
48+
e8ad8e2e-b8fe-4319-9fa7-933460e19dd4 dev v2 2023-12-01T10:20:22Z dev added IMAGE_PULL_POLICY, PIP_INDEX_URL, PORT, DISABLE_COLLEC[...]
49+
d5e8f2ae-4af3-44b4-8e1a-bdb3a20bee71 dev v1 2023-11-30T17:54:57Z dev created initial release
5350
```
5451

5552
## Run One-off Administration Tasks

0 commit comments

Comments
 (0)