Xe's Kubernetes custom resources
1$`GOOS=wasip1 GOARCH=wasm go build -o postgres.wasm ./v1/flight`;
2$`GOOS=wasip1 GOARCH=wasm go build -o postgres-airway.wasm ./v1/airway`;
3
4yeet.setenv("AWS_PROFILE", "tigris");
5
6$`aws s3 cp ./postgres.wasm s3://xedn/crds/db/postgres/flight-${git.tag()}.wasm`;
7$`aws s3 cp ./postgres-airway.wasm s3://xedn/crds/db/postgres/airway-${git.tag()}.wasm`;
8
9$`go tool yoke stow ./postgres.wasm oci://registry.int.xeserv.us/crds/db/postgres/flight:v${git.tag()}`;
10$`go tool yoke stow ./postgres-airway.wasm oci://registry.int.xeserv.us/crds/db/postgres/airway:v${git.tag()}`;
11
12$`gzip -f9 *.wasm`;
13
14file.install("postgres.wasm.gz", `../../var/postgres-${git.tag()}.wasm.gz`);
15file.install(
16 "postgres-airway.wasm.gz",
17 `../../var/postgres-airway-${git.tag()}.wasm.gz`,
18);