Skip to content

Commit 2f4b547

Browse files
fix(engine): respect LOGGER_LEVEL variable (#458)
1 parent 678a434 commit 2f4b547

File tree

6 files changed

+18
-8
lines changed

6 files changed

+18
-8
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Codefresh Runner
33
name: cf-runtime
4-
version: 6.3.23
4+
version: 6.3.24
55
keywords:
66
- codefresh
77
- runner
@@ -14,11 +14,15 @@ maintainers:
1414
url: https://codefresh-io.github.io/
1515
annotations:
1616
# 💡 Do not forget to update this annotation:
17-
# artifacthub.io/containsSecurityUpdates: "true"
17+
artifacthub.io/containsSecurityUpdates: "false"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
20+
- kind: changed
21+
description: Upgrade the engine to v1.169.11
22+
- kind: added
23+
description: Validate pipeline step names
2024
- kind: fixed
21-
description: Fix resource requests and limits overrides for agentless runtime
25+
description: Respect LOGGER_LEVEL variable in the engine
2226
dependencies:
2327
- name: cf-common
2428
repository: oci://quay.io/codefresh/charts

charts/cf-runtime/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh Runner
22

3-
![Version: 6.3.23](https://img.shields.io/badge/Version-6.3.23-informational?style=flat-square)
3+
![Version: 6.3.24](https://img.shields.io/badge/Version-6.3.24-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.
66

@@ -1034,13 +1034,14 @@ Go to [https://<YOUR_ONPREM_DOMAIN_HERE>/admin/runtime-environments/system](http
10341034
| runtime.dind.userVolumeMounts | object | `{}` | Add extra volume mounts |
10351035
| runtime.dind.userVolumes | object | `{}` | Add extra volumes |
10361036
| runtime.dindDaemon | object | See below | DinD pod daemon config |
1037-
| runtime.engine | object | `{"affinity":{},"command":["npm","run","start"],"env":{"CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS":"1000","LOG_OUTGOING_HTTP_REQUESTS":"false"},"image":{"registry":"quay.io","repository":"codefresh/engine","tag":"1.169.9"},"nodeSelector":{},"podAnnotations":{},"podLabels":{},"resources":{"limits":{"cpu":"1000m","memory":"2048Mi"},"requests":{"cpu":"100m","memory":"128Mi"}},"runtimeImages":{"COMPOSE_IMAGE":"quay.io/codefresh/compose:v2.20.3-1.4.0","CONTAINER_LOGGER_IMAGE":"quay.io/codefresh/cf-container-logger:1.10.3","CR_6177_FIXER":"quay.io/codefresh/alpine:edge","DOCKER_BUILDER_IMAGE":"quay.io/codefresh/cf-docker-builder:1.3.11","DOCKER_PULLER_IMAGE":"quay.io/codefresh/cf-docker-puller:8.0.16","DOCKER_PUSHER_IMAGE":"quay.io/codefresh/cf-docker-pusher:6.0.15","DOCKER_TAG_PUSHER_IMAGE":"quay.io/codefresh/cf-docker-tag-pusher:1.3.13","FS_OPS_IMAGE":"quay.io/codefresh/fs-ops:1.2.3","GC_BUILDER_IMAGE":"quay.io/codefresh/cf-gc-builder:0.5.3","GIT_CLONE_IMAGE":"quay.io/codefresh/cf-git-cloner:10.1.26","KUBE_DEPLOY":"quay.io/codefresh/cf-deploy-kubernetes:16.1.11","PIPELINE_DEBUGGER_IMAGE":"quay.io/codefresh/cf-debugger:1.3.0","TEMPLATE_ENGINE":"quay.io/codefresh/pikolo:0.14.0"},"schedulerName":"","serviceAccount":"codefresh-engine","tolerations":[],"userEnvVars":[]}` | Parameters for Engine pod (aka "pipeline" orchestrator). |
1037+
| runtime.engine | object | `{"affinity":{},"command":["npm","run","start"],"env":{"CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS":"1000","LOGGER_LEVEL":"debug","LOG_OUTGOING_HTTP_REQUESTS":"false"},"image":{"registry":"quay.io","repository":"codefresh/engine","tag":"1.169.11"},"nodeSelector":{},"podAnnotations":{},"podLabels":{},"resources":{"limits":{"cpu":"1000m","memory":"2048Mi"},"requests":{"cpu":"100m","memory":"128Mi"}},"runtimeImages":{"COMPOSE_IMAGE":"quay.io/codefresh/compose:v2.20.3-1.4.0","CONTAINER_LOGGER_IMAGE":"quay.io/codefresh/cf-container-logger:1.10.3","CR_6177_FIXER":"quay.io/codefresh/alpine:edge","DOCKER_BUILDER_IMAGE":"quay.io/codefresh/cf-docker-builder:1.3.11","DOCKER_PULLER_IMAGE":"quay.io/codefresh/cf-docker-puller:8.0.16","DOCKER_PUSHER_IMAGE":"quay.io/codefresh/cf-docker-pusher:6.0.15","DOCKER_TAG_PUSHER_IMAGE":"quay.io/codefresh/cf-docker-tag-pusher:1.3.13","FS_OPS_IMAGE":"quay.io/codefresh/fs-ops:1.2.3","GC_BUILDER_IMAGE":"quay.io/codefresh/cf-gc-builder:0.5.3","GIT_CLONE_IMAGE":"quay.io/codefresh/cf-git-cloner:10.1.26","KUBE_DEPLOY":"quay.io/codefresh/cf-deploy-kubernetes:16.1.11","PIPELINE_DEBUGGER_IMAGE":"quay.io/codefresh/cf-debugger:1.3.0","TEMPLATE_ENGINE":"quay.io/codefresh/pikolo:0.14.0"},"schedulerName":"","serviceAccount":"codefresh-engine","tolerations":[],"userEnvVars":[]}` | Parameters for Engine pod (aka "pipeline" orchestrator). |
10381038
| runtime.engine.affinity | object | `{}` | Set affinity |
10391039
| runtime.engine.command | list | `["npm","run","start"]` | Set container command. |
1040-
| runtime.engine.env | object | `{"CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS":"1000","LOG_OUTGOING_HTTP_REQUESTS":"false"}` | Set additional env vars. |
1040+
| runtime.engine.env | object | `{"CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS":"1000","LOGGER_LEVEL":"debug","LOG_OUTGOING_HTTP_REQUESTS":"false"}` | Set additional env vars. |
10411041
| runtime.engine.env.CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS | string | `"1000"` | Interval to check the exec status in the container-logger |
1042+
| runtime.engine.env.LOGGER_LEVEL | string | `"debug"` | Level of logging for engine |
10421043
| runtime.engine.env.LOG_OUTGOING_HTTP_REQUESTS | string | `"false"` | Enable debug-level logging of outgoing HTTP/HTTPS requests |
1043-
| runtime.engine.image | object | `{"registry":"quay.io","repository":"codefresh/engine","tag":"1.169.9"}` | Set image. |
1044+
| runtime.engine.image | object | `{"registry":"quay.io","repository":"codefresh/engine","tag":"1.169.11"}` | Set image. |
10441045
| runtime.engine.nodeSelector | object | `{}` | Set node selector. |
10451046
| runtime.engine.podAnnotations | object | `{}` | Set pod annotations. |
10461047
| runtime.engine.podLabels | object | `{}` | Set pod labels. |

charts/cf-runtime/tests/private-registry/private_registry_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ tests:
3939
envVars:
4040
CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS: "1000"
4141
LOG_OUTGOING_HTTP_REQUESTS: "false"
42+
LOGGER_LEVEL: debug
4243
COMPOSE_IMAGE: "somedomain.io/codefresh/compose:tagoverride"
4344
CONTAINER_LOGGER_IMAGE: "somedomain.io/codefresh/cf-container-logger:tagoverride"
4445
DOCKER_BUILDER_IMAGE: "somedomain.io/codefresh/cf-docker-builder:tagoverride"

charts/cf-runtime/tests/runtime/runtime_onprem_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ tests:
4747
CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS: "1000"
4848
FOO: BAR
4949
LOG_OUTGOING_HTTP_REQUESTS: "false"
50+
LOGGER_LEVEL: debug
5051
COMPOSE_IMAGE: "quay.io/codefresh/compose:tagoverride"
5152
CONTAINER_LOGGER_IMAGE: "quay.io/codefresh/cf-container-logger:tagoverride"
5253
DOCKER_BUILDER_IMAGE: "quay.io/codefresh/cf-docker-builder:tagoverride"

charts/cf-runtime/tests/runtime/runtime_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ tests:
4848
CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS: "1000"
4949
FOO: BAR
5050
LOG_OUTGOING_HTTP_REQUESTS: "false"
51+
LOGGER_LEVEL: debug
5152
COMPOSE_IMAGE: "quay.io/codefresh/compose:tagoverride"
5253
CONTAINER_LOGGER_IMAGE: "quay.io/codefresh/cf-container-logger:tagoverride"
5354
DOCKER_BUILDER_IMAGE: "quay.io/codefresh/cf-docker-builder:tagoverride"

charts/cf-runtime/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ runtime:
500500
image:
501501
registry: quay.io
502502
repository: codefresh/engine
503-
tag: 1.169.9
503+
tag: 1.169.11
504504
# -- Set container command.
505505
command:
506506
- npm
@@ -534,6 +534,8 @@ runtime:
534534
env:
535535
# -- Interval to check the exec status in the container-logger
536536
CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS: '1000'
537+
# -- Level of logging for engine
538+
LOGGER_LEVEL: 'debug'
537539
# -- Enable debug-level logging of outgoing HTTP/HTTPS requests
538540
LOG_OUTGOING_HTTP_REQUESTS: 'false'
539541
# -- Set pod annotations.

0 commit comments

Comments
 (0)