Skip to content

Commit 3ec2b42

Browse files
committed
Remove log prefixes from pro-builder output
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 9a83b8d commit 3ec2b42

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/openfaas-pro/builder.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ You'll see output like this:
197197
```json
198198
{
199199
"log": [
200-
"v: 2021-10-20T16:48:34Z [ship 1/16] WORKDIR /home/app/",
201-
"v: 2021-10-20T16:48:34Z exporting to image 8.01s"
200+
"2021-10-20T16:48:34Z [ship 1/16] WORKDIR /home/app/",
201+
"2021-10-20T16:48:34Z exporting to image 8.01s"
202202
],
203203
"image": "ttl.sh/alexellis2/test-image-hello:0.1.0",
204204
"status": "success"
@@ -240,13 +240,13 @@ A HTTP client has three tasks to perform:
240240
```json
241241
{
242242
"log": [
243-
"v: 2022-06-23T09:10:12Z [ship 15/16] RUN npm test 0.35s",
244-
"v: 2022-06-23T09:10:13Z [ship 16/16] WORKDIR /home/app/",
245-
"v: 2022-06-23T09:10:13Z [ship 16/16] WORKDIR /home/app/ 0.09s",
246-
"v: 2022-06-23T09:10:13Z exporting to image",
247-
"s: 2022-06-23T09:11:06Z pushing manifest for ttl.sh/openfaas-image:1h@sha256:b077f553245c09d789980d081d33d46b93a23c24a5ec0a9c3c26be2c768db93e 0",
248-
"s: 2022-06-23T09:11:09Z pushing manifest for ttl.sh/openfaas-image:1h@sha256:b077f553245c09d789980d081d33d46b93a23c24a5ec0a9c3c26be2c768db93e 0",
249-
"v: 2022-06-23T09:10:13Z exporting to image 5.18s"
243+
"2022-06-23T09:10:12Z [ship 15/16] RUN npm test 0.35s",
244+
"2022-06-23T09:10:13Z [ship 16/16] WORKDIR /home/app/",
245+
"2022-06-23T09:10:13Z [ship 16/16] WORKDIR /home/app/ 0.09s",
246+
"2022-06-23T09:10:13Z exporting to image",
247+
"2022-06-23T09:11:06Z pushing manifest for ttl.sh/openfaas-image:1h@sha256:b077f553245c09d789980d081d33d46b93a23c24a5ec0a9c3c26be2c768db93e 0",
248+
"2022-06-23T09:11:09Z pushing manifest for ttl.sh/openfaas-image:1h@sha256:b077f553245c09d789980d081d33d46b93a23c24a5ec0a9c3c26be2c768db93e 0",
249+
"2022-06-23T09:10:13Z exporting to image 5.18s"
250250
],
251251
"image": "ttl.sh/openfaas-image:1h",
252252
"status": "success",
@@ -256,7 +256,7 @@ A HTTP client has three tasks to perform:
256256

257257
The `duration` field is given in seconds and is the total time taken to build the image including pulling base layers, exporting the image, and pushing it to the registry.
258258

259-
There are several examples available of how to call the Function Builder's API via different programming languages: [openfaas-function-builder-api-examples](https://github.com/openfaas/function-builder-examples)
259+
There are several examples available of how to call the Function Builder's API via different programming language[openfaas-function-builder-api-examples](https://github.com/openfaas/function-builder-examples)
260260

261261
You should be able to translate the example given with curl into any programming language, but if you need additional support, feel free to [reach out to us](https://openfaas.com/support).
262262

@@ -313,8 +313,8 @@ The intermediate output is identified by the `status` field containing `in_progr
313313
```json
314314
{
315315
"log": [
316-
"v: 2021-10-20T16:48:34Z [ship 1/16] WORKDIR /home/app/",
317-
"v: 2021-10-20T16:48:34Z exporting to image 8.01s"
316+
"2021-10-20T16:48:34Z [ship 1/16] WORKDIR /home/app/",
317+
"2021-10-20T16:48:34Z exporting to image 8.01s"
318318
],
319319
"image": "ttl.sh/alexellis2/test-image-hello:0.1.0",
320320
"status": "in_progress",
@@ -414,7 +414,7 @@ Content-Length: 62
414414
Content-Type: text/plain; charset=utf-8
415415
Connection: close
416416

417-
Concurrent request limit exceeded. Max concurrent requests: 1
417+
Concurrent request limit exceeded. Max concurrent request1
418418
```
419419

420420
The pro-builder will be marked as unready by Kubernetes, and if you have other replicas (see above section), then when you retry the request, it should hit a ready worker instead.

0 commit comments

Comments
 (0)