apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/bifrost.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 400dd873b19ca5dcb91715a9445473a1 creationTimestamp: "2026-07-29T15:04:43Z" generation: 7 labels: branch: main build: "161" context: release created-by-lighthouse: "true" event-GUID: d01e8b4e-8b5e-11f1-8290-c7978feae2c0 lighthouse.jenkins-x.io/baseSHA: 5c7319ebe85659badd2231c65bda05b8bdb9472b lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1785337483321" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-bifrost-main-release-8gflt lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 5c7319ebe85659badd2231c65bda05b8bdb9472b lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: bifrost lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-bifrost-main-release-m2kmv-from-build-pack-pod provider: github repository: bifrost tekton.dev/pipeline: apitaltrade-bifrost-main-release managedFields: - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: f:branch: {} f:context: {} f:owner: {} f:provider: {} f:repository: {} f:spec: f:lastCommitMessage: {} f:lastCommitSHA: {} f:releaseNotesURL: {} f:version: {} manager: jx-changelog-0.10.29 operation: Update time: "2026-07-29T15:08:37Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} f:status: {} manager: jx-promote-0.6.45 operation: Update time: "2026-07-29T15:09:39Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} f:pipeline.jenkins-x.io/traceID: {} f:labels: .: {} f:build: {} f:created-by-lighthouse: {} f:event-GUID: {} f:lighthouse.jenkins-x.io/baseSHA: {} f:lighthouse.jenkins-x.io/branch: {} f:lighthouse.jenkins-x.io/buildNum: {} f:lighthouse.jenkins-x.io/context: {} f:lighthouse.jenkins-x.io/id: {} f:lighthouse.jenkins-x.io/job: {} f:lighthouse.jenkins-x.io/lastCommitSHA: {} f:lighthouse.jenkins-x.io/refs.org: {} f:lighthouse.jenkins-x.io/refs.repo: {} f:lighthouse.jenkins-x.io/type: {} f:podName: {} f:tekton.dev/pipeline: {} f:spec: .: {} f:baseSHA: {} f:batchPipelineActivity: {} f:build: {} f:buildLogsUrl: {} f:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-07-29T15:10:29Z" name: greencapitaltrade-bifrost-main-161 namespace: jx resourceVersion: "226609113" uid: d2d03533-06af-4f2d-8f3c-9402a110f1e6 spec: baseSHA: 5c7319ebe85659badd2231c65bda05b8bdb9472b batchPipelineActivity: {} build: "161" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/bifrost/main/161.log completedTimestamp: "2026-07-29T15:09:15Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: bifrost gitUrl: https://github.com/greencapitaltrade/bifrost.git lastCommitMessage: | chore(chart): lean http (threaded) + cron-only deployments max_cron_threads was hardcoded to 1 in odoo.conf, so the ODOO_MAX_CRON_THREADS env the chart already set (and cron.maxThreads in values) were dead - every pod, http included, ran a redundant cron worker. Template it: max_cron_threads = ${ODOO_MAX_CRON_THREADS:-0}. Also add http_enable = ${ODOO_HTTP_ENABLE:-True} so the cron pod can disable its http listener entirely. Chart changes: - http pods: ODOO_WORKERS 2 -> 0 (threaded mode: single process, no master/workers/gevent) plus explicit ODOO_MAX_CRON_THREADS=0 so they never run crons. Net effect ~5 processes/~1.23Gi -> 1 process/~300MB per http pod. - cron pod: workers 1 -> 0 (no http worker/gevent), ODOO_HTTP_ENABLE set to "False", maxThreads still reaches ODOO_MAX_CRON_THREADS. - deployment.yaml sets ODOO_WORKERS explicitly rather than relying on applicationConfig, because config-map.yaml's `{{- if $value }}` guard silently drops falsy "0" entries from the rendered ConfigMap. Verified via `helm template`: http Deployment renders ODOO_WORKERS=0, ODOO_MAX_CRON_THREADS=0; cron Deployment renders ODOO_WORKERS=0, ODOO_MAX_CRON_THREADS=2, ODOO_HTTP_ENABLE=False. Smoke-tested in the devcontainer: asset_management installs clean under threaded mode, and a threaded boot shows a single Odoo process serving /web/health (200) with no master/worker/cron children. Investigated per caveat: no ODOO_WORKERS/ODOO_MAX_CRON_THREADS override in this repo's own values, nor in mcu/charts/{production,staging}/bifrost/values.yaml. The "2" visible in mcu/config-root today is just the current rendered base-chart default (helm deep-merges applicationConfig), not an override - production/staging will pick up 0 automatically on the next mcu chart-version bump/promote. Co-Authored-By: Claude Opus 5 (1M context) lastCommitSHA: 40ed3f238b845c8bc7394339544d4162caa0363c message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/bifrost/main releaseNotesURL: https://github.com/greencapitaltrade/bifrost/releases/tag/v6.84.6 startedTimestamp: "2026-07-29T15:04:43Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-07-29T15:09:15Z" name: Release startedTimestamp: "2026-07-29T15:08:15Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4998 startedTimestamp: "2026-07-29T15:09:15Z" status: Succeeded startedTimestamp: "2026-07-29T15:09:15Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-07-29T15:10:22Z" name: from build pack startedTimestamp: "2026-07-29T15:05:26Z" status: Succeeded steps: - completedTimestamp: "2026-07-29T15:05:44Z" name: Git Clone startedTimestamp: "2026-07-29T15:05:26Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:48Z" name: Next Version startedTimestamp: "2026-07-29T15:05:44Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:51Z" name: Jx Variables startedTimestamp: "2026-07-29T15:05:48Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:52Z" name: Setup Npm Nexus startedTimestamp: "2026-07-29T15:05:52Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:55Z" name: Setup Pip Cache startedTimestamp: "2026-07-29T15:05:53Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:56Z" name: Process Config Templates startedTimestamp: "2026-07-29T15:05:56Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:57Z" name: Update Asset Management Version startedTimestamp: "2026-07-29T15:05:57Z" status: Succeeded - completedTimestamp: "2026-07-29T15:06:00Z" name: Check Registry startedTimestamp: "2026-07-29T15:05:58Z" status: Succeeded - completedTimestamp: "2026-07-29T15:08:28Z" name: Build Container Build startedTimestamp: "2026-07-29T15:06:00Z" status: Succeeded - completedTimestamp: "2026-07-29T15:08:37Z" name: Promote Changelog startedTimestamp: "2026-07-29T15:08:28Z" status: Succeeded - completedTimestamp: "2026-07-29T15:08:41Z" name: Promote Helm Release startedTimestamp: "2026-07-29T15:08:37Z" status: Succeeded - completedTimestamp: "2026-07-29T15:09:42Z" name: Promote Jx Promote startedTimestamp: "2026-07-29T15:08:42Z" status: Succeeded - completedTimestamp: "2026-07-29T15:10:22Z" name: Publish Org Kb startedTimestamp: "2026-07-29T15:09:42Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-07-29T15:10:22Z" name: from build pack startedTimestamp: "2026-07-29T15:05:26Z" status: Succeeded steps: - completedTimestamp: "2026-07-29T15:05:44Z" name: Git Clone startedTimestamp: "2026-07-29T15:05:26Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:48Z" name: Next Version startedTimestamp: "2026-07-29T15:05:44Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:51Z" name: Jx Variables startedTimestamp: "2026-07-29T15:05:48Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:52Z" name: Setup Npm Nexus startedTimestamp: "2026-07-29T15:05:52Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:55Z" name: Setup Pip Cache startedTimestamp: "2026-07-29T15:05:53Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:56Z" name: Process Config Templates startedTimestamp: "2026-07-29T15:05:56Z" status: Succeeded - completedTimestamp: "2026-07-29T15:05:57Z" name: Update Asset Management Version startedTimestamp: "2026-07-29T15:05:57Z" status: Succeeded - completedTimestamp: "2026-07-29T15:06:00Z" name: Check Registry startedTimestamp: "2026-07-29T15:05:58Z" status: Succeeded - completedTimestamp: "2026-07-29T15:08:28Z" name: Build Container Build startedTimestamp: "2026-07-29T15:06:00Z" status: Succeeded - completedTimestamp: "2026-07-29T15:08:37Z" name: Promote Changelog startedTimestamp: "2026-07-29T15:08:28Z" status: Succeeded - completedTimestamp: "2026-07-29T15:08:41Z" name: Promote Helm Release startedTimestamp: "2026-07-29T15:08:37Z" status: Succeeded - completedTimestamp: "2026-07-29T15:09:42Z" name: Promote Jx Promote startedTimestamp: "2026-07-29T15:08:42Z" status: Succeeded - completedTimestamp: "2026-07-29T15:10:22Z" name: Publish Org Kb startedTimestamp: "2026-07-29T15:09:42Z" status: Succeeded version: 6.84.6 status: {}