Skip to content

Commit

Permalink
[COST-5382] konflux: update bundle pipeline and use brew registry (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
djnakabaale authored Sep 19, 2024
1 parent 99c55c6 commit 511f795
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .tekton/koku-metrics-operator-bundle-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull" && target_branch == "main" &&
(
".tekton/koku-metrics-operator-bundle-pull.yaml".pathChanged() ||
"bundle/metadata/***".pathChanged() ||
"bundle/manifests/***".pathChanged() ||
"bundle.Dockerfile".pathChanged()
)
creationTimestamp: null
labels:
appstudio.openshift.io/application: koku-metrics-operator
Expand Down
9 changes: 7 additions & 2 deletions .tekton/koku-metrics-operator-bundle-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ metadata:
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" &&
(
".tekton/koku-metrics-operator-bundle-push.yaml".pathChanged() ||
"bundle/metadata/***".pathChanged() ||
"bundle/manifests/***".pathChanged() ||
"bundle.Dockerfile".pathChanged()
)
creationTimestamp: null
labels:
appstudio.openshift.io/application: koku-metrics-operator
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Build the manager binary
FROM --platform=${BUILDPLATFORM:-linux/amd64} docker.io/library/golang:1.22.6 AS builder

ARG TARGETOS
ARG TARGETARCH

Expand Down

0 comments on commit 511f795

Please sign in to comment.