Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Update Makefile to copy all olm manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Marrero committed Apr 20, 2020
1 parent 781f643 commit f74641c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OLD_TAG = 0.0.2
TAG = 0.0.3
TAG = 0.0.4

IMAGE = nginx-ingress-operator

RUN_NAMESPACE = default
Expand Down Expand Up @@ -31,8 +31,7 @@ generate-bundle:
mkdir bundle
cp deploy/crds/* bundle/
cp deploy/olm-catalog/nginx-ingress-operator/nginx-ingress-operator.package.yaml bundle/
cp deploy/olm-catalog/nginx-ingress-operator/$(TAG)/* bundle/
cp deploy/olm-catalog/nginx-ingress-operator/$(OLD_TAG)/nginx-ingress-operator.v$(OLD_TAG).clusterserviceversion.yaml bundle/
./hack/copy_manifests.sh
-rm bundle.zip
zip -j bundle.zip bundle/*.yaml

Expand Down
5 changes: 5 additions & 0 deletions hack/copy_manifests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

for f in $(find deploy/olm-catalog -name "*clusterserviceversion.yaml"); do
cp $f bundle/
done

0 comments on commit f74641c

Please sign in to comment.