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

optimizing build conditions to reduce RHTAP workloads #148

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions .tekton/cloudsqlproxy-0-6-pull-request.yaml
Gregory-Pereira marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/cloudsqlproxy/*".pathChanged() || ".tekton/cloudsqlproxy-*-pull-request.yaml".pathChanged() || "/Dockerfile.cloudsqlproxy".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: trillian-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/cloudsqlproxy-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/cloudsqlproxy/*".pathChanged() || ".tekton/cloudsqlproxy-*-push.yaml".pathChanged() || "/Dockerfile.cloudsqlproxy".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: trillian-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/createcerts-1-0-gamma-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" && target_branch == "redhat-v0.6" && ( "cmd/ctlog/createctconfig/*".pathChanged() || ".tekton/createctconfig-*-pull-request.yaml".pathChanged() || "/Dockerfile.createctconfig".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "config/ctlog/certs/*".pathChanged())
Gregory-Pereira marked this conversation as resolved.
Show resolved Hide resolved
creationTimestamp: null
labels:
appstudio.openshift.io/application: fulcio-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/createcerts-1-0-gamma-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" && target_branch == "redhat-v0.6" && ( "cmd/ctlog/createctconfig/*".pathChanged() || ".tekton/createctconfig-*-push.yaml".pathChanged() || "/Dockerfile.createctconfig".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "config/ctlog/certs/*".pathChanged() )
Gregory-Pereira marked this conversation as resolved.
Show resolved Hide resolved
creationTimestamp: null
labels:
appstudio.openshift.io/application: fulcio-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/createdb-0-6-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/trillian/createdb/*".pathChanged() || ".tekton/createdb-*-pull-request.yaml".pathChanged() || "/Dockerfile.createdb".pathChanged() || "config/trillian/createdb/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: trillian-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/createdb-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/trillian/createdb/*".pathChanged() || ".tekton/createdb-*-push.yaml".pathChanged() || "/Dockerfile.createdb".pathChanged() || "config/trillian/createdb/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: trillian-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/createtree-0-6-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/trillian/createtree/*".pathChanged() || ".tekton/createtree-*-pull-request.yaml".pathChanged() || "/Dockerfile.createtree".pathChanged() || "config/rekor/createtree/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: trillian-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/createtree-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/trillian/createtree/*".pathChanged() || ".tekton/createtree-*-push.yaml".pathChanged() || "/Dockerfile.createtree".pathChanged() || "config/rekor/createtree/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: trillian-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/ct-server-0-6-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( ".tekton/ct-server-*-pull-request.yaml".pathChanged() || "/Dockerfile.ct-server".pathChanged() || "hack/build-assets/certificate-transparency-go-1.1.6.tar.gz".pathChanged )
Gregory-Pereira marked this conversation as resolved.
Show resolved Hide resolved
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/ct-server-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( ".tekton/ct-server-*-push.yaml".pathChanged() || "/Dockerfile.ct-server".pathChanged() || "hack/build-assets/certificate-transparency-go-1.1.6.tar.gz".pathChanged )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/ctlog-managectroots-0-6-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull-request" && target_branch == "redhat-v0.6" && ( "cmd/ctlog/managectroots/*".pathChanged() || ".tekton/ctlog-managectroots-*-pull-request.yaml".pathChanged() || "/Dockerfile.ctlog-managectroots".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/ctlog-managectroots-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull-request" && target_branch == "redhat-v0.6" && ( "cmd/ctlog/managectroots/*".pathChanged() || ".tekton/ctlog-managectroots-*-push.yaml".pathChanged() || "/Dockerfile.ctlog-managectroots".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/ctlog-verify-fulcio-0-6-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "config/fulcio/fulcio/*".pathChanged() || "cmd/ctlog/verifyfulcio/*".pathChanged() || ".tekton/ctlog-verify-fulcio-*-pull-request.yaml".pathChanged() || "/Dockerfile.ctlog-verifyfulcio".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/ctlog-verify-fulcio-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "config/fulcio/fulcio/*".pathChanged() || "cmd/ctlog/verifyfulcio/*".pathChanged() || ".tekton/ctlog-verify-fulcio-*-push.yaml".pathChanged() || "/Dockerfile.ctlog-verifyfulcio".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/tuf-server-0-6-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/tuf/server/*".pathChanged() || ".tekton/tuf-server-*-pull-request.yaml".pathChanged() || "/Dockerfile.tuf-server".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down
4 changes: 2 additions & 2 deletions .tekton/tuf-server-0-6-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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
== "redhat-v0.6"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "redhat-v0.6" && ( "cmd/tuf/server/*".pathChanged() || ".tekton/tuf-server-*-push.yaml".pathChanged() || "/Dockerfile.tuf-server".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: scaffold-1-0-gamma
Expand Down