Skip to content

Commit

Permalink
Red Hat Trusted App Pipeline update console (#2847)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Cormier <[email protected]>
Co-authored-by: red-hat-trusted-app-pipeline <[email protected]>
  • Loading branch information
red-hat-konflux[bot] and red-hat-trusted-app-pipeline authored May 11, 2023
1 parent ae4a6d8 commit dc64e8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .tekton/console-mce-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/stolostron/console?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}}'
Expand All @@ -14,7 +15,7 @@ metadata:
appstudio.openshift.io/component: console
pipelines.appstudio.openshift.io/type: build
name: console-on-pull-request
namespace: red-hat-acm-tenant
namespace: crt-redhat-acm-tenant
spec:
params:
- name: dockerfile
Expand All @@ -24,7 +25,7 @@ spec:
- name: image-expires-after
value: 5d
- name: output-image
value: quay.io/redhat-user-workloads/red-hat-acm-tenant/mce-24/console:on-pr-{{revision}}
value: quay.io/redhat-user-workloads/crt-redhat-acm-tenant/mce-24/console:on-pr-{{revision}}
- name: path-context
value: .
- name: revision
Expand Down
5 changes: 3 additions & 2 deletions .tekton/console-mce-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/stolostron/console?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
Expand All @@ -13,15 +14,15 @@ metadata:
appstudio.openshift.io/component: console
pipelines.appstudio.openshift.io/type: build
name: console-on-push
namespace: red-hat-acm-tenant
namespace: crt-redhat-acm-tenant
spec:
params:
- name: dockerfile
value: Dockerfile.mce.prow
- name: git-url
value: '{{repo_url}}'
- name: output-image
value: quay.io/redhat-user-workloads/red-hat-acm-tenant/mce-24/console:{{revision}}
value: quay.io/redhat-user-workloads/crt-redhat-acm-tenant/mce-24/console:{{revision}}
- name: path-context
value: .
- name: revision
Expand Down

0 comments on commit dc64e8a

Please sign in to comment.