Skip to content

Commit

Permalink
fix incorrect geoserver URL in cowbird configuration (#487)
Browse files Browse the repository at this point in the history
## Overview

The Geoserver URL in the Cowbird configuration was incorrect as it used
a non-standard port.

This change removes the port so that the URL will resolve properly. This
allows Cowbird to execute webhooks that target Geoserver.

## Changes

**Non-breaking changes**
- Bug fix

**Breaking changes**
- None

## Related Issue / Discussion

## Additional Information

Links to other issues or sources.

## CI Operations

<!--
The test suite can be run using a different DACCS config with
``birdhouse_daccs_configs_branch: branch_name`` in the PR description.
To globally skip the test suite regardless of the commit message use
``birdhouse_skip_ci`` set to ``true`` in the PR description.

Using ``[<cmd>]`` (with the brackets) where ``<cmd> = skip ci`` in the
commit message will override ``birdhouse_skip_ci`` from the PR
description.
Such commit command can be used to override the PR description behavior
for a specific commit update.
However, a commit message cannot 'force run' a PR which the description
turns off the CI.
To run the CI, the PR should instead be updated with a ``true`` value,
and a running message can be posted in following PR comments to trigger
tests once again.
-->

birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false
  • Loading branch information
mishaschwartz authored Dec 18, 2024
2 parents bc2307e + 74306a8 commit 020522b
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.6.4
current_version = 2.6.5
commit = True
tag = False
tag_name = {new_version}
Expand Down Expand Up @@ -30,11 +30,11 @@ search = {current_version}
replace = {new_version}

[bumpversion:file:RELEASE.txt]
search = {current_version} 2024-12-09T18:49:25Z
search = {current_version} 2024-12-18T18:55:30Z
replace = {new_version} {utcnow:%Y-%m-%dT%H:%M:%SZ}

[bumpversion:part:releaseTime]
values = 2024-12-09T18:49:25Z
values = 2024-12-18T18:55:30Z

[bumpversion:file(version):birdhouse/components/canarie-api/docker_configuration.py.template]
search = 'version': '{current_version}'
Expand Down
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@

[//]: # (list changes here, using '-' for each new entry, remove this when items are added)

[2.6.5](https://github.com/bird-house/birdhouse-deploy/tree/2.6.5) (2024-12-18)
------------------------------------------------------------------------------------------------------------------

## Fixes

- Fix incorrect Geoserver URL in Cowbird configuration

The Geoserver URL in the Cowbird configuration was incorrect as it used a non-standard port.
This changes the URL to the one used by docker compose internally. This allows Cowbird to execute
webhooks that target Geoserver.

[2.6.4](https://github.com/bird-house/birdhouse-deploy/tree/2.6.4) (2024-12-09)
------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generic variables
override SHELL := bash
override APP_NAME := birdhouse-deploy
override APP_VERSION := 2.6.4
override APP_VERSION := 2.6.5

# utility to remove comments after value of an option variable
override clean_opt = $(shell echo "$(1)" | $(_SED) -r -e "s/[ '$'\t'']+$$//g")
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.4.svg
.. |commits-since| image:: https://img.shields.io/github/commits-since/bird-house/birdhouse-deploy/2.6.5.svg
:alt: Commits since latest release
:target: https://github.com/bird-house/birdhouse-deploy/compare/2.6.4...master
:target: https://github.com/bird-house/birdhouse-deploy/compare/2.6.5...master

.. |latest-version| image:: https://img.shields.io/badge/tag-2.6.4-blue.svg?style=flat
.. |latest-version| image:: https://img.shields.io/badge/tag-2.6.5-blue.svg?style=flat
:alt: Latest Tag
:target: https://github.com/bird-house/birdhouse-deploy/tree/2.6.4
:target: https://github.com/bird-house/birdhouse-deploy/tree/2.6.5

.. |readthedocs| image:: https://readthedocs.org/projects/birdhouse-deploy/badge/?version=latest
:alt: ReadTheDocs Build Status (latest version)
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.4 2024-12-09T18:49:25Z
2.6.5 2024-12-18T18:55:30Z
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ SERVICES = {
# NOTE:
# Below version and release time auto-managed by 'make VERSION=x.y.z bump'.
# Do NOT modify it manually. See 'Tagging policy' in 'birdhouse/README.rst'.
'version': '2.6.4',
'releaseTime': '2024-12-09T18:49:25Z',
'version': '2.6.5',
'releaseTime': '2024-12-18T18:55:30Z',
'institution': '${BIRDHOUSE_INSTITUTION}',
'researchSubject': '${BIRDHOUSE_SUBJECT}',
'supportEmail': '${BIRDHOUSE_SUPPORT_EMAIL}',
Expand Down Expand Up @@ -141,8 +141,8 @@ PLATFORMS = {
# NOTE:
# Below version and release time auto-managed by 'make VERSION=x.y.z bump'.
# Do NOT modify it manually. See 'Tagging policy' in 'birdhouse/README.rst'.
'version': '2.6.4',
'releaseTime': '2024-12-09T18:49:25Z',
'version': '2.6.5',
'releaseTime': '2024-12-18T18:55:30Z',
'institution': '${BIRDHOUSE_INSTITUTION}',
'researchSubject': '${BIRDHOUSE_SUBJECT}',
'supportEmail': '${BIRDHOUSE_SUPPORT_EMAIL}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ handlers:
admin_password: ${MAGPIE_ADMIN_PASSWORD}
Geoserver:
active: true
# FIXME: replace by the protected/proxy endpoint once component is made available
url: http://${BIRDHOUSE_FQDN_PUBLIC}:8765/geoserver
url: http://geoserver:8080/geoserver
workspace_dir: ${WORKSPACE_DIR}
admin_user: ${GEOSERVER_ADMIN_USER}
admin_password: ${GEOSERVER_ADMIN_PASSWORD}
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
# built documents.
#
# The short X.Y version.
version = '2.6.4'
version = '2.6.5'
# The full version, including alpha/beta/rc tags.
release = '2.6.4'
release = '2.6.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 020522b

Please sign in to comment.