File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal
10
10
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/manager /bin/numaresources-operator
11
11
# bundle the operand, and use a backward compatible name for RTE
12
12
COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/exporter /bin/resource-topology-exporter
13
+ COPY --from=builder /go/src/github.com/openshift-kni/numaresources-operator/bin/buildinfo.json /usr/local/share
13
14
RUN mkdir /etc/resource-topology-exporter/ && \
14
15
touch /etc/resource-topology-exporter/config.yaml
15
16
RUN microdnf install -y hwdata && \
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal
2
2
COPY manager /bin/numaresources-operator
3
3
# bundle the operand, and use a backward compatible name for RTE
4
4
COPY exporter /bin/resource-topology-exporter
5
+ COPY buildinfo.json /usr/local/share
5
6
RUN mkdir /etc/resource-topology-exporter/ && \
6
7
touch /etc/resource-topology-exporter/config.yaml
7
8
RUN microdnf install -y hwdata && \
Original file line number Diff line number Diff line change 1
1
FROM registry.access.redhat.com/ubi9/ubi-minimal
2
2
COPY exporter /bin/resource-topology-exporter
3
+ COPY buildinfo.json /usr/local/share
3
4
RUN mkdir /etc/resource-topology-exporter/ && \
4
5
touch /etc/resource-topology-exporter/config.yaml
5
6
RUN microdnf install -y hwdata && \
Original file line number Diff line number Diff line change @@ -175,7 +175,11 @@ binary-numacell: build-tools
175
175
LDFLAGS=" -s -w" \
176
176
CGO_ENABLED=0 go build -mod=vendor -o bin/numacell -ldflags " $$ LDFLAGS" test/deviceplugin/cmd/numacell/main.go
177
177
178
- binary-all : binary binary-rte binary-nrovalidate
178
+ binary-all : goversion \
179
+ binary \
180
+ binary-rte \
181
+ binary-nrovalidate \
182
+ introspect-data
179
183
180
184
binary-e2e-rte-local :
181
185
go test -c -v -o bin/e2e-nrop-rte-local.test ./test/e2e/rte/local
@@ -215,15 +219,21 @@ binary-e2e-all: goversion \
215
219
binary-e2e-tools \
216
220
binary-e2e-must-gather \
217
221
runner-e2e-serial \
218
- build-pause
222
+ build-pause \
223
+ introspect-data
219
224
220
225
runner-e2e-serial : bin/envsubst
221
226
hack/render-e2e-runner.sh
222
227
hack/test-e2e-runner.sh
223
228
229
+ introspect-data : build-topics build-buildinfo
230
+
224
231
build-topics :
225
232
mkdir -p bin && go run tools/lstopics/lstopics.go > bin/topics.json
226
233
234
+ build-buildinfo : bin/buildhelper
235
+ bin/buildhelper inspect > bin/buildinfo.json
236
+
227
237
build : generate fmt vet binary
228
238
229
239
build-rte : fmt vet binary-rte
You can’t perform that action at this time.
0 commit comments