Skip to content

Commit 781a3f1

Browse files
committed
hack: remove code generation related to generated files
With the removal of the protobuf for the controller, there are no longer any generated files. Remove the makefile targets and the associated dockerfiles and bake targets. This wasn't being included in CI because it wasn't part of the `validate` target. Signed-off-by: Jonathan A. Sternberg <[email protected]>
1 parent dfad6e0 commit 781a3f1

File tree

3 files changed

+2
-118
lines changed

3 files changed

+2
-118
lines changed

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ endif
88

99
export BUILDX_CMD ?= docker buildx
1010

11-
BAKE_TARGETS := binaries binaries-cross lint lint-gopls validate-vendor validate-docs validate-authors validate-generated-files
11+
BAKE_TARGETS := binaries binaries-cross lint lint-gopls validate-vendor validate-docs validate-authors
1212

1313
.PHONY: all
1414
all: binaries
@@ -35,7 +35,7 @@ release:
3535
./hack/release
3636

3737
.PHONY: validate-all
38-
validate-all: lint test validate-vendor validate-docs validate-generated-files
38+
validate-all: lint test validate-vendor validate-docs
3939

4040
.PHONY: test
4141
test:
@@ -68,7 +68,3 @@ authors:
6868
.PHONY: mod-outdated
6969
mod-outdated:
7070
$(BUILDX_CMD) bake mod-outdated
71-
72-
.PHONY: generated-files
73-
generated-files:
74-
$(BUILDX_CMD) bake update-generated-files

docker-bake.hcl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,6 @@ target "validate-authors" {
9898
output = ["type=cacheonly"]
9999
}
100100

101-
target "validate-generated-files" {
102-
inherits = ["_common"]
103-
dockerfile = "./hack/dockerfiles/generated-files.Dockerfile"
104-
target = "validate"
105-
output = ["type=cacheonly"]
106-
}
107-
108101
target "update-vendor" {
109102
inherits = ["_common"]
110103
dockerfile = "./hack/dockerfiles/vendor.Dockerfile"
@@ -130,13 +123,6 @@ target "update-authors" {
130123
output = ["."]
131124
}
132125

133-
target "update-generated-files" {
134-
inherits = ["_common"]
135-
dockerfile = "./hack/dockerfiles/generated-files.Dockerfile"
136-
target = "update"
137-
output = ["."]
138-
}
139-
140126
target "mod-outdated" {
141127
inherits = ["_common"]
142128
dockerfile = "./hack/dockerfiles/vendor.Dockerfile"

hack/dockerfiles/generated-files.Dockerfile

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

0 commit comments

Comments
 (0)