-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Update/Add Postgres Version option #11531
Comments
Hi |
Hi @lakshminarayana02, wow, thanks. Super quick. Hmm, great question. I don't know enough about Ubuntu, but would it be safe to assume that "Ubuntu latest" would work with any version of PostgreSQL? I suppose there might be a risk with providing a What do you think? |
Hi |
Great, thanks @lakshminarayana02! |
Hi |
Hey @lakshminarayana02, super stuff. Thank you.! |
Hi @PaulieScanlon - The requirement will be taken care under this announcement(#11723). |
Fixes actions#11531 Add a test for PostgreSQL service with specified version in `Databases.Tests.ps1`. * Add a new test case to start PostgreSQL service with version 17. * Validate that PostgreSQL service is accepting connections. * Stop the PostgreSQL service after the test. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/actions/runner-images/issues/11531?shareId=XXXX-XXXX-XXXX-XXXX).
`` |
Thanks, @Prabhatkumar59. I've reviewed the update, and perhaps I'm not understanding correctly. My original request was to allow users to choose which version of Postgres to install, not to update the current version to 17. E.g, this example uses the jobs:
dump-and-restore:
runs-on: ubuntu-latest
steps:
- name: Start PostgreSQL Service
run: |
sudo systemctl start postgresql.service -v 17 Or, in this example it uses the jobs:
dump-and-restore:
runs-on: ubuntu-latest
steps:
- name: Start PostgreSQL Service
run: |
sudo systemctl start postgresql.service -v 14 The idea is that users will be able to decide which version of Postgres the built-in service installs in the runner. Is that going to be possible with the next update? |
Tool name
postgresql.service
Tool license
MIT
Add or update?
Desired version
postgresql 17
Approximate size
No response
Brief description of tool
I've been using postgresql.service to perform scheduled dump/restore of my postgres database and it works great with the built-in version. However. Since the built-in service is set to "latest" there might be cases where i'll hit mismatch errors.
It would be so good if, when using the built-in service i could set which version of Postgres to use. E. g
Watta you think?
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
Platforms where you need the tool
Runner images where you need the tool
Can this tool be installed during the build?
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: