feat(labs): describe the lab task contract and the provisioner port

This commit is contained in:
shira committed 2026-10-11 15:40:14 +03:00
1 parent 3de226b16c
commit 9fdaa62b9b
91 files changed
+19262 -155

No files matched your search

+6
View File
@@ -115,6 +115,7 @@ generate gen: ## Regenerate API, SQL, and dependency-injection code in dependenc
$(MAKE) --no-print-directory gen-openapi API_PREPARED=1
$(MAKE) --no-print-directory gen-ml API_PREPARED=1
$(MAKE) --no-print-directory gen-code-runner API_PREPARED=1
$(MAKE) --no-print-directory gen-lab-provisioner API_PREPARED=1
$(MAKE) --no-print-directory gen-sqlc
$(MAKE) --no-print-directory gen-wire
$(MAKE) --no-print-directory mocks
@@ -134,6 +135,11 @@ gen-code-runner: ## Generate the internal code runner client
@if [ "$(API_PREPARED)" != "1" ]; then $(MAKE) -C "$(API_DIR)" bundle; fi
$(GO_TOOL) ogen -config codegen/ogen-code-runner.yml --target internal/adapter/secondary/code_runner/api --package api --clean ../api/runner/openapi.bundle.yml
.PHONY: gen-lab-provisioner
gen-lab-provisioner: ## Generate the internal lab provisioner client
@if [ "$(API_PREPARED)" != "1" ]; then $(MAKE) -C "$(API_DIR)" bundle; fi
$(GO_TOOL) ogen -config codegen/ogen-labd.yml --target internal/adapter/secondary/lab_provisioner/api --package api --clean ../api/labd/openapi.bundle.yml
.PHONY: gen-sqlc
gen-sqlc: ## Generate PostgreSQL query code from migrations and queries
$(GO_TOOL) sqlc generate -f codegen/sqlc.yml