-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
45 lines (33 loc) · 1.18 KB
/
Copy pathjustfile
File metadata and controls
45 lines (33 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
set shell := ["bash", "-euo", "pipefail", "-c"]
check:
alejandra --check flake.nix nix
statix check .
deadnix flake.nix nix
./scripts/generate-extension-docs.py --check
nix flake check --option builders ""
docs:
./scripts/generate-extension-docs.py
build-bundle:
nix build --option builders "" .#postgresql-18-extension-bundle --no-link
build-image:
nix build --option builders "" .#postgresql-18-cnpg-image --no-link
load-cnpg-image:
nix run --option builders "" .#postgresql-18-cnpg-image.copyToDockerDaemon
smoke-image:
./scripts/smoke-image.sh
build-cnpg-image:
./scripts/build-postgres18-cnpg-image.sh
push-cnpg-image:
PUSH=1 ./scripts/build-postgres18-cnpg-image.sh
# Push to BOTH the internal CNPG registry AND the GHCR public mirror.
# Use when operators need off-cluster access (CI matrices, dev laptops
# without VPN) — keeps both digests in sync.
push-cnpg-image-mirror:
PUSH=both ./scripts/build-postgres18-cnpg-image.sh
sbom:
mkdir -p dist
syft registry.infra.centralcloud.com/centralcloud/centralcloud-postgres:18-cnpg-ext -o spdx-json=dist/sbom.spdx.json
install-hooks:
lefthook install
fmt:
alejandra flake.nix nix