diff --git a/.tekton/fedora-bootc-43-iot-pull-request.yaml b/.tekton/fedora-bootc-43-iot-pull-request.yaml new file mode 100644 index 0000000..73d7707 --- /dev/null +++ b/.tekton/fedora-bootc-43-iot-pull-request.yaml @@ -0,0 +1,70 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://gitlab.com/fedora/bootc/base-images/-/tree/{{revision}} + 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/cancel-in-progress: "true" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: | + ( + (event == "pull_request" && target_branch == "main") + ) && ( + ".tekton/fedora-bootc-43-iot-pull-request.yaml".pathChanged() || + "Containerfile".pathChanged() || + "bootc-base-imagectl".pathChanged() || + "install-manifests".pathChanged() || + "fedora-includes/generic.yaml".pathChanged() || + "minimal.yaml".pathChanged() || + "minimal/***".pathChanged() || + "minimal-plus.hidden.yaml".pathChanged() || + "minimal-plus/***".pathChanged() || + "iot.yaml".pathChanged() || + "iot/***".pathChanged() + ) + creationTimestamp: null + labels: + appstudio.openshift.io/application: fedora-bootc-43 + appstudio.openshift.io/component: fedora-bootc-43-iot + pipelines.appstudio.openshift.io/type: build + name: fedora-bootc-43-iot-on-pull-request +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: build-platforms + value: + - linux/amd64 + - linux/arm64 + - name: dockerfile + value: Containerfile + - name: path-context + value: . + - name: privileged-nested + value: true + - name: build-args + value: + - REPOS_IMAGE=quay.io/bootc-devel/fedora-bootc-43-compose:Fedora-43-202508018.n.0@sha256:3d38d19271f189aef11c0b0642ed4105c8aafba34fdf790c373e5ec321ae260a + - MANIFEST=fedora-iot + - name: image-expires-after + value: 5d + - name: output-image + value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-iot:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.version=43 + pipelineRef: + params: + - name: bundle + value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:e44129e1977e312ae5d0d080fe88a57ea094c9ebdbdcdb9eeef5dd4378c92c63 + - name: name + value: buildah-build-bootc-multi-platform-oci-ta + - name: kind + value: pipeline + resolver: bundles + timeouts: + pipeline: 6h diff --git a/.tekton/fedora-bootc-43-iot-push.yaml b/.tekton/fedora-bootc-43-iot-push.yaml new file mode 100644 index 0000000..05cb386 --- /dev/null +++ b/.tekton/fedora-bootc-43-iot-push.yaml @@ -0,0 +1,67 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://gitlab.com/fedora/bootc/base-images/-/tree/{{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/cancel-in-progress: "false" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: | + ( + (event == "push" && target_branch == "main") + ) && ( + ".tekton/fedora-bootc-43-iot-push.yaml".pathChanged() || + "Containerfile".pathChanged() || + "bootc-base-imagectl".pathChanged() || + "install-manifests".pathChanged() || + "fedora-includes/generic.yaml".pathChanged() || + "minimal.yaml".pathChanged() || + "minimal/***".pathChanged() || + "minimal-plus.hidden.yaml".pathChanged() || + "minimal-plus/***".pathChanged() || + "iot.yaml".pathChanged() || + "iot/***".pathChanged() + ) + creationTimestamp: null + labels: + appstudio.openshift.io/application: fedora-bootc-43 + appstudio.openshift.io/component: fedora-bootc-43-iot + pipelines.appstudio.openshift.io/type: build + name: fedora-bootc-43-iot-on-push +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: build-platforms + value: + - linux/amd64 + - linux/arm64 + - name: dockerfile + value: Containerfile + - name: path-context + value: . + - name: privileged-nested + value: true + - name: build-args + value: + - REPOS_IMAGE=quay.io/bootc-devel/fedora-bootc-43-compose:Fedora-43-202508018.n.0@sha256:3d38d19271f189aef11c0b0642ed4105c8aafba34fdf790c373e5ec321ae260a + - MANIFEST=fedora-iot + - name: output-image + value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-iot:{{revision}} + - name: labels + value: + - org.opencontainers.version=43 + pipelineRef: + params: + - name: bundle + value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:e44129e1977e312ae5d0d080fe88a57ea094c9ebdbdcdb9eeef5dd4378c92c63 + - name: name + value: buildah-build-bootc-multi-platform-oci-ta + - name: kind + value: pipeline + resolver: bundles + timeouts: + pipeline: 6h diff --git a/.tekton/fedora-bootc-43-iot-renovate-push.yaml b/.tekton/fedora-bootc-43-iot-renovate-push.yaml new file mode 100644 index 0000000..9d56d1e --- /dev/null +++ b/.tekton/fedora-bootc-43-iot-renovate-push.yaml @@ -0,0 +1,70 @@ +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: https://gitlab.com/fedora/bootc/base-images/-/tree/{{revision}} + build.appstudio.redhat.com/commit_sha: '{{revision}}' + build.appstudio.redhat.com/target_branch: '{{target_branch}}' + pipelinesascode.tekton.dev/cancel-in-progress: "true" + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: | + ( + (event == "push" && target_branch.startsWith("renovate/")) + ) && ( + ".tekton/fedora-bootc-43-iot-renovate-push.yaml".pathChanged() || + "Containerfile".pathChanged() || + "bootc-base-imagectl".pathChanged() || + "install-manifests".pathChanged() || + "fedora-includes/generic.yaml".pathChanged() || + "minimal.yaml".pathChanged() || + "minimal/***".pathChanged() || + "minimal-plus.hidden.yaml".pathChanged() || + "minimal-plus/***".pathChanged() || + "iot.yaml".pathChanged() || + "iot/***".pathChanged() + ) + creationTimestamp: null + labels: + appstudio.openshift.io/application: fedora-bootc-43 + appstudio.openshift.io/component: fedora-bootc-43-iot + pipelines.appstudio.openshift.io/type: build + release.appstudio.openshift.io/auto-release: "false" + name: fedora-bootc-43-iot-renovate-on-push +spec: + params: + - name: git-url + value: '{{source_url}}' + - name: revision + value: '{{revision}}' + - name: build-platforms + value: + - linux/amd64 + - linux/arm64 + - name: dockerfile + value: Containerfile + - name: path-context + value: . + - name: privileged-nested + value: true + - name: build-args + value: + - REPOS_IMAGE=quay.io/bootc-devel/fedora-bootc-43-compose:Fedora-43-202508018.n.0@sha256:3d38d19271f189aef11c0b0642ed4105c8aafba34fdf790c373e5ec321ae260a + - MANIFEST=fedora-iot + - name: image-expires-after + value: 5d + - name: output-image + value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-iot:{{revision}} + - name: labels + value: + - org.opencontainers.version=43 + pipelineRef: + params: + - name: bundle + value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:e44129e1977e312ae5d0d080fe88a57ea094c9ebdbdcdb9eeef5dd4378c92c63 + - name: name + value: buildah-build-bootc-multi-platform-oci-ta + - name: kind + value: pipeline + resolver: bundles + timeouts: + pipeline: 6h