Skip to content
Open
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
3 changes: 2 additions & 1 deletion .tekton/alertmanager-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/alertmanager-1-4-pull-request.yaml".pathChanged() ||
".tekton/alertmanager-1-4-push.yaml".pathChanged() ||
"Dockerfile.alertmanager".pathChanged() ||
Expand Down
9 changes: 8 additions & 1 deletion .tekton/alertmanager-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/alertmanager-1-4-pull-request.yaml".pathChanged() ||
".tekton/alertmanager-1-4-push.yaml".pathChanged() ||
"Dockerfile.alertmanager".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: "true"
- name: prefetch-input
value: '[{"type": "gomod", "path": "./alertmanager"}]'
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down Expand Up @@ -115,6 +118,10 @@ spec:
description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller.
name: build-platforms
type: array
- name: enable-cache-proxy
default: "false"
description: Enable cache proxy configuration
type: string
results:
- description: ""
name: IMAGE_URL
Expand Down
3 changes: 2 additions & 1 deletion .tekton/cluster-health-analyzer-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/cluster-health-analyzer-1-4-pull-request.yaml".pathChanged() ||
".tekton/cluster-health-analyzer-1-4-push.yaml".pathChanged() ||
"Dockerfile.cluster-health-analyzer".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/cluster-health-analyzer-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/cluster-health-analyzer-1-4-pull-request.yaml".pathChanged() ||
".tekton/cluster-health-analyzer-1-4-push.yaml".pathChanged() ||
"Dockerfile.cluster-health-analyzer".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
3 changes: 2 additions & 1 deletion .tekton/cluster-observability-operator-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/cluster-observability-operator-1-4-pull-request.yaml".pathChanged() ||
".tekton/cluster-observability-operator-1-4-push.yaml".pathChanged() ||
"Dockerfile.obo".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/cluster-observability-operator-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/cluster-observability-operator-1-4-pull-request.yaml".pathChanged() ||
".tekton/cluster-observability-operator-1-4-push.yaml".pathChanged() ||
"Dockerfile.obo".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/cluster-observability-operator-bundle-1-4-pull-request.yaml".pathChanged() ||
".tekton/cluster-observability-operator-bundle-1-4-push.yaml".pathChanged() ||
"Dockerfile.bundle".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/cluster-observability-operator-bundle-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/cluster-observability-operator-bundle-1-4-pull-request.yaml".pathChanged() ||
".tekton/cluster-observability-operator-bundle-1-4-push.yaml".pathChanged() ||
"Dockerfile.bundle".pathChanged() ||
Expand Down Expand Up @@ -43,6 +44,8 @@ spec:
- REGISTRY=registry.redhat.io
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building container images from a Containerfile while reducing network traffic.
Expand Down
3 changes: 2 additions & 1 deletion .tekton/dashboards-console-plugin-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/dashboards-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/dashboards-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-dashboards".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/dashboards-console-plugin-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/dashboards-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/dashboards-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-dashboards".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/distributed-tracing-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/distributed-tracing-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-distributed-tracing".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/distributed-tracing-console-plugin-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/distributed-tracing-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/distributed-tracing-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-distributed-tracing".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/distributed-tracing-console-plugin-pf4-1-4-pull-request.yaml".pathChanged() ||
".tekton/distributed-tracing-console-plugin-pf4-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-distributed-tracing-pf4".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/distributed-tracing-console-plugin-pf4-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/distributed-tracing-console-plugin-pf4-1-4-pull-request.yaml".pathChanged() ||
".tekton/distributed-tracing-console-plugin-pf4-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-distributed-tracing-pf4".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/distributed-tracing-console-plugin-pf5-1-4-pull-request.yaml".pathChanged() ||
".tekton/distributed-tracing-console-plugin-pf5-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-distributed-tracing-pf5".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/distributed-tracing-console-plugin-pf5-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/distributed-tracing-console-plugin-pf5-1-4-pull-request.yaml".pathChanged() ||
".tekton/distributed-tracing-console-plugin-pf5-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-distributed-tracing-pf5".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
27 changes: 26 additions & 1 deletion .tekton/images-mirror-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,35 @@ apiVersion: operator.openshift.io/v1alpha1
kind: ImageDigestMirrorSet
metadata:
name: example-mirror-set
annotations:
pipelinesascode.tekton.dev/on-cel-expression: |-
((event == ".yaml" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/images-mirror-set.yaml-pull-request.yaml".pathChanged() ||
".tekton/images-mirror-set.yaml-push.yaml".pathChanged() ||
"".pathChanged() ||
"".pathChanged())
spec:
imageDigestMirrors:
- mirrors:
- quay.io/my-namespace/valid-repo
source: registry.redhat.io/unreleased-image/or-inaccessible-image
pipelineSpec:
tasks: []
tasks:
- name: get-submodule-commit-labels
params:
- name: SOURCE-ARTIFACT
value: $(tasks.clone-repository.results.SOURCE_ARTIFACT)
- name: DOCKERFILE
value: $(params.dockerfile)
runAfter:
- clone-repository
taskRef:
name: get-submodule-commit-labels
params:
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
taskRunTemplate:
serviceAccountName: build-pipeline-images-mirror-set.yaml
3 changes: 2 additions & 1 deletion .tekton/korrel8r-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/korrel8r-1-4-pull-request.yaml".pathChanged() ||
".tekton/korrel8r-1-4-push.yaml".pathChanged() ||
"Dockerfile.korrel8r".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/korrel8r-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/korrel8r-1-4-pull-request.yaml".pathChanged() ||
".tekton/korrel8r-1-4-push.yaml".pathChanged() ||
"Dockerfile.korrel8r".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
3 changes: 2 additions & 1 deletion .tekton/logging-console-plugin-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/logging-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/logging-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-logging".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/logging-console-plugin-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/logging-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/logging-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-logging".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
3 changes: 2 additions & 1 deletion .tekton/logging-console-plugin-pf4-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/logging-console-plugin-pf4-1-4-pull-request.yaml".pathChanged() ||
".tekton/logging-console-plugin-pf4-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-logging-pf4".pathChanged() ||
Expand Down
5 changes: 4 additions & 1 deletion .tekton/logging-console-plugin-pf4-1-4-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "push" && target_branch == "release-1.4" &&
((event == "push" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/logging-console-plugin-pf4-1-4-pull-request.yaml".pathChanged() ||
".tekton/logging-console-plugin-pf4-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-logging-pf4".pathChanged() ||
Expand Down Expand Up @@ -45,6 +46,8 @@ spec:
value: .
- name: build-source-image
value: "true"
- name: enable-cache-proxy
value: "true"
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down
3 changes: 2 additions & 1 deletion .tekton/monitoring-console-plugin-1-4-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ metadata:
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |-
event == "pull_request" && target_branch == "release-1.4" &&
((event == "pull_request" && target_branch == "release-1.4") ||
(event == "push" && target_branch.startsWith("gh-readonly-queue/main/"))) &&
(".tekton/monitoring-console-plugin-1-4-pull-request.yaml".pathChanged() ||
".tekton/monitoring-console-plugin-1-4-push.yaml".pathChanged() ||
"Dockerfile.ui-monitoring".pathChanged() ||
Expand Down
Loading
Loading