this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at toolbox-bootstrap 58 lines 1.4 kB view raw
1.POSIX: 2.PHONY: default compose infra bootstrap platform apps test fmt tidy update 3 4env ?= $(shell ls infra | fzf --prompt "Select environment: ") 5 6default: infra platform apps 7 8compose: 9 docker compose up --build --detach 10 11infra: 12 cd infra/${env} && terragrunt apply --all 13 14bootstrap: platform 15 # TODO needs to wait for namespaces e.g. vault 16 toolbox secrets \ 17 --settings settings.yaml \ 18 --hosts-file infra/_modules/nixos/hosts.json \ 19 --host kube-1 20 21platform: 22 toolbox gitops \ 23 --path platform/${env} \ 24 --hosts-file infra/_modules/nixos/hosts.json \ 25 --host kube-1 26 27apps: 28 # TODO multiple env 29 @temporal workflow start \ 30 --workflow-id apps-manual \ 31 --task-queue cloudlab \ 32 --type Apps \ 33 --input '{ "url": "/usr/local/src/cloudlab", "revision": "master", "registry": "registry.127.0.0.1.sslip.io", "cluster": "local" }' 34 @temporal workflow result --workflow-id apps-manual 35 36test: 37 cd test && go test 38 39fmt: 40 nixfmt flake.nix 41 yamlfmt \ 42 --exclude infra/_modules/cluster/roles/secrets/vars/main.yml \ 43 --exclude infra/*/secrets.yaml \ 44 . 45 terragrunt hcl format 46 cd infra/_modules && tofu fmt -recursive 47 cd infra/_modules/tfstate && go fmt ./... 48 cd test && go fmt ./... 49 50tidy: fmt 51 cd infra && terragrunt init --backend=false --lock=false --all 52 53update: 54 nix flake update 55 56clean: 57 docker compose down --remove-orphans --volumes 58 k3d cluster delete local