Skip to content

Commit 95b6844

Browse files
committed
fix: miscellaneous fixes to project structure
Make chart license file a symlink of top level one Add a top level .gitignore Remove boilerplate references from operator mockery file Remove .vscode directory
1 parent 02da6b7 commit 95b6844

File tree

6 files changed

+6
-55
lines changed

6 files changed

+6
-55
lines changed

.cursorignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cursorignore
2+
.pytest_cache
3+
.vscode
4+
.idea

.vscode/launch.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

chart/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../LICENSE
1+
LICENSE

operator/.mockery.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,10 @@
1818
# LICENSE END
1919
#
2020

21-
22-
23-
24-
25-
26-
27-
2821
dir: "{{.InterfaceDir}}/mock"
2922
filename: "{{.InterfaceName }}.go"
3023
quiet: False
3124
with-expecter: true
32-
boilerplate-file: "../boilerplate/boilerplate.go.txt"
3325
packages:
3426
## external packages
3527
k8s.io/client-go/util/workqueue:
@@ -56,10 +48,8 @@ packages:
5648
github.com/NVIDIA/skyhook/internal/dal:
5749
config:
5850
all: True
59-
boilerplate-file: "../boilerplate/boilerplate.go.txt"
6051
github.com/NVIDIA/skyhook/internal/controller:
6152
config:
6253
all: True
63-
boilerplate-file: "../boilerplate/boilerplate.go.txt"
6454
interfaces:
6555
SkyhookNodes:

operator/deps.mk

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ MOCKERY_VERSION ?= v2.42.3
4646
CHAINSAW_VERSION ?= v0.2.10
4747
HELM_VERSION ?= v3.15.0
4848
HELMIFY_VERSION ?= v0.4.12
49-
GO_LICENSE_VERSION ?= v1.39.0
5049
GO_LICENSES_VERSION ?= v1.6.0
5150

5251
.PHONY: install-deps
53-
install-deps: golangci-lint kustomize controller-gen envtest gocover-cobertura ginkgo mockery chainsaw helm helmify go-license ## Install all dependencies
52+
install-deps: golangci-lint kustomize controller-gen envtest gocover-cobertura ginkgo mockery chainsaw helm helmify ## Install all dependencies
5453

5554
## Location to install dependencies to
5655
LOCALBIN ?= $(shell pwd)/bin
@@ -122,10 +121,6 @@ helm: ## Download helm locally if necessary.
122121
helmify: ## Download helmify locally if necessary.
123122
test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@$(HELMIFY_VERSION)
124123

125-
.PHONY: go-license
126-
go-license: ## Download go-license locally if necessary.
127-
test -s $(LOCALBIN)/go-license || GOBIN=$(LOCALBIN) go install github.com/palantir/go-license@$(GO_LICENSE_VERSION)
128-
129124
.PHONY: go-licenses
130125
go-licenses: ## Download go-licenses locally if necessary.
131126
test -s $(LOCALBIN)/go-licenses || GOBIN=$(LOCALBIN) go install github.com/google/go-licenses@$(GO_LICENSES_VERSION)

0 commit comments

Comments
 (0)