Skip to content

Commit

Permalink
[make] Removing CHANNELS env from workflow. Adding default for catalog
Browse files Browse the repository at this point in the history
Signed-off-by: dd di cesare <[email protected]>
  • Loading branch information
didierofrivia committed Aug 21, 2024
1 parent bf82e53 commit 9e06527
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ on:
description: Limitador Operator replaced version
default: 0.0.0-alpha
type: string
channels:
description: Bundle and catalog channels, comma separated
default: preview
type: string
prerelease:
description: Is the release a pre release?
required: false
Expand Down Expand Up @@ -53,8 +49,7 @@ jobs:
run: |
VERSION=${{ inputs.limitadorOperatorVersion }} \
LIMITADOR_VERSION=${{ inputs.limitadorVersion }} \
REPLACES_VERSION=${{ inputs.replacesVersion }} \
CHANNELS=${{ inputs.channels }}
REPLACES_VERSION=${{ inputs.replacesVersion }}
make prepare-release
- name: Commit and push
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ bundle-push: ## Push the bundle image.
prepare-release: ## Prepare the manifests for OLM and Helm Chart for a release.
$(MAKE) bundle VERSION=$(VERSION) \
LIMITADOR_VERSION=$(LIMITADOR_VERSION) \
REPLACES_VERSION=$(REPLACES_VERSION) \
REPLACES_VERSION=$(REPLACES_VERSION)
$(MAKE) helm-build VERSION=$(VERSION) \
LIMITADOR_VERSION=$(LIMITADOR_VERSION)

Expand Down
2 changes: 2 additions & 0 deletions make/catalog.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ $(CATALOG_DOCKERFILE): $(OPM)
cd $(PROJECT_PATH)/catalog && $(OPM) generate dockerfile limitador-operator-catalog
catalog-dockerfile: $(CATALOG_DOCKERFILE) ## Generate catalog dockerfile.

CHANNELS ?= preview

$(CATALOG_FILE): $(OPM) $(YQ)
@echo "************************************************************"
@echo Build limitador operator catalog
Expand Down

0 comments on commit 9e06527

Please sign in to comment.