mapcycle and all

This commit is contained in:
Nathan Rashleigh
2026-02-10 11:36:02 +11:00
parent bcf798a5f9
commit 1528f0a2b0
11 changed files with 319 additions and 145 deletions
+28 -18
View File
@@ -1,21 +1,3 @@
build-css:
docker build -f css/css.dockerfile css/ -t megastructure/css
up:
docker compose up --remove-orphans
down:
docker compose down -v --remove-orphans
build:
docker compose build
cssds-run:
docker compose run -u root -it cssds bash
cssds-exec:
docker compose exec -u root -it cssds bash
# Map downloader commands
mapsdl-dry:
cd src/mapsdl && deno run -A mapsdl.ts --dry-run
@@ -28,3 +10,31 @@ mapsdl-all-dry:
mapsdl-all:
cd src/mapsdl && deno run -A mapsdl-all.ts --dry-run
# k8s
build:
docker build -t megastructure-surf-cssds:local -t registry.ntwl.xyz/megastructure-surf-cssds src/cssds
docker build -t megastructure-surf-mapsdl:local -t registry.ntwl.xyz/megastructure-surf-mapsdl src/mapsdl
docker build -t megastructure-surf-fastdl:local -t registry.ntwl.xyz/megastructure-surf-fastdl src/fastdl
push:
docker push registry.ntwl.xyz/megastructure-surf-cssds
docker push registry.ntwl.xyz/megastructure-surf-mapsdl
docker push registry.ntwl.xyz/megastructure-surf-fastdl
build-cssds:
docker build -t megastructure-surf-cssds:local -t registry.ntwl.xyz/megastructure-surf-cssds src/cssds
build-mapsdl:
docker build -t megastructure-surf-mapsdl:local -t registry.ntwl.xyz/megastructure-surf-mapsdl src/mapsdl
build-fastdl:
docker build -t megastructure-surf-fastdl:local -t registry.ntwl.xyz/megastructure-surf-fastdl src/fastdl
apply:
kubectl delete pod mapsdl -n surf --ignore-not-found
kubectl apply -f k8s.yaml
env:
kubectl delete secret surf -n surf --ignore-not-found
kubectl create secret generic surf --from-env-file=.env -n surf