Skip to content

Commit 2631d14

Browse files
committed
chore: cover installing both versions of wal-g 2 and 3 2 as default
1 parent 2d9e729 commit 2631d14

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

ansible/vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ postgres_major:
88

99
# Full version strings for each major version
1010
postgres_release:
11-
postgresorioledb-17: "17.0.1.049-orioledb"
12-
postgres15: "15.8.1.056"
11+
postgresorioledb-17: "17.0.1.050-orioledb-walg"
12+
postgres15: "15.8.1.057-walg"
1313

1414
# Non Postgres Extensions
1515
pgbouncer_release: "1.19.0"

docker/nix/build_nix.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ SYSTEM=$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"')
1010

1111
nix build .#checks.$SYSTEM.psql_15 -L --no-link
1212
nix build .#checks.$SYSTEM.psql_orioledb-17 -L --no-link
13-
nix build .#psql_15/bin -o psql_15
13+
nix build .#psql_15/bin -o psql_15 -L
1414

15-
nix build .#psql_orioledb-17/bin -o psql_orioledb_17
16-
nix build .#wal-g -o wal-g
15+
nix build .#psql_orioledb-17/bin -o psql_orioledb_17 -L
16+
nix build .#wal-g -o wal-g -L
17+
nix build .#wal-g-3 -o wal-g-3 -L
1718
# Copy to S3
1819
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./wal-g
20+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./wal-g-3
1921
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_15
2022
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_orioledb_17
2123
if [ "$SYSTEM" = "aarch64-linux" ]; then
@@ -27,5 +29,4 @@ if [ "$SYSTEM" = "aarch64-linux" ]; then
2729
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_src
2830
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_debug-debug
2931
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_src
30-
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./wal-g
3132
fi

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
sfcgal = pkgs.callPackage ./nix/ext/sfcgal/sfcgal.nix { };
8888
supabase-groonga = pkgs.callPackage ./nix/supabase-groonga.nix { };
8989
mecab-naist-jdic = pkgs.callPackage ./nix/ext/mecab-naist-jdic/default.nix { };
90-
wal-g = pkgs.callPackage ./nix/wal-g.nix { };
90+
inherit (pkgs.callPackage ./nix/wal-g.nix { }) wal-g wal-g-3;
9191
# Our list of PostgreSQL extensions which come from upstream Nixpkgs.
9292
# These are maintained upstream and can easily be used here just by
9393
# listing their name. Anytime the version of nixpkgs is upgraded, these
@@ -407,6 +407,7 @@
407407
psql_15 = postgresVersions.psql_15;
408408
psql_orioledb-17 = postgresVersions.psql_orioledb-17;
409409
wal-g = wal-g;
410+
wal-g-3 = wal-g-3;
410411
sfcgal = sfcgal;
411412
pg_prove = pkgs.perlPackages.TAPParserSourceHandlerpgTAP;
412413
inherit postgresql_15 postgresql_orioledb-17;

0 commit comments

Comments
 (0)