Skip to content

Commit ba793dc

Browse files
build: upgrade components (#641)
1 parent 2131843 commit ba793dc

File tree

7 files changed

+45
-66
lines changed

7 files changed

+45
-66
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 17 additions & 10 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: 8.4.0
4+
version: 9.0.0
55
keywords:
66
- codefresh
77
- runner
@@ -14,21 +14,28 @@ maintainers:
1414
url: https://codefresh-io.github.io/
1515
annotations:
1616
# 💡 Do not forget to update this annotation:
17-
artifacthub.io/containsSecurityUpdates: "false"
17+
artifacthub.io/containsSecurityUpdates: "true"
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
2020
- kind: changed
21-
description: "Update \"cf-docker-builder\" to 1.5.2."
21+
description: "Update \"cf-deploy-kubernetes\" to 17.0.0."
22+
- kind: security
23+
description: "Fix various CVE in \"cf-deploy-kubernetes\"."
2224
- kind: added
23-
description: "Support \"progress: tty\" for build steps if BuildKit is enabled."
24-
- kind: fixed
25-
description: "Fix \"docker-container\" driver escaping desired control group on cgroup v2 in \"build\" step."
26-
- kind: changed
27-
description: "Update \"engine\" to 1.180.9."
25+
description: "Support k8s 1.32, 1.33, 1.34 in \"deploy\" step."
2826
- kind: deprecated
29-
description: "Remove Node.js package managers such as \"npm\" from the \"engine\" image."
27+
description: "Remove support for k8s older than 1.32 in \"deploy\" step."
28+
links:
29+
- name: Codefresh Docs - Deploy
30+
url: https://codefresh.io/docs/docs/pipelines/steps/deploy/
31+
- kind: changed
32+
description: "Update \"cf-container-logger\" to 2.0.0."
3033
- kind: changed
31-
description: "Do not use \"npm\" as the entrypoint for \"engine\"."
34+
description: "Update \"engine\" to 2.0.0."
35+
- kind: deprecated
36+
description: "Remove deprecated Prometheus metrics controlled by env variables \"METRICS_PROMETHEUS_ENABLED\" and \"METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS\""
37+
- kind: deprecated
38+
description: "Remove \"codefresh.classic.build.deprecated_images.pulled\" OTel metric."
3239
dependencies:
3340
- name: cf-common
3441
repository: oci://quay.io/codefresh/charts

charts/cf-runtime/README.md

Lines changed: 13 additions & 10 deletions
Large diffs are not rendered by default.

charts/cf-runtime/README.md.gotmpl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
2121
- [To 7.9.x](#to-7-9-x)
2222
- [To 8.x](#to-8-x)
2323
- [To 8.2.x](#to-8-2-x)
24+
- [To 9.x](#to-9-x)
2425
- [Architecture](#architecture)
2526
- [Configuration](#configuration)
2627
- [Runtime spec synchronization](#runtime-spec-synchronization)
@@ -336,6 +337,14 @@ runtime:
336337
METRICS_PROMETHEUS_ENABLED: "true" # Enable old Prometheus metrics
337338
```
338339

340+
### To 9.x
341+
342+
* **Removed**: `deploy` step ([docs](https://codefresh.io/docs/docs/pipelines/steps/deploy/)) drops support for Kubernetes versions older than 1.32. Supported versions are: 1.34, 1.33, 1.32.
343+
344+
* **Removed**: Legacy Prometheus metrics emitted by the `engine` component and controlled by `METRICS_PROMETHEUS_ENABLED` and `METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS` environment variables are dropped. Use modern OpenTelemetry-based metrics instead. See [To 8.2.x](#to-8-2-x) for more details.
345+
346+
* **Removed**: OTel metric `codefresh.classic.build.deprecated_images.pulled` emitted by the `engine` component is dropped.
347+
339348
## Architecture
340349

341350
[Codefresh Runner architecture](https://codefresh.io/docs/docs/installation/codefresh-runner/#codefresh-runner-architecture)

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ tests:
4343
FORCE_COMPOSE_SERIAL_PULL: 'false'
4444
LOGGER_LEVEL: 'debug'
4545
LOG_OUTGOING_HTTP_REQUESTS: 'false'
46-
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
47-
METRICS_PROMETHEUS_ENABLED: 'false'
48-
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
49-
METRICS_PROMETHEUS_HOST: '0.0.0.0'
50-
METRICS_PROMETHEUS_PORT: '9100'
51-
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
5246
METRICS_SCRAPE_TIMEOUT_MS: '0'
5347
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
5448
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ tests:
5757
INT: '123'
5858
LOGGER_LEVEL: 'debug'
5959
LOG_OUTGOING_HTTP_REQUESTS: 'false'
60-
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
61-
METRICS_PROMETHEUS_ENABLED: 'false'
62-
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
63-
METRICS_PROMETHEUS_HOST: '0.0.0.0'
64-
METRICS_PROMETHEUS_PORT: '9100'
65-
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
6660
METRICS_SCRAPE_TIMEOUT_MS: '0'
6761
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
6862
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'
@@ -277,12 +271,6 @@ tests:
277271
INT: '123'
278272
LOGGER_LEVEL: 'debug'
279273
LOG_OUTGOING_HTTP_REQUESTS: 'false'
280-
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
281-
METRICS_PROMETHEUS_ENABLED: 'false'
282-
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
283-
METRICS_PROMETHEUS_HOST: '0.0.0.0'
284-
METRICS_PROMETHEUS_PORT: '9100'
285-
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
286274
METRICS_SCRAPE_TIMEOUT_MS: '0'
287275
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
288276
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ tests:
5959
INT_AS_STRING: '123'
6060
LOGGER_LEVEL: 'debug'
6161
LOG_OUTGOING_HTTP_REQUESTS: 'false'
62-
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
63-
METRICS_PROMETHEUS_ENABLED: 'false'
64-
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
65-
METRICS_PROMETHEUS_HOST: '0.0.0.0'
66-
METRICS_PROMETHEUS_PORT: '9100'
67-
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
6862
METRICS_SCRAPE_TIMEOUT_MS: '0'
6963
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
7064
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'

charts/cf-runtime/values.yaml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,9 @@ runtime:
505505
image:
506506
registry: quay.io
507507
repository: codefresh/engine
508-
tag: 1.180.9
508+
tag: 2.0.0
509509
pullPolicy: IfNotPresent
510-
digest: sha256:946d9b718d92cfb10dabdd3c7f66b3be1056882e023d58da09a66f36af18e781
510+
digest: sha256:ca1203291a7d36d4e34e8b4823549217fdaa68f8ded107869b396e38009ea962
511511
# -- Set container command.
512512
command:
513513
- 'node'
@@ -535,8 +535,8 @@ runtime:
535535
container-logger:
536536
registry: quay.io
537537
repository: codefresh/cf-container-logger
538-
tag: 1.13.3
539-
digest: sha256:e2ccf1aab9dc118d91a449843842f5d19b4cd25731b5409de412b4ade7a2a524
538+
tag: 2.0.0
539+
digest: sha256:6459db2d486f89457ce347ecc1dc037d39c43fb0c1fb67ea6e9d6743e104642f
540540
docker-builder:
541541
registry: quay.io
542542
repository: codefresh/cf-docker-builder
@@ -570,8 +570,8 @@ runtime:
570570
kube-deploy:
571571
registry: quay.io
572572
repository: codefresh/cf-deploy-kubernetes
573-
tag: 16.2.9
574-
digest: sha256:35649b14eb43717d3752d08597ada77d3737b2508f1b8e1f52f67b7a0e5ff263
573+
tag: 17.0.0
574+
digest: sha256:ee9f56c8c5fc73dfd45511fb003dc53f35e0c46a78acdbb62ad386f33913b765
575575
pipeline-debugger:
576576
registry: quay.io
577577
repository: codefresh/cf-debugger
@@ -683,22 +683,6 @@ runtime:
683683
# -- Emit the stable HTTP and networking OTel conventions if CF_TELEMETRY_OTEL_ALLOW_HTTP_INSTRUMENTATION=true.
684684
OTEL_SEMCONV_STABILITY_OPT_IN: 'http'
685685
#
686-
# -- Deprecated metrics configuration
687-
# -- DEPRECATED: Use OpenTelemetry metrics instead. This option enables Prometheus metrics and will be removed in a future release.
688-
# If enabled, make sure to disable newest metrics by specifying CF_TELEMETRY_PROMETHEUS_ENABLE=false.
689-
METRICS_PROMETHEUS_ENABLED: false
690-
# -- DEPRECATED: Use OpenTelemetry metrics instead. This option enables legacy metrics and will be removed in a future release.
691-
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: false
692-
# -- DEPRECATED: Use OpenTelemetry metrics instead. This option enables process metrics and will be removed in a future release.
693-
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: false
694-
# -- DEPRECATED: Use OpenTelemetry metrics instead. This options sets the host for Prometheus metrics server and will be removed in a future release.
695-
METRICS_PROMETHEUS_HOST: '0.0.0.0'
696-
# -- DEPRECATED: Use OpenTelemetry metrics instead. This options sets the port for Prometheus metrics server and will be removed in a future release.
697-
METRICS_PROMETHEUS_PORT: 9100
698-
# -- DEPRECATED: Use OpenTelemetry metrics instead. This options sets exit timeout for Prometheus metrics server and will be removed in a future release.
699-
# If set, the engine will wait <timeout>ms for the scrape before exiting.
700-
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
701-
#
702686
# -- Engine operation configuration
703687
# -- Interval to check the exec status in the container-logger
704688
CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS: 1000

0 commit comments

Comments
 (0)