This is an automated email from the ASF dual-hosted git repository.
selfxp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-client-js.git
The following commit(s) were added to refs/heads/master by this push:
new 56d529d Prepare 3.21.9 release (#283)
56d529d is described below
commit 56d529d4d6d3bc29a266eec417742465440c839a
Author: Cosmin Stanciu <[email protected]>
AuthorDate: Thu May 14 12:21:49 2026 -1000
Prepare 3.21.9 release (#283)
* Prepare 3.21.9 release
* fix: align OpenWhisk integration test deployment
* fix: update docker dependency constraints in CI workflow
* refactor: switch to python3 for package installations in CI workflow
---
.github/workflows/ci.yaml | 41 +++++++++++++++++++++++++++--------------
CHANGELOG.md | 3 +++
NOTICE.txt | 2 +-
package-lock.json | 4 ++--
package.json | 2 +-
5 files changed, 34 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e0f3cc8..ceddd65 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -71,28 +71,41 @@ jobs:
uses: actions/checkout@v4
with:
repository: apache/openwhisk
+ ref: 2.0.0
path: core
- name: Install python packages needed to deploy OpenWhisk
run: |
- pip install couchdb
- pip install 'jinja2<3.1' ansible==2.8.18
- pip install pydocumentdb
- pip install humanize requests
+ python3 -m pip install couchdb
+ python3 -m pip install 'jinja2<3.1' ansible==2.8.18
+ python3 -m pip install pydocumentdb
+ python3 -m pip install humanize 'requests<2.32' 'urllib3<2'
'docker>=6,<7'
- name: Deploy OpenWhisk
working-directory: core/ansible
env:
ANSIBLE_CMD: "ansible-playbook -i environments/local -e
docker_image_prefix=openwhisk -e docker_image_tag=nightly"
+ ANSIBLE_EXTRA_VARS:
'{"scheduler_enable":false,"jmxremote_enabled":"","controller_loadbalancer_spi":"org.apache.openwhisk.core.loadBalancer.ShardingContainerPoolBalancer","invokerReactive_spi":"org.apache.openwhisk.core.invoker.InvokerReactive","invokerServer_spi":"org.apache.openwhisk.core.invoker.DefaultInvokerServer"}'
run: |
- $ANSIBLE_CMD setup.yml
- $ANSIBLE_CMD prereq.yml
- $ANSIBLE_CMD couchdb.yml
- $ANSIBLE_CMD initdb.yml
- $ANSIBLE_CMD wipe.yml
- $ANSIBLE_CMD openwhisk.yml -e
'{"openwhisk_cli":{"installation_mode":"remote","remote":{"name":"OpenWhisk_CLI","dest_name":"OpenWhisk_CLI","location":"https://github.com/apache/openwhisk-cli/releases/download/latest"}}}'
-e db_activation_backend=ElasticSearch
- $ANSIBLE_CMD apigateway.yml
- $ANSIBLE_CMD properties.yml # required for to run before
routemgmt.yml
- $ANSIBLE_CMD routemgmt.yml
- $ANSIBLE_CMD postdeploy.yml
+ PYTHON_BIN="$(command -v python3)"
+ ANSIBLE_CMD="$ANSIBLE_CMD -e ansible_python_interpreter=$PYTHON_BIN"
+ $ANSIBLE_CMD setup.yml -e "$ANSIBLE_EXTRA_VARS"
+ $ANSIBLE_CMD prereq.yml -e "$ANSIBLE_EXTRA_VARS"
+ "$PYTHON_BIN" -m pip install --upgrade --force-reinstall
'requests<2.32' 'urllib3<2' 'docker>=6,<7'
+ "$PYTHON_BIN" - <<'PY'
+ import docker
+ import requests
+ import urllib3
+
+ docker_version = getattr(docker, "__version__", getattr(docker,
"version", "unknown"))
+ print(f"docker={docker_version} requests={requests.__version__}
urllib3={urllib3.__version__}")
+ PY
+ $ANSIBLE_CMD couchdb.yml -e "$ANSIBLE_EXTRA_VARS"
+ $ANSIBLE_CMD initdb.yml -e "$ANSIBLE_EXTRA_VARS"
+ $ANSIBLE_CMD wipe.yml -e "$ANSIBLE_EXTRA_VARS"
+ $ANSIBLE_CMD openwhisk.yml -e "$ANSIBLE_EXTRA_VARS" -e
'{"openwhisk_cli":{"installation_mode":"remote","remote":{"name":"OpenWhisk_CLI","dest_name":"OpenWhisk_CLI","location":"https://github.com/apache/openwhisk-cli/releases/download/latest"}}}'
+ $ANSIBLE_CMD apigateway.yml -e "$ANSIBLE_EXTRA_VARS"
+ $ANSIBLE_CMD properties.yml -e "$ANSIBLE_EXTRA_VARS" # required for
to run before routemgmt.yml
+ $ANSIBLE_CMD routemgmt.yml -e "$ANSIBLE_EXTRA_VARS"
+ $ANSIBLE_CMD postdeploy.yml -e "$ANSIBLE_EXTRA_VARS"
# Run the intergration tests against the openwhisk deployment
- name: Run integration tests
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8021f42..ba65ddf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,9 @@
# Changelog
+## v3.21.9
+Replace deprecated url.parse usage with WHATWG URL API (#282)
+
## v3.21.8
Update dependencies
Switched CI from Travis to GitHub Actions
diff --git a/NOTICE.txt b/NOTICE.txt
index 08091f4..855399f 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -1,5 +1,5 @@
Apache OpenWhisk Client Js
-Copyright 2016-2023 The Apache Software Foundation
+Copyright 2016-2026 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
diff --git a/package-lock.json b/package-lock.json
index 4834531..511bb5d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "openwhisk",
- "version": "3.21.8",
+ "version": "3.21.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "openwhisk",
- "version": "3.21.8",
+ "version": "3.21.9",
"license": "Apache-2.0",
"dependencies": {
"async-retry": "^1.3.3",
diff --git a/package.json b/package.json
index da6b514..7e5b374 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "openwhisk",
- "version": "3.21.8",
+ "version": "3.21.9",
"description": "JavaScript client library for the Apache OpenWhisk platform",
"main": "lib/main.js",
"typings": "lib/main.d.ts",