diff --git a/Makefile b/Makefile index a6e2c4414..2a30f3ca9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED BY KRES, PLEASE DO NOT EDIT. # -# Generated on 2026-05-29T11:29:48Z by kres 8085f7d. +# Generated on 2026-06-02T09:34:03Z by kres c1cf61e. # common variables @@ -255,7 +255,7 @@ lint-gofumpt-client: ## Runs gofumpt linter. .PHONY: fmt fmt: ## Formats the source code - @docker run --rm -it -v $(PWD):/src -w /src golang:$(GO_VERSION) \ + @docker run --rm -v $(PWD):/src -w /src golang:$(GO_VERSION) \ bash -c "export GOTOOLCHAIN=local; \ export GO111MODULE=on; export GOPROXY=https://proxy.golang.org; \ go install mvdan.cc/gofumpt@$(GOFUMPT_VERSION) && \ @@ -522,7 +522,7 @@ release-notes: $(ARTIFACTS) .PHONY: conformance conformance: @docker pull $(CONFORMANCE_IMAGE) - @docker run --rm -it -v $(PWD):/src -w /src $(CONFORMANCE_IMAGE) enforce + @docker run --rm -v $(PWD):/src -w /src $(CONFORMANCE_IMAGE) enforce .PHONY: renovate-local renovate-local: ## runs renovate locally to check syntax and test configuration diff --git a/frontend/src/api/omni/specs/omni.pb.ts b/frontend/src/api/omni/specs/omni.pb.ts index 0cb81264c..11eceb2df 100644 --- a/frontend/src/api/omni/specs/omni.pb.ts +++ b/frontend/src/api/omni/specs/omni.pb.ts @@ -302,6 +302,7 @@ export type MachineStatusSpecPlatformMetadata = { instance_id?: string provider_id?: string spot?: boolean + tags?: {[key: string]: string} } export type MachineStatusSpecSchematicInitialState = { diff --git a/lefthook.yml b/lefthook.yml new file mode 100644 index 000000000..1d92a69e7 --- /dev/null +++ b/lefthook.yml @@ -0,0 +1,36 @@ +# THIS FILE WAS AUTOMATICALLY GENERATED BY KRES, PLEASE DO NOT EDIT. +# +# Generated on 2026-06-02T09:34:03Z by kres c1cf61e. + +commit-msg: + parallel: false + commands: + conformance: + run: make conformance +pre-commit: + jobs: + - name: fix + group: + parallel: false + jobs: + - name: generate frontend + run: make generate-frontend + stage_fixed: true + - name: generate + run: make generate + stage_fixed: true + - name: fmt + run: make fmt + stage_fixed: true + - name: fmt + run: make fmt + stage_fixed: true + - name: lint-fmt + run: make lint-fmt + stage_fixed: true + - name: lint + group: + parallel: false + jobs: + - name: lint + run: make lint