Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add acceptance tests for the jdbcconfig catalog backend #548

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

groldan
Copy link
Member

@groldan groldan commented Oct 12, 2024

Add acceptance-tests-jdbcconfig make target to test against the jdbcconfig catalog backend.

The acceptance-tests-* targets change the docker compose project name so the volumes created don't interfere with the ones used during development. Hence new scripts have been added to the compose/ folder:

  • acceptance_datadir
  • acceptance_pgconfig
  • acceptance_jdbcconfig

That allow to run the appropriate docker compose -f... and set up the required env variables for each case, like to override the project name and hence the volume names, and to perform manual operations without having to dig up which parameters to use (e.g. ./acceptance_datadir ps, etc.).

@groldan groldan force-pushed the build/acceptance_jdbcconfig branch 15 times, most recently from 531eb7a to 89dc052 Compare October 12, 2024 20:18
Add `acceptance-tests-jdbcconfig` make target to test
against the jdbcconfig catalog backend.

The `acceptance-tests-*` targets change the docker compose project
name so the volumes created don't interfere with the ones used during
development. Hence new scripts have been added to the `compose/` folder:
* `acceptance_datadir`
* `acceptance_pgconfig`
* `acceptance_jdbcconfig`

That allow to run the appropriate `docker compose -f...` and set up the
required env variables for each case, like to override the project name
and hence the volume names, and to perform manual operations without
having to dig up which parameters to use (e.g. `./acceptance_datadir
ps`, etc.).

The pull request github actions job is modified to upload jar files
and download to build the images wihout re-packaging.
@groldan groldan marked this pull request as ready for review October 14, 2024 20:12
@groldan groldan merged commit 22348c9 into geoserver:main Oct 14, 2024
1 check passed
@groldan groldan deleted the build/acceptance_jdbcconfig branch October 14, 2024 20:13
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