debian-bootc-base-images/.tekton/fedora-bootc-42-minimal-push.yaml
Miguel Martín aabbd950b6
Use the 'branch' auto merge type in renovate's configuration.
Instead of crating MRs, renovate will:

- Create the branch, wait for test results
- Rebase it any time it gets out of date with the base branch
- Automerge the branch commit if it's:
    (a) up-to-date with the base branch, and
    (b) passing all tests
- As a backup, raise a PR only if either:
    (a) tests fail, or
    (b) tests remain pending for too long (default: 24 hours)

Resolves #62

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-06-27 15:37:01 +02:00

62 lines
2.1 KiB
YAML

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.matches("renovate/.*") ||
target_branch == "main"
) && (
".tekton/fedora-bootc-42-minimal-push.yaml".pathChanged() ||
"Containerfile".pathChanged() ||
"bootc-base-imagectl".pathChanged() ||
"install-manifests".pathChanged() ||
"fedora-includes/generic.yaml".pathChanged() ||
"minimal.yaml".pathChanged() ||
"minimal/***".pathChanged()
)
creationTimestamp: null
labels:
appstudio.openshift.io/application: fedora-bootc-42
appstudio.openshift.io/component: fedora-bootc-42-minimal
pipelines.appstudio.openshift.io/type: build
name: fedora-bootc-42-minimal-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-42-compose:Fedora-42-updates-testing-20250627.0@sha256:81904c22dadfe4180a0a5418550e756a66168d7f470350e3538903022b7371c0
- MANIFEST=fedora-minimal
- name: output-image
value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal:{{revision}}
pipelineRef:
params:
- name: bundle
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:a39bc3e36b697385b8e5fb69d8257d3a58cb8199eab5ead8f265ae5ad1f2bbc2
- name: name
value: buildah-build-bootc-multi-platform-oci-ta
- name: kind
value: pipeline
resolver: bundles
timeouts:
pipeline: 6h