Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using nightly release #2161

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MODULE = $(shell env GO111MODULE=on $(GO) list -m)
DATE ?= $(shell date +%FT%T%z)
KO_DATA_PATH = $(shell pwd)/cmd/$(TARGET)/operator/kodata
TARGET = kubernetes
COMPONENT ?= components.yaml
FORCE_FETCH_RELEASE = false
CR = config/basic
PLATFORM := $(if $(PLATFORM),--platform $(PLATFORM))
Expand Down Expand Up @@ -96,15 +97,15 @@ bin/%: cmd/% FORCE

.PHONY: compoments/bump
components/bump: $(OPERATORTOOL)
@go run ./cmd/tool bump components.yaml
@go run ./cmd/tool bump ${COMPONENT}

.PHONY: components/bump-bugfix
components/bump-bugfix: $(OPERATORTOOL)
@go run ./cmd/tool bump --bugfix components.yaml
@go run ./cmd/tool bump --bugfix ${COMPONENT}

.PHONY: get-releases
get-releases: |
$Q ./hack/fetch-releases.sh $(TARGET) components.yaml $(FORCE_FETCH_RELEASE) || exit ;
$Q ./hack/fetch-releases.sh $(TARGET) ${COMPONENT} $(FORCE_FETCH_RELEASE) || exit ;

.PHONY: apply
apply: | $(KO) $(KUSTOMIZE) get-releases ; $(info $(M) ko apply on $(TARGET)) @ ## Apply config to the current cluster
Expand Down
7 changes: 5 additions & 2 deletions components.nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ chains:
version: nightly
results:
github: tektoncd/results
version: v0.5.0
version: v0.10.0
jkandasa marked this conversation as resolved.
Show resolved Hide resolved
manual-approval-gate:
github: openshift-pipelines/manual-approval-gate
version: v0.2.0
hub:
github: tektoncd/hub
version: v1.10.0
version: v1.17.0
pipelines-as-code:
github: openshift-pipelines/pipelines-as-code
version: nightly