-
-
Notifications
You must be signed in to change notification settings - Fork 226
pg bouncer upgrade #1572
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
samrose
wants to merge
22
commits into
develop
Choose a base branch
from
sam/pg-bouncer-upgrade
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+89
−4
Open
pg bouncer upgrade #1572
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e710cac
feat: upgrade pgbouncer
samrose 862fa5e
feat: remove pgbouncer from vars.yml
samrose cb99c3b
chore: fix missing flag
samrose 34d6c6e
feat: restore build-essential dep, but in nginx
samrose 00e4594
chore: cleanup commit
samrose c60f817
merge with develop
encima ade1845
switch nix profile install to add
encima bbd1190
add pgbouncer to flake
encima 046754d
remove pgbouncer tests to confirm build
encima 78fd845
Merge branch 'develop'
encima d53f613
tested locally. update vars for testing pgbouncer in staging
encima c742baf
update pgbouncer to 1.25.1
encima d147824
update ansible vars
encima 9b8d142
Merge branch 'develop' into sam/pg-bouncer-upgrade
encima 0c4618f
add pandoc to build reqs
encima d4c27c1
chore: add build deps to ansible task for bouncer
encima d8149b9
merge with develop
encima 918e29b
Merge branch 'develop' into sam/pg-bouncer-upgrade
encima 312dabb
Merge branch 'develop' into sam/pg-bouncer-upgrade
encima 2b103f3
Merge branch 'develop' into sam/pg-bouncer-upgrade
encima 45d5dab
Merge branch 'develop' into sam/pg-bouncer-upgrade
encima 1adddff
chore: fmt pgbouncer file
encima File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| { | ||
| lib, | ||
| stdenv, | ||
| fetchurl, | ||
| openssl, | ||
| libevent, | ||
| c-ares, | ||
| pkg-config, | ||
| systemd, | ||
| nixosTests, | ||
| pandoc, | ||
| python3, | ||
| }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "pgbouncer"; | ||
| version = "1.25.1"; | ||
|
|
||
| src = fetchurl { | ||
| url = "https://www.pgbouncer.org/downloads/files/${version}/${pname}-${version}.tar.gz"; | ||
| hash = "sha256-blZq6S/j739qG54m1gSffXyjnEDinns49tVQCuFdhGU="; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ | ||
| pkg-config | ||
| pandoc | ||
| python3 | ||
| ]; | ||
| buildInputs = [ | ||
| libevent | ||
| openssl | ||
| c-ares | ||
| ] | ||
| ++ lib.optional stdenv.hostPlatform.isLinux systemd; | ||
| enableParallelBuilding = true; | ||
| configureFlags = lib.optional stdenv.hostPlatform.isLinux "--with-systemd"; | ||
|
|
||
| passthru.tests = { | ||
| pgbouncer = nixosTests.pgbouncer; | ||
| }; | ||
|
|
||
| meta = with lib; { | ||
| homepage = "https://www.pgbouncer.org/"; | ||
| mainProgram = "pgbouncer"; | ||
| description = "Lightweight connection pooler for PostgreSQL"; | ||
| changelog = "https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_${ | ||
| replaceStrings [ "." ] [ "_" ] version | ||
| }"; | ||
| license = licenses.isc; | ||
| maintainers = with maintainers; [ _1000101 ]; | ||
| platforms = platforms.all; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: supabase/postgres
Length of output: 178
🏁 Script executed:
Repository: supabase/postgres
Length of output: 3416
🏁 Script executed:
Repository: supabase/postgres
Length of output: 3347
🏁 Script executed:
Repository: supabase/postgres
Length of output: 98
🏁 Script executed:
Repository: supabase/postgres
Length of output: 929
🏁 Script executed:
Repository: supabase/postgres
Length of output: 1118
🏁 Script executed:
Repository: supabase/postgres
Length of output: 791
🏁 Script executed:
Repository: supabase/postgres
Length of output: 5005
🏁 Script executed:
Repository: supabase/postgres
Length of output: 822
🏁 Script executed:
Repository: supabase/postgres
Length of output: 177
🏁 Script executed:
Repository: supabase/postgres
Length of output: 922
🏁 Script executed:
Repository: supabase/postgres
Length of output: 185
🏁 Script executed:
Repository: supabase/postgres
Length of output: 248
🏁 Script executed:
Repository: supabase/postgres
Length of output: 626
🏁 Script executed:
Repository: supabase/postgres
Length of output: 354
Add build mode conditions to placeholder file creation.
The
when: nixpkg_modecondition is too restrictive. Downstream tasks (line 103-106:lineinfilewithoutcreateoption, line 108-116: file permissions) will fail fordebpkg_modeandstage2_nixbuilds because these placeholder files won't exist. Update the condition towhen: debpkg_mode or nixpkg_mode or stage2_nixto match the parent task import and ensure files exist for all build modes that run setup-pgbouncer.yml.🤖 Prompt for AI Agents