Skip to content

Commit b7da0f2

Browse files
Merge pull request #1109 from kuiwang02/revert-1105-addote
Revert "OCPQE-29415: UPSTREAM: <carry>: add OTE into olmv0"
2 parents 6da7063 + 22a2cb7 commit b7da0f2

File tree

1,208 files changed

+5
-568566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,208 files changed

+5
-568566
lines changed

.bingo/Variables.mk

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,16 @@ GO ?= $(shell which go)
77

88
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
99
# will be used; reinstalling only if needed.
10-
# For example for go-bindata variable:
10+
# For example for helm variable:
1111
#
1212
# In your main Makefile (for non array binaries):
1313
#
1414
#include .bingo/Variables.mk # Assuming -dir was set to .bingo .
1515
#
16-
#command: $(GO_BINDATA)
17-
# @echo "Running go-bindata"
18-
# @$(GO_BINDATA) <flags/args..>
16+
#command: $(HELM)
17+
# @echo "Running helm"
18+
# @$(HELM) <flags/args..>
1919
#
20-
GO_BINDATA := $(GOBIN)/go-bindata-v3.1.2+incompatible
21-
$(GO_BINDATA): $(BINGO_DIR)/go-bindata.mod
22-
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
23-
@echo "(re)installing $(GOBIN)/go-bindata-v3.1.2+incompatible"
24-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=go-bindata.mod -o=$(GOBIN)/go-bindata-v3.1.2+incompatible "github.com/go-bindata/go-bindata/go-bindata"
25-
26-
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v2.1.6
27-
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
28-
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
29-
@echo "(re)installing $(GOBIN)/golangci-lint-v2.1.6"
30-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v2.1.6 "github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
31-
3220
HELM := $(GOBIN)/helm-v3.15.2
3321
$(HELM): $(BINGO_DIR)/helm.mod
3422
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.

.bingo/go-bindata.mod

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

.bingo/go-bindata.sum

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

.bingo/golangci-lint.mod

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

.bingo/golangci-lint.sum

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

.bingo/variables.env

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,5 @@ if [ -z "$GOBIN" ]; then
88
fi
99

1010

11-
GO_BINDATA="${GOBIN}/go-bindata-v3.1.2+incompatible"
12-
13-
GOLANGCI_LINT="${GOBIN}/golangci-lint-v2.1.6"
14-
1511
HELM="${GOBIN}/helm-v3.15.2"
1612

operator-lifecycle-manager.Dockerfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,7 @@ COPY .git/refs/heads/. .git/refs/heads
1616
RUN mkdir -p .git/objects
1717

1818
COPY . .
19-
RUN make build/olm bin/cpb && \
20-
# Build the OLMv0 Test Extension binary.
21-
# This is used by openshift/origin to allow us to register the OLMv0 test extension
22-
# The binary needs to be added in the component image and OCP image
23-
cd staging/tests-extension && \
24-
make build && \
25-
mkdir -p /tmp/build && \
26-
cp ./bin/olmv0-tests-ext /tmp/build/olmv0-tests-ext && \
27-
gzip -f /tmp/build/olmv0-tests-ext
19+
RUN make build/olm bin/cpb
2820

2921
FROM registry.ci.openshift.org/ocp/4.21:base-rhel9
3022

@@ -39,7 +31,6 @@ COPY --from=builder /build/bin/package-server /bin/package-server
3931
COPY --from=builder /build/bin/cpb /bin/cpb
4032
COPY --from=builder /build/bin/psm /bin/psm
4133
COPY --from=builder /build/bin/copy-content /bin/copy-content
42-
COPY --from=builder /tmp/build/olmv0-tests-ext.gz /usr/bin/olmv0-tests-ext.gz
4334

4435
# This image doesn't need to run as root user.
4536
USER 1001

staging/tests-extension/.gitignore

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

staging/tests-extension/.openshift-tests-extension/openshift_payload_olmv0.json

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

staging/tests-extension/Makefile

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

0 commit comments

Comments
 (0)