chore(otel): silence otelsdk warnings across build paths

The build-env images configure an OTel exporter, but otelsdk isn't installed,
so pak's otel instrumentation logs 'no package called otelsdk' on every run.
OTEL_SDK_DISABLED is ignored by the R otel package; it gates on
OTEL_R_<SIGNAL>_EXPORTER. Set traces/logs/metrics to 'none' in build-one and
every .crow build workflow so the R otel providers are clean no-ops, without
disabling OTel for any non-R tooling.
This commit is contained in:
Patrick Schratz 2026-06-30 14:26:13 +02:00
commit 6851ca1186
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -90,6 +90,9 @@ steps:
image: 'reg.devxy.io/rpkgs/build-env-${OS}:${OS_VERSION}'
pull: true
environment:
OTEL_R_TRACES_EXPORTER: none
OTEL_R_LOGS_EXPORTER: none
OTEL_R_METRICS_EXPORTER: none
RED_HAT_DEV_PW:
from_secret: RED_HAT_DEV_PW
B2_S3_ACCESS_KEY:
@ -152,6 +155,9 @@ steps:
image: 'reg.devxy.io/rpkgs/build-env-${OS}:${OS_VERSION}'
pull: true
environment:
OTEL_R_TRACES_EXPORTER: none
OTEL_R_LOGS_EXPORTER: none
OTEL_R_METRICS_EXPORTER: none
B2_S3_ACCESS_KEY:
from_secret: B2_S3_ACCESS_KEY
B2_S3_SECRET_KEY: