feat(nix): add site-update tool - #2424
Draft
brainrake wants to merge 3 commits into
Draft
Conversation
PostgreSQL Extension Dependency Analysis: PR #2424
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2424
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
This comment has been minimized.
This comment has been minimized.
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
from
September 8, 2026 01:13
48bf50f to
01c4e39
Compare
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
from
September 8, 2026 09:27
e610160 to
f5befb5
Compare
This comment has been minimized.
This comment has been minimized.
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
from
September 8, 2026 17:22
716aa2f to
b77c152
Compare
2 tasks
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
3 times, most recently
from
September 8, 2026 22:50
d7baa39 to
31b661f
Compare
Given a git sha, pg major, and system, fetches the site-env-<major> catalog entry and flips /nix/var/nix/profiles/site via nix-env --set. Skips realise+set if already current. Fixes MPG-12.
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
from
September 8, 2026 22:51
31b661f to
99ac48b
Compare
Extends ami-release-nix.yml's existing catalog step to also publish site-env-<major> and site-update catalogs. Adds nix/** to the release trigger path filter. MPG-15
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
from
September 8, 2026 23:03
dd5cc54 to
0b4401c
Compare
Given a git sha and pg major, fetches the site-env-<major> catalog entry and flips /nix/var/nix/profiles/site-<major> via nix-env --set. System arch is inferred (uname), never a footgun to pass wrong. Per-major profile so an in-flight pg upgrade can prep the new major's site-env without touching the old one's live profile. Verifies the resolved store path is actually tagged for the requested major before setting it live. Skips realise+set if already current. Fixes MPG-12.
brainrake
force-pushed
the
martonboros/mpg-12-site-env-update
branch
from
September 9, 2026 00:52
0b4401c to
730068b
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds
site-update: given a git sha and pg major, fetches thesite-env-<major>catalog entry and flips/nix/var/nix/profiles/site-<major>vianix-env --set. System arch is inferred (uname). Per-major profile so an in-flight pg upgrade can prep the new major's site-env without touching the old one's live profile. Verifies the resolved store path is tagged for the requested major before setting it live. Skips realise+set if already current.Also: publishes
site-env-<major>/site-updatecatalogs inami-release-nix.yml, and bakessite-updateinto its own AMI profile so a fresh AMI is functional before salt's first run.MPG-12