debian-bootc-base-images/.tekton/fedora-bootc-42-minimal-pull-request.yaml
Jonathan Lebon 040f6319f5
Drop fedora- prefix from canonical manifests
It's confusing right now how the manifest names differ across
fedora-bootc, centos-bootc and rhel-bootc. Both rhel-bootc and
centos-bootc only use "bare" names like `minimal`, and `standard`, while
fedora-bootc prefixes everything with `fedora-`.

For FCOS/SCOS/RHCOS, it would be beneficial to maintain the same naming
across all of those.

Let's just match the naming here to the "bare" version. But add symlinks
so that we don't break the old names (but note that being symlinks, they
will no longer show up in `bootc-base-imagectl list`).
2025-06-17 15:32:25 -04:00

55 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/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" && ( "./minimal.yaml".pathChanged() || "./fedora-includes/generic.yaml".pathChanged()
|| "./minimal/***".pathChanged() || ".tekton/fedora-bootc-42-minimal-pull-request.yaml".pathChanged()
|| "Containerfile".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-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-42-compose:Fedora-42-updates-testing-20250617.0@sha256:bc6641635aede632ae6a8fe7e6811f7776f2329c5c815f34f3069e12a9ed10e0
- MANIFEST=fedora-minimal
- name: image-expires-after
value: 5d
- name: output-image
value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal:on-pr-{{revision}}
pipelineRef:
params:
- name: bundle
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:17ec031131088220ff381c4f74882471ce60905ffe0ee8589481cef475689afb
- name: name
value: buildah-build-bootc-multi-platform-oci-ta
- name: kind
value: pipeline
resolver: bundles
timeouts:
pipeline: 6h