mapcycle and all
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user