Skip to content

Commit

Permalink
Update the bundle.sh to generate the bundle through opm (cockroachdb#984
Browse files Browse the repository at this point in the history
)
  • Loading branch information
prafull01 authored Jun 5, 2023
1 parent eb6a8bf commit 1e1df53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions hack/bin/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ OPENSHIFT_BINS = {
"opm_darwin": {
"url": "{}/opm-mac-{}.tar.gz".format(OPENSHIFT_REPO, OPENSHIFT_VERSION),
"sha": "36d7104b1fd29e77a880b63e3e1aa67639a48cca1fdf537411b40a0c36140dba",
"src": "darwin-amd64-opm",
},
"opm_linux": {
"url": "{}/opm-linux-{}.tar.gz".format(OPENSHIFT_REPO, OPENSHIFT_VERSION),
"sha": "6d422682fd688cbebc7818247005e2baf87675efef4931d2f0a2e744dc613b88",
"src": "opm",
},
},
}
Expand Down Expand Up @@ -408,10 +410,10 @@ def install_opm():
build_file_content = """
filegroup(
name = "file",
srcs = ["opm"],
srcs = ["{src}"],
visibility = ["//visibility:public"],
)
"""
""".format(src=v["src"])
)

## Fetch openshift-installer
Expand Down
1 change: 0 additions & 1 deletion hack/bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ generate_bundle() {
bundle.Dockerfile > "${dir}/Dockerfile"

rm bundle.Dockerfile
rm "${dir}/manifests/cockroach-operator-webhook-service_v1_service.yaml"
}

adapt_csv() {
Expand Down

0 comments on commit 1e1df53

Please sign in to comment.