Skip to content

Commit

Permalink
feat(vmclass): first implementation (#231)
Browse files Browse the repository at this point in the history
Signed-off-by: yaroslavborbat <[email protected]>
Signed-off-by: Yaroslav Borbat <[email protected]>
Co-authored-by: Ivan Mikheykin <[email protected]>
  • Loading branch information
yaroslavborbat and diafour authored Jul 31, 2024
1 parent 21625b1 commit a958bf3
Show file tree
Hide file tree
Showing 61 changed files with 3,137 additions and 1,416 deletions.
18 changes: 18 additions & 0 deletions api/Taskfile.dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ env:
K8S_CODEGEN:
sh: echo $(go env GOMODCACHE)/$(go list -f '{{`{{.Path}}@{{.Version}}`}}' -m k8s.io/code-generator)

vars:
CONTROLLER_GEN_VERSION: 0.14.0

tasks:
generate:
desc: "Regenerate all"
Expand Down Expand Up @@ -33,6 +36,12 @@ tasks:
- task: generate
- task: _ci:verify-gen

generate:crds:
desc: "Regenerate crds"
deps:
- _ensure:k8s-controller-gen
cmd: ./scripts/update-codegen.sh crds

_ci:verify-gen:
desc: "Check generated files are up-to-date."
internal: true
Expand All @@ -58,3 +67,12 @@ tasks:
status:
- |
ls $GOPATH/bin/openapi-gen
_ensure:k8s-controller-gen:
desc: "Ensure sigs.k8s.io/controller-tools/cmd/controller-gen"
internal: true
cmds:
- go install -mod=readonly sigs.k8s.io/controller-tools/cmd/controller-gen@v{{ .CONTROLLER_GEN_VERSION }}
status:
- |
ls $GOPATH/bin/controller-gen

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a958bf3

Please sign in to comment.