Skip to content

Commit d4328be

Browse files
committed
chore: build wal-g in ci and copy to binary cache on success
1 parent 85bb8ff commit d4328be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/nix/build_nix.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ nix build .#checks.$SYSTEM.psql_orioledb-17 -L --no-link
1313
nix build .#psql_15/bin -o psql_15
1414

1515
nix build .#psql_orioledb-17/bin -o psql_orioledb_17
16-
16+
nix build .#wal-g -o wal-g
1717
# Copy to S3
18+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./wal-g
1819
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_15
1920
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_orioledb_17
2021
if [ "$SYSTEM" = "aarch64-linux" ]; then
@@ -26,4 +27,5 @@ if [ "$SYSTEM" = "aarch64-linux" ]; then
2627
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_src
2728
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_debug-debug
2829
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
2931
fi

nix/wal-g.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ buildGoModule rec {
5555
mainProgram = "wal-g";
5656
maintainers = [ ];
5757
};
58-
}
58+
}

0 commit comments

Comments
 (0)