Skip to content

Commit

Permalink
Merge pull request #895 from lcarva/fix-pac
Browse files Browse the repository at this point in the history
Give unique name to push Tekton pipeline
  • Loading branch information
lcarva authored Aug 3, 2023
2 parents 33e9023 + faa55d7 commit 4558fcd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .tekton/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ spec:
- name: path-context
value: "tasks/verify-enterprise-contract/0.1,!tasks/verify-enterprise-contract/0.1/tests"
pipelineRef:
name: tekton-bundle-builder
bundle: quay.io/redhat-appstudio-tekton-catalog/pipeline-tekton-bundle-builder:4c203a1b6b05196fdac8916c19a4d1ce918704bd@sha256:655d823e44b8638de3c2c0bf0c0bcbd49d79deaac2c549e3e048f48f7b86c4f8
resolver: bundles
params:
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/pipeline-tekton-bundle-builder:4c203a1b6b05196fdac8916c19a4d1ce918704bd@sha256:655d823e44b8638de3c2c0bf0c0bcbd49d79deaac2c549e3e048f48f7b86c4f8
- name: name
value: tekton-bundle-builder
- name: kind
value: pipeline
workspaces:
- name: workspace
volumeClaimTemplate:
Expand Down
12 changes: 9 additions & 3 deletions .tekton/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-event: '[push]'
pipelinesascode.tekton.dev/on-target-branch: '[main]'
name: task-verify-ec-on-pull-request
name: task-verify-ec-on-push
spec:
params:
- name: git-url
Expand All @@ -35,8 +35,14 @@ spec:
- name: path-context
value: "tasks/verify-enterprise-contract/0.1,!tasks/verify-enterprise-contract/0.1/tests"
pipelineRef:
name: tekton-bundle-builder
bundle: quay.io/redhat-appstudio-tekton-catalog/pipeline-tekton-bundle-builder:4c203a1b6b05196fdac8916c19a4d1ce918704bd@sha256:655d823e44b8638de3c2c0bf0c0bcbd49d79deaac2c549e3e048f48f7b86c4f8
resolver: bundles
params:
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/pipeline-tekton-bundle-builder:4c203a1b6b05196fdac8916c19a4d1ce918704bd@sha256:655d823e44b8638de3c2c0bf0c0bcbd49d79deaac2c549e3e048f48f7b86c4f8
- name: name
value: tekton-bundle-builder
- name: kind
value: pipeline
workspaces:
- name: workspace
volumeClaimTemplate:
Expand Down

0 comments on commit 4558fcd

Please sign in to comment.