This is an automated email from the ASF dual-hosted git repository. sciabarracom pushed a commit to branch 0.9.0 in repository https://gitbox.apache.org/repos/asf/openserverless-runtimes.git
commit 4614cf8e42b88384ef59d29613f7288e3a148804 Author: Michele Sciabarra <[email protected]> AuthorDate: Sun Sep 6 17:38:15 2026 +0200 fixed runtime template --- Taskfile.yml | 8 +++++++ runtimes.json.tpl | 68 ++++++++++--------------------------------------------- 2 files changed, 20 insertions(+), 56 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 07961a9..391e430 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -287,6 +287,14 @@ tasks: - runtimes.env cmds: - cat runtimes.json.tpl | envsubst > runtimes.json + # envsubst silently expands unset vars to "", so catch template/runtime drift here + - | + if grep -q '"tag": ""' runtimes.json + then + echo "ERROR: unresolved image tags in runtimes.json (runtimes.json.tpl is out of sync with runtimes.env):" >&2 + grep -n -B12 -A2 '"tag": ""' runtimes.json | grep -E '"(kind|name)"' >&2 + exit 1 + fi render-runtimes: silent: true diff --git a/runtimes.json.tpl b/runtimes.json.tpl index 3706112..f05e22d 100644 --- a/runtimes.json.tpl +++ b/runtimes.json.tpl @@ -15,12 +15,12 @@ "runtimes": { "nodejs": [ { - "kind": "nodejs:21", + "kind": "nodejs:24", "default": true, "image": { "prefix": "$OPS_RUNTIME_PREFIX", "name": "openserverless-runtime-nodejs", - "tag": "$OPS_RUNTIME_TAG_NODEJS_V21" + "tag": "$OPS_RUNTIME_TAG_NODEJS_V24" }, "deprecated": false, "attached": { @@ -42,12 +42,12 @@ ] }, { - "kind": "nodejs:20", + "kind": "nodejs:22", "default": false, "image": { "prefix": "$OPS_RUNTIME_PREFIX", "name": "openserverless-runtime-nodejs", - "tag": "$OPS_RUNTIME_TAG_NODEJS_V20" + "tag": "$OPS_RUNTIME_TAG_NODEJS_V22" }, "deprecated": false, "attached": { @@ -56,12 +56,12 @@ } }, { - "kind": "nodejs:18", + "kind": "nodejs:20", "default": false, "image": { "prefix": "$OPS_RUNTIME_PREFIX", "name": "openserverless-runtime-nodejs", - "tag": "$OPS_RUNTIME_TAG_NODEJS_V18" + "tag": "$OPS_RUNTIME_TAG_NODEJS_V20" }, "deprecated": false, "attached": { @@ -143,7 +143,7 @@ ], "go": [ { - "kind": "go:1.22", + "kind": "go:1.27", "default": true, "deprecated": false, "attached": { @@ -153,25 +153,11 @@ "image": { "prefix": "$OPS_RUNTIME_PREFIX", "name": "openserverless-runtime-go", - "tag": "$OPS_RUNTIME_TAG_GO_V1_22" - } - }, - { - "kind": "go:1.21", - "default": false, - "deprecated": false, - "attached": { - "attachmentName": "codefile", - "attachmentType": "text/plain" - }, - "image": { - "prefix": "$OPS_RUNTIME_PREFIX", - "name": "openserverless-runtime-go", - "tag": "$OPS_RUNTIME_TAG_GO_V1_21" + "tag": "$OPS_RUNTIME_TAG_GO_V1_27" } }, { - "kind": "go:1.20", + "kind": "go:1.26", "default": false, "deprecated": false, "attached": { @@ -181,11 +167,11 @@ "image": { "prefix": "$OPS_RUNTIME_PREFIX", "name": "openserverless-runtime-go", - "tag": "$OPS_RUNTIME_TAG_GO_V1_20" + "tag": "$OPS_RUNTIME_TAG_GO_V1_26" } }, { - "kind": "go:1.22proxy", + "kind": "go:1.25", "default": false, "deprecated": false, "attached": { @@ -195,7 +181,7 @@ "image": { "prefix": "$OPS_RUNTIME_PREFIX", "name": "openserverless-runtime-go", - "tag": "$OPS_RUNTIME_TAG_GO_V1_22PROXY" + "tag": "$OPS_RUNTIME_TAG_GO_V1_25" } } ], @@ -260,36 +246,6 @@ }, "requireMain": true } - ], - "php": [ - { - "kind": "php:8.3", - "default": true, - "deprecated": false, - "image": { - "prefix": "$OPS_RUNTIME_PREFIX", - "name": "openserverless-runtime-php", - "tag": "$OPS_RUNTIME_TAG_PHP_V8_3" - }, - "attached": { - "attachmentName": "codefile", - "attachmentType": "text/plain" - } - }, - { - "kind": "php:8.2", - "default": false, - "deprecated": false, - "image": { - "prefix": "$OPS_RUNTIME_PREFIX", - "name": "openserverless-runtime-php", - "tag": "$OPS_RUNTIME_TAG_PHP_V8_2" - }, - "attached": { - "attachmentName": "codefile", - "attachmentType": "text/plain" - } - } ] }, "blackboxes": [ ]
