this repo has no description
0
fork

Configure Feed

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

build: restructure make targets

+15 -22
+10 -10
Makefile
··· 1 1 .POSIX: 2 - .PHONY: default docker-compose infra cluster system platform apps secrets edit-secrets test update 2 + .PHONY: default compose infra cluster system platform apps secrets edit-secrets test update 3 3 4 4 env ?= local 5 5 # TODO multiple clusters 6 6 export KUBECONFIG = $(shell pwd)/cluster/kubeconfig.yaml 7 7 8 - default: infra cluster system platform apps 8 + default: infra 9 9 10 - docker-compose: 10 + compose: 11 11 docker compose up --build --detach 12 12 13 - ~/.terraform.d/credentials.tfrc.json: 14 - # https://search.opentofu.org/provider/opentofu/tfe 15 - tofu login app.terraform.io 16 - 17 - infra: 18 - cd infra/${env} \ 19 - && AWS_ACCESS_KEY_ID=minioadmin AWS_SECRET_ACCESS_KEY=minioadmin terragrunt apply --all 13 + infra: compose 14 + # TODO multiple env 15 + temporal workflow start \ 16 + --task-queue cloudlab \ 17 + --type Infra \ 18 + --input '{ "url": "https://github.com/khuedoan/cloudlab", "revision": "infra-rewrite", "oldRevision": "790763a8166e306f34559870c60e818505117e6b", "stack": "local" }' 20 19 21 20 cluster: 22 21 cd cluster && ansible-playbook \ ··· 44 43 ansible-vault edit ./cluster/roles/secrets/vars/main.yml 45 44 46 45 test: 46 + cd controller && go test ./... 47 47 cd test/e2e && go test 48 48 49 49 fmt:
+4
compose.yaml
··· 11 11 ports: 12 12 - 9000:9000 13 13 - 9001:9001 14 + volumes: 15 + - tfstate:/data 14 16 temporal: 15 17 image: docker.io/temporalio/server:1.27 16 18 entrypoint: ··· 37 39 depends_on: 38 40 temporal: 39 41 condition: service_healthy 42 + volumes: 43 + tfstate: {}
-12
controller/workflows/infra.go
··· 16 16 Stack string 17 17 } 18 18 19 - // TODO create trigger 20 - // For now do that manually on the UI 21 - // Task queue: cloudlab 22 - // Workflow: Infra 23 - // Input json/plain: 24 - // 25 - // { 26 - // "url": "https://github.com/khuedoan/cloudlab", 27 - // "revision": "infra-rewrite", 28 - // "oldRevision": "790763a8166e306f34559870c60e818505117e6b", 29 - // "stack": "local" 30 - // } 31 19 func Infra(ctx workflow.Context, input InfraInputs) (*activities.Graph, error) { 32 20 ao := workflow.ActivityOptions{ 33 21 StartToCloseTimeout: 10 * time.Second,
+1
flake.nix
··· 20 20 opentofu 21 21 pre-commit 22 22 shellcheck 23 + temporal-cli 23 24 terragrunt 24 25 wireguard-tools 25 26 yamlfmt