Initial Konflux build of Fedora Rawhide minimal-plus base image
This commit is contained in:
parent
b2ef5fbd7a
commit
0aaa20edd7
2 changed files with 101 additions and 0 deletions
|
|
@ -0,0 +1,53 @@
|
|||
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" && ( "./fedora-minimal-plus.yaml".pathChanged() || "./fedora-includes/generic.yaml".pathChanged()
|
||||
|| "./minimal-plus/***".pathChanged() || ".tekton/fedora-bootc-rawhide-minimal-plus-on-pull-request.yaml".pathChanged()
|
||||
|| "Containerfile".pathChanged() )
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: fedora-bootc-rawhide
|
||||
appstudio.openshift.io/component: fedora-bootc-rawhide-minimal-plus
|
||||
pipelines.appstudio.openshift.io/type: build
|
||||
name: fedora-bootc-rawhide-minimal-plus-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/fedora/fedora:rawhide
|
||||
- MANIFEST=fedora-minimal-plus
|
||||
- name: image-expires-after
|
||||
value: 5d
|
||||
- name: output-image
|
||||
value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal-plus:on-pr-{{revision}}
|
||||
pipelineRef:
|
||||
params:
|
||||
- name: bundle
|
||||
value: quay.io/fedora-testing/tekton-catalog:pipeline-buildah-build-bootc-multi-platform-oci-ta
|
||||
- name: name
|
||||
value: buildah-build-bootc-multi-platform-oci-ta
|
||||
- name: kind
|
||||
value: pipeline
|
||||
resolver: bundles
|
||||
48
.tekton/fedora-bootc-rawhide-minimal-plus-on-push.yaml
Normal file
48
.tekton/fedora-bootc-rawhide-minimal-plus-on-push.yaml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
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"
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: fedora-bootc-rawhide
|
||||
appstudio.openshift.io/component: fedora-bootc-rawhide-minimal-plus
|
||||
pipelines.appstudio.openshift.io/type: build
|
||||
name: fedora-bootc-rawhide-minimal-plus-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/fedora/fedora:rawhide
|
||||
- MANIFEST=fedora-minimal-plus
|
||||
- name: output-image
|
||||
value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal-plus:{{revision}}
|
||||
pipelineRef:
|
||||
params:
|
||||
- name: bundle
|
||||
value: quay.io/fedora-testing/tekton-catalog:pipeline-buildah-build-bootc-multi-platform-oci-ta
|
||||
- name: name
|
||||
value: buildah-build-bootc-multi-platform-oci-ta
|
||||
- name: kind
|
||||
value: pipeline
|
||||
resolver: bundles
|
||||
Loading…
Add table
Add a link
Reference in a new issue