Merge pull request #81 from CentOS/appstudio-centos-bootc
Red Hat Trusted App Pipeline update centos-bootc
This commit is contained in:
commit
0ac5a87496
|
|
@ -0,0 +1,82 @@
|
|||
apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
annotations:
|
||||
build.appstudio.openshift.io/repo: https://github.com/CentOS/centos-bootc?rev={{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/max-keep-runs: "3"
|
||||
pipelinesascode.tekton.dev/on-cel-expression:
|
||||
event == "pull_request" && target_branch
|
||||
== "main"
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: centos-bootc
|
||||
appstudio.openshift.io/component: centos-bootc
|
||||
pipelines.appstudio.openshift.io/type: build
|
||||
name: centos-bootc-on-pull-request
|
||||
namespace: centos-bootc-tenant
|
||||
spec:
|
||||
params:
|
||||
- name: image-file
|
||||
value: centos-bootc.yaml
|
||||
- name: git-url
|
||||
value: "{{repo_url}}"
|
||||
- name: output-image
|
||||
value: quay.io/redhat-user-workloads/centos-bootc-tenant/centos-bootc/centos-bootc:on-pr-{{revision}}
|
||||
- name: path-context
|
||||
value: .
|
||||
- name: revision
|
||||
value: "{{revision}}"
|
||||
pipelineRef:
|
||||
name: ostree-build
|
||||
workspaces:
|
||||
- name: workspace
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
status: {}
|
||||
- name: workspace-arm64
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
status: {}
|
||||
- name: workspace-s390x
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
status: {}
|
||||
- name: workspace-ppc64le
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
status: {}
|
||||
- name: git-auth
|
||||
secret:
|
||||
secretName: "{{ git_auth_secret }}"
|
||||
status: {}
|
||||
|
|
@ -0,0 +1,82 @@
|
|||
apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
annotations:
|
||||
build.appstudio.openshift.io/repo: https://github.com/CentOS/centos-bootc?rev={{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/max-keep-runs: "3"
|
||||
pipelinesascode.tekton.dev/on-cel-expression:
|
||||
event == "push" && target_branch
|
||||
== "main"
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: centos-bootc
|
||||
appstudio.openshift.io/component: centos-bootc
|
||||
pipelines.appstudio.openshift.io/type: build
|
||||
name: centos-bootc-on-push
|
||||
namespace: centos-bootc-tenant
|
||||
spec:
|
||||
params:
|
||||
- name: image-file
|
||||
value: centos-bootc.yaml
|
||||
- name: git-url
|
||||
value: "{{repo_url}}"
|
||||
- name: output-image
|
||||
value: quay.io/redhat-user-workloads/centos-bootc-tenant/centos-bootc/centos-bootc:on-pr-{{revision}}
|
||||
- name: path-context
|
||||
value: .
|
||||
- name: revision
|
||||
value: "{{revision}}"
|
||||
pipelineRef:
|
||||
name: ostree-build
|
||||
workspaces:
|
||||
- name: workspace
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
status: {}
|
||||
- name: workspace-arm64
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
status: {}
|
||||
- name: workspace-s390x
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
status: {}
|
||||
- name: workspace-ppc64le
|
||||
volumeClaimTemplate:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
status: {}
|
||||
- name: git-auth
|
||||
secret:
|
||||
secretName: "{{ git_auth_secret }}"
|
||||
status: {}
|
||||
Loading…
Reference in New Issue