Skip to content

Commit

Permalink
Update bundle generation configuration
Browse files Browse the repository at this point in the history
Modify bundle generation Makefile

Add TektonHub to OpenShift CustomResources example list

Signed-off-by: Nikhil Thomas <nikthoma@redhat.com>
  • Loading branch information
nikhil-thomas committed Mar 9, 2022
1 parent 4ef5265 commit 27de454
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions config/crs/openshift/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ resources:
- trigger/operator_v1alpha1_trigger_cr.yaml
- installerset/operator_v1alpha1_installerset_cr.yaml
- chain/operator_v1alpha1_chain_cr.yaml
- hub/operator_v1alpha1_hub_cr.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
4 changes: 3 additions & 1 deletion operatorhub/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
BUNDLE_ARGS := $(or ${BUNDLE_ARGS},--help)

BIN = $(CURDIR)/.bin

OPERATOR_SDK = $(or ${OPERATOR_SDK_BIN},$(BIN)/operator-sdk)

$(BIN)/operator-sdk: | $(BIN) ; $(info $(M) getting operator-sdk)
ls $(BIN)
@./operatorhub/tools/install_operator-sdk.sh $(BIN)
@./tools/install_operator-sdk.sh $(BIN)

.PHONY: operator-bundle
operator-bundle: | $(OPERATOR_SDK) openshift/release-artifacts/bundle/manifests
Expand Down
6 changes: 3 additions & 3 deletions tekton/release-cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ need a checkout of the operator repo, a terminal window and a text editor.
commit identified in step1.

```bash
TEKTON_RELEASE_BRANCH=release-v0.52.x git checkout -b ${TEKTON_RELEASE_BRANCH}
```
TEKTON_RELEASE_BRANCH=release-v0.52.x git checkout -b ${TEKTON_RELEASE_BRANCH}
```
2. If this is a **patch release** make sure that the correct branch is checkout. eg: If we are making release
v0.52.1, then make sure the `release-v0.52.x` is checked out.

Expand All @@ -48,7 +48,7 @@ need a checkout of the operator repo, a terminal window and a text editor.

commit the `test/config.sh` file.

6. minor version release vs patch release:
4. minor version release vs patch release:
1. if this is a minor version release push the branch to `github.com/tektoncd/operator`

```bash
Expand Down

0 comments on commit 27de454

Please sign in to comment.