mirror of
https://github.com/coreos/fedora-coreos-config.git
synced 2026-02-05 09:45:30 +01:00
tree: import changes from testing-devel at 44e8d07920
This commit is contained in:
@@ -14,7 +14,7 @@ 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 == "branched"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-branched-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "branched"'
|
||||
value: 'event == "pull_request" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "branched"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-branched-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "branched"'
|
||||
value: 'event == "push" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
44
.tekton/fcos-buildroot/fcos-buildroot-pull-request.yaml
Normal file
44
.tekton/fcos-buildroot/fcos-buildroot-pull-request.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: tekton.dev/v1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
name: fcos-buildroot-on-pull-request
|
||||
namespace: coreos-tenant
|
||||
labels:
|
||||
appstudio.openshift.io/application: fcos-buildroot
|
||||
appstudio.openshift.io/component: fcos-buildroot
|
||||
pipelines.appstudio.openshift.io/type: build
|
||||
annotations:
|
||||
build.appstudio.openshift.io/repo: https://github.com/coreos/fedora-coreos-config?rev={{revision}}
|
||||
pipelinesascode.tekton.dev/cancel-in-progress: "true"
|
||||
build.appstudio.redhat.com/commit_sha: '{{revision}}'
|
||||
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
|
||||
== "testing-devel" && (".tekton/fcos-buildroot-pull-request.yaml".pathChanged() || "ci/buildroot/**".pathChanged())
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
- name: git-url
|
||||
value: '{{source_url}}'
|
||||
- name: revision
|
||||
value: '{{revision}}'
|
||||
- name: output-image
|
||||
value: quay.io/konflux-fedora/coreos-tenant/fcos-buildroot:on-pr-{{revision}}
|
||||
- name: dockerfile
|
||||
value: ./ci/buildroot/Dockerfile
|
||||
- name: path-context
|
||||
value: ci/buildroot
|
||||
- name: image-expires-after
|
||||
value: 5d
|
||||
pipelineRef:
|
||||
params:
|
||||
- name: bundle
|
||||
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
|
||||
- name: name
|
||||
value: buildah-build-bootc-multi-platform-oci-ta
|
||||
- name: kind
|
||||
value: pipeline
|
||||
resolver: bundles
|
||||
taskRunTemplate:
|
||||
serviceAccountName: build-pipeline-fcos-buildroot
|
||||
41
.tekton/fcos-buildroot/fcos-buildroot-push.yaml
Normal file
41
.tekton/fcos-buildroot/fcos-buildroot-push.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
apiVersion: tekton.dev/v1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
name: fcos-buildroot-on-push
|
||||
namespace: coreos-tenant
|
||||
labels:
|
||||
appstudio.openshift.io/application: fcos-buildroot
|
||||
appstudio.openshift.io/component: fcos-buildroot
|
||||
pipelines.appstudio.openshift.io/type: build
|
||||
annotations:
|
||||
build.appstudio.openshift.io/repo: https://github.com/Roshan-R/fedora-coreos-config?rev={{revision}}
|
||||
pipelinesascode.tekton.dev/cancel-in-progress: "false"
|
||||
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
|
||||
== "testing-devel" && (".tekton/fcos-buildroot-push.yaml".pathChanged() || "ci/buildroot/**".pathChanged())
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
- name: git-url
|
||||
value: '{{source_url}}'
|
||||
- name: revision
|
||||
value: '{{revision}}'
|
||||
- name: output-image
|
||||
value: quay.io/konflux-fedora/coreos-tenant/fcos-buildroot:{{revision}}
|
||||
- name: dockerfile
|
||||
value: ./ci/buildroot/Dockerfile
|
||||
- name: path-context
|
||||
value: ci/buildroot
|
||||
pipelineRef:
|
||||
params:
|
||||
- name: bundle
|
||||
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
|
||||
- name: name
|
||||
value: buildah-build-bootc-multi-platform-oci-ta
|
||||
- name: kind
|
||||
value: pipeline
|
||||
resolver: bundles
|
||||
taskRunTemplate:
|
||||
serviceAccountName: build-pipeline-fcos-buildroot
|
||||
@@ -14,7 +14,7 @@ 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 == "next-devel"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,6 @@ patches:
|
||||
value: 'fedora-coreos-next-devel-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "next-devel"'
|
||||
value: 'event == "pull_request" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "next-devel"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-next-devel-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "next-devel"'
|
||||
value: 'event == "push" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ 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 == "next"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "next" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-next-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "next"'
|
||||
value: 'event == "pull_request" && target_branch == "next" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "next"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "next" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-next-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "next"'
|
||||
value: 'event == "push" && target_branch == "next" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ 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 == "rawhide"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "rawhide" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,6 @@ patches:
|
||||
value: 'fedora-coreos-rawhide-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "rawhide"'
|
||||
value: 'event == "pull_request" && target_branch == "rawhide" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "rawhide"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "rawhide" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-rawhide-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "rawhide"'
|
||||
value: 'event == "push" && target_branch == "rawhide" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ 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 == "stable"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "stable" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-stable-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "stable"'
|
||||
value: 'event == "pull_request" && target_branch == "stable" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "stable"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "stable" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-stable-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "stable"'
|
||||
value: 'event == "push" && target_branch == "stable" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ 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 == "testing-devel"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "testing-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-testing-devel-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "testing-devel"'
|
||||
value: 'event == "pull_request" && target_branch == "testing-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "testing-devel"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "testing-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-testing-devel-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "testing-devel"'
|
||||
value: 'event == "push" && target_branch == "testing-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ 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 == "testing"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "testing" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-testing-on-pull-request'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "pull_request" && target_branch == "testing"'
|
||||
value: 'event == "pull_request" && target_branch == "testing" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ 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 == "testing"
|
||||
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "testing" && !(files.all.all(f, f.matches("ci/buildroot/")))
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
params:
|
||||
|
||||
@@ -26,5 +26,5 @@ patches:
|
||||
value: 'fedora-coreos-testing-on-push'
|
||||
- op: replace
|
||||
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
|
||||
value: 'event == "push" && target_branch == "testing"'
|
||||
value: 'event == "push" && target_branch == "testing" && !(files.all.all(f, f.matches("ci/buildroot/")))'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user