-
Notifications
You must be signed in to change notification settings - Fork 2
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
Maintenance #7
base: main
Are you sure you want to change the base?
Maintenance #7
Conversation
Ruby works perfectly fine on ARMs nowadays, no need to keep all this stuff in dockerfile
- { ruby: 3.1, postgres: 13, gemfile: rails_7.2 } | ||
- { ruby: 3.2, postgres: 13, gemfile: rails_7.2 } | ||
- { ruby: 3.0.7, postgres: 14, gemfile: rails_6.0 } | ||
- { ruby: 3.0.7, postgres: 15, gemfile: rails_6.0 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like postgres 15+ will explodes on dump version mismatch 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pg_dump
does not want to be working with a server version from the future -- the other way around is mostly fine.
You could use ubuntu-22.04
for a runs_on
target which installs v16 by default (this will relatively soon be the target for ubuntu-latest
— see actions/runner-images#10636)
Alternatively, manually installing an updated version of the PostgreSQL client libraries would help:
- name: Update postgres
run: |
sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get update && sudo apt-get install postgresql-client-16
This pull request includes several updates to the CI configuration, dependencies, and documentation. The most important changes involve updating the CI matrix for Ruby and PostgreSQL versions, removing outdated Dockerfiles, and updating the
CHANGELOG.md
andgemspec
for versioning.CI Configuration Updates:
v4
in the CI workflow.Dependency and Docker Updates:
Dockerfile-2.6.6
andDockerfile-3.1.0
. [1] [2]docker-compose.yml
to use PostgreSQL 16.4-alpine and removed Ruby service configuration.Documentation and Versioning:
CHANGELOG.md
to reflect the new version 0.2.0, adding support for Rails 7.0, 7.1, and 7.2.conflict_free_schema.gemspec
.README.md
to correct the instructions for spinning up the PostgreSQL test dependency.