Skip to content

docker-compose: use supported db version #223

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Jul 30, 2025

Postgres 11 hit its end of life 20 months
ago, so switch to a modern postgis.

Also throw in a commit that pins the Docker image
by hash, and speed up testing by relaxing
the consistency guarantees from the database.

pjonsson added 5 commits July 30, 2025 23:59
Postgres 11 hit its end of life 20 months
ago, so switch to a modern postgis.
Put the database on tmpfs
to reduce IO operations.
The database is already on tmpfs
so things will be lost if the power
is cut in the middle of things.
Disable fsync as well, to speed up
testing.
The database is already on tmpfs
so things will be lost if the power
is cut in the middle of things.
Disable full_page_writes as well,
to speed up testing.
The database is already on tmpfs
so things will be lost if the power
is cut in the middle of things.
Disable synchronous_commit as well,
to speed up testing.
@pjonsson pjonsson force-pushed the docker-new-db-image branch from c81abd4 to 9cc3f13 Compare July 30, 2025 22:00
We only use releases and those do not
change, so pin by hash. This protects
from a compromised GDAL repository
changing the tag to point to something
dangerous.
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.60%. Comparing base (4f71db0) to head (297bed2).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #223   +/-   ##
=======================================
  Coverage   38.60%   38.60%           
=======================================
  Files           7        7           
  Lines         891      891           
  Branches       99       99           
=======================================
  Hits          344      344           
  Misses        508      508           
  Partials       39       39           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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