Skip to content

chore(deploy): migrate CF modules to cflinuxfs5 stack (#3111) - #3113

Merged
jung-thomas merged 2 commits into
DEVfrom
fix/cflinuxfs5-migration
Nov 12, 2026
Merged

jung-thomas merged 2 commits into
DEVfrom
fix/cflinuxfs5-migration

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

Closes #3111.

What

Explicitly pins stack: cflinuxfs5 on every deployable module across all three MTA descriptors. Previously no module declared a stack, so they inherited the CF space default (cflinuxfs4 / Ubuntu 22.04), which SAP is retiring (migration blog). cflinuxfs5 = Ubuntu 24.04.

Modules pinned

MTA Module Type
.deploy/mta.yaml + mta.yaml tutorials-srv, tutorials-srv-qa nodejs
.deploy/mta.yaml + mta.yaml tutorials-db-deployer, tutorials-db-qa-deployer hdb
.deploy/mta.yaml + mta.yaml tutorials-approuter approuter.nodejs
mta-mcp.yaml tutorials-srv-mcp nodejs

Resource modules (HDI containers, xsuaa, destination, credstore, etc.) don't stage and take no stack. There's no MTA-global stack setting — it's per-module (confirmed in SAP MTA schema docs).

cflinuxfs5 is available in the target space (cf stacks confirms Ubuntu 24.04). The mtaext files set no stack/buildpack, so the base-MTA value applies to every env (dev/qa/prod).

Also refreshed a stale cflinuxfs4 rootfs reference in a curl-transport.js comment (no code change — CURL_BIN resolves curl from PATH, present in both stacks).

Validation

  • mbt validate -m schema passes clean in strict mode on all three descriptors (unknown fields error in strict mode → confirms stack is a recognized module param and correctly placed).
  • yq confirms the key landed on exactly the 6 app/hdb-type modules and no resources.

Full mbt build + deploy to DEV is the real end-to-end check — descriptor-only change, so CI/DEV deploy is the right place to prove the stack flips. Verify post-deploy with cf app <name> → stack: cflinuxfs5.

Release 1.44.1: DEV to main promotion
Explicitly set stack: cflinuxfs5 on every deployable module across all
three MTA descriptors (.deploy/mta.yaml, root mta.yaml, mta-mcp.yaml) so
modules no longer inherit the space-default cflinuxfs4 (Ubuntu 22.04),
which SAP is retiring. cflinuxfs5 = Ubuntu 24.04.

Modules pinned: tutorials-srv, tutorials-srv-qa, tutorials-srv-mcp
(nodejs); tutorials-db-deployer, tutorials-db-qa-deployer (hdb);
tutorials-approuter (approuter.nodejs). Resource modules (HDI containers,
xsuaa, etc.) don't stage and take no stack.

Also refresh a stale cflinuxfs4 rootfs reference in curl-transport.js.

Validated: mbt validate -m schema passes clean (strict) on all three.
@jung-thomas
jung-thomas merged commit d1680b2 into DEV Nov 12, 2026
5 checks passed
@jung-thomas
jung-thomas deleted the fix/cflinuxfs5-migration branch November 12, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant