Skip to content

Commit 3fb617b

Browse files
committed
Drop protobuf definitions and protobuf code generation
Unused after the gRPC API was removed.
1 parent 0188aad commit 3fb617b

File tree

6 files changed

+10
-2160
lines changed

6 files changed

+10
-2160
lines changed

Dockerfile_generator

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,7 @@ FROM ${BUILDER_IMAGE} as builder
55
RUN --mount=type=cache,target=/go/pkg/mod/ \
66
go install github.com/vektra/mockery/[email protected] && \
77
go install sigs.k8s.io/controller-tools/cmd/[email protected] && \
8-
go install golang.org/x/tools/cmd/[email protected] && \
9-
go install github.com/golang/protobuf/[email protected]
10-
11-
RUN apt-get update && apt-get install unzip
12-
13-
RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-linux-x86_64.zip && \
14-
unzip protoc-25.3-linux-x86_64.zip -d /usr/local && \
15-
rm protoc-25.3-linux-x86_64.zip && \
16-
chmod a+x /usr/local/bin/protoc && \
17-
find /usr/local -type d | xargs chmod 755 && \
18-
find /usr/local -type f | xargs chmod a+r
19-
8+
go install golang.org/x/tools/cmd/[email protected]
209

2110
# Expect to be working with nfd
2211
WORKDIR /go/node-feature-discovery

api/nfd/v1alpha1/doc.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ limitations under the License.
1919
// +kubebuilder:object:generate=true
2020
// +groupName=nfd.k8s-sigs.io
2121
package v1alpha1
22-
23-
//go:generate ./generate.sh

api/nfd/v1alpha1/generate.sh

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

0 commit comments

Comments
 (0)