diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 8a6dd58d..d5f68052 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.4.2 +current_version = 2.5.0 commit = True tag = False tag_name = {new_version} @@ -30,11 +30,11 @@ search = {current_version} replace = {new_version} [bumpversion:file:RELEASE.txt] -search = {current_version} 2024-06-12T20:14:03Z +search = {current_version} 2024-06-20T01:10:13Z replace = {new_version} {utcnow:%Y-%m-%dT%H:%M:%SZ} [bumpversion:part:releaseTime] -values = 2024-06-12T20:14:03Z +values = 2024-06-20T01:10:13Z [bumpversion:file(version):birdhouse/components/canarie-api/docker_configuration.py.template] search = 'version': '{current_version}' @@ -48,3 +48,4 @@ replace = {utcnow:%Y-%m-%dT%H:%M:%SZ} [bumpversion:file:docs/source/conf.py] search = '{current_version}' replace = '{new_version}' + diff --git a/CHANGES.md b/CHANGES.md index c0b37e2b..d10799f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,26 @@ [//]: # (list changes here, using '-' for each new entry, remove this when items are added) +[2.5.0](https://github.com/bird-house/birdhouse-deploy/tree/2.5.0) (2024-06-20) +------------------------------------------------------------------------------------------------------------------ + +## Changes + +- Weaver: bump version to [5.6.1](https://github.com/crim-ca/weaver/tree/5.6.1). + + - See full changes details in + [Weaver changes](https://pavics-weaver.readthedocs.io/en/latest/changes.html#changes-5-6-1) + - In summary: + - multiple control setting options to customize some behaviors + - improved *OGC API - Processes* standard conformance + - improved support of *Common Workflow Language (CWL)* features (secrets, sub-workflow, auth-propagation, etc.) + +- Weaver: WPS retry logic on post-compose step. + - Apply `--network birdhouse_default` to the Docker `curl` image to allow HTTP requests to properly resolve + against the running services (WPS bird providers, Weave and Magpie). In some cases, this network would not + be automatically resolved. + - Fix the index used during HTTP request retry to avoid going one step over the intended retry attempts. + [2.4.2](https://github.com/bird-house/birdhouse-deploy/tree/2.4.2) (2024-06-12) ------------------------------------------------------------------------------------------------------------------ diff --git a/Makefile b/Makefile index ce881de0..93bac927 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Generic variables override SHELL := bash override APP_NAME := birdhouse-deploy -override APP_VERSION := 2.4.2 +override APP_VERSION := 2.5.0 # utility to remove comments after value of an option variable override clean_opt = $(shell echo "$(1)" | $(_SED) -r -e "s/[ '$'\t'']+$$//g") diff --git a/README.rst b/README.rst index 391853a6..18df360e 100644 --- a/README.rst +++ b/README.rst @@ -18,13 +18,13 @@ for a full-fledged production platform. * - citation - | |citation| -.. |commits-since| image:: https://img.shields.io/github/commits-since/bird-house/birdhouse-deploy/2.4.2.svg +.. |commits-since| image:: https://img.shields.io/github/commits-since/bird-house/birdhouse-deploy/2.5.0.svg :alt: Commits since latest release - :target: https://github.com/bird-house/birdhouse-deploy/compare/2.4.2...master + :target: https://github.com/bird-house/birdhouse-deploy/compare/2.5.0...master -.. |latest-version| image:: https://img.shields.io/badge/tag-2.4.2-blue.svg?style=flat +.. |latest-version| image:: https://img.shields.io/badge/tag-2.5.0-blue.svg?style=flat :alt: Latest Tag - :target: https://github.com/bird-house/birdhouse-deploy/tree/2.4.2 + :target: https://github.com/bird-house/birdhouse-deploy/tree/2.5.0 .. |readthedocs| image:: https://readthedocs.org/projects/birdhouse-deploy/badge/?version=latest :alt: ReadTheDocs Build Status (latest version) diff --git a/RELEASE.txt b/RELEASE.txt index 79233af4..650c344b 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -1 +1 @@ -2.4.2 2024-06-12T20:14:03Z +2.5.0 2024-06-20T01:10:13Z diff --git a/birdhouse/components/weaver/default.env b/birdhouse/components/weaver/default.env index bd5262c7..97ab1623 100644 --- a/birdhouse/components/weaver/default.env +++ b/birdhouse/components/weaver/default.env @@ -53,7 +53,7 @@ OPTIONAL_VARS=" export WEAVER_CONFIG=HYBRID # default release version that will be used to fetch docker images (API mananger & celery workers services) -export WEAVER_VERSION=4.32.0 +export WEAVER_VERSION=5.6.1 export WEAVER_DOCKER=pavics/weaver export WEAVER_IMAGE='${WEAVER_DOCKER}:${WEAVER_VERSION}' export WEAVER_MANAGER_IMAGE='${WEAVER_IMAGE}-manager' diff --git a/birdhouse/components/weaver/post-docker-compose-up b/birdhouse/components/weaver/post-docker-compose-up index 652a8c95..5cb09b3e 100755 --- a/birdhouse/components/weaver/post-docker-compose-up +++ b/birdhouse/components/weaver/post-docker-compose-up @@ -120,7 +120,7 @@ RANDOM_NUMBER=${RANDOM:-$(tr -dc 0-9 < /dev/urandom 2>/dev/null | head -c 5)} # To know when a docker run was started in case it hangs. DOCKER_RUN_TAG="weaver_post_curl_$(date -Isecond | sed 's/:/_/g' | sed 's/+/p/g')_${RANDOM_NUMBER}" curl_cmd() { - docker run --rm --name "${DOCKER_RUN_TAG}" "${WEAVER_CURL_IMAGE}" "$@" + docker run --network birdhouse_default --rm --name "${DOCKER_RUN_TAG}" "${WEAVER_CURL_IMAGE}" "$@" } # pull image if missing to avoid mangling output messages on first call @@ -317,7 +317,7 @@ for prov in ${WEAVER_WPS_PROVIDERS}; do if [ ${ret} -ne 0 ] || [ "${code}" -ne 201 ]; then printf "\n%s\n" "${WARN}Failed registration of remote WPS provider [${prov}] on [${prov_url}]${retry_msg}." printf "Error:\n%s\n" "${body}" - if [ ${retry} -gt ${total} ]; then + if [ ${retry} -ge ${total} ]; then echo "${ERROR}Maximum retry attempts ${total} reached for WPS provider [${prov}]. Aborting." reset_state exit 23 diff --git a/docs/source/conf.py b/docs/source/conf.py index 9c3024af..329cffdf 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -69,9 +69,9 @@ # built documents. # # The short X.Y version. -version = '2.4.2' +version = '2.5.0' # The full version, including alpha/beta/rc tags. -release = '2.4.2' +release = '2.5.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.