Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion specs/ecosystem/ecosystem.spec
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,22 @@ Steps:
* Verify pipelinerun
|S.NO|pipeline_run_name |status |
|----|-----------------------------------|------------|
|1 |pull-request-pipeline-run |successful |
|1 |pull-request-pipeline-run |successful |

## opc task pipelinerun: PIPELINES-29-TC21
Tags: e2e, ecosystem, tasks, non-admin, opc, sanity
Component: Pipelines
Level: Integration
Type: Functional
Importance: Critical

Steps:
* Create
|S.NO|resource_dir |
|----|-------------------------------------------------|
|1 |testdata/ecosystem/pipelines/opc-task.yaml |
|2 |testdata/ecosystem/pipelineruns/opc-task.yaml |
* Verify pipelinerun
|S.NO|pipeline_run_name|status |
|----|-----------------|----------|
|1 |opc-task-run |successful|
10 changes: 10 additions & 0 deletions testdata/ecosystem/pipelineruns/opc-task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: opc-task-run
spec:
pipelineRef:
name: opc-task-pipeline
timeouts:
pipeline: 10m

65 changes: 65 additions & 0 deletions testdata/ecosystem/pipelines/opc-task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: opc-task-pipeline
spec:
tasks:
- name: opc-version
taskRef:
resolver: cluster
params:
- name: kind
value: task
- name: name
value: opc
- name: namespace
value: openshift-pipelines
params:
- name: SCRIPT
value: "opc $@"
- name: ARGS
value:
- version
- name: opc-pipeline-list
taskRef:
resolver: cluster
params:
- name: kind
value: task
- name: name
value: opc
- name: namespace
value: openshift-pipelines
runAfter:
- opc-version
params:
- name: SCRIPT
value: "opc $@"
- name: ARGS
value:
- pipeline
- list
- -n
- $(context.pipelineRun.namespace)
- name: opc-task-list
taskRef:
resolver: cluster
params:
- name: kind
value: task
- name: name
value: opc
- name: namespace
value: openshift-pipelines
runAfter:
- opc-pipeline-list
params:
- name: SCRIPT
value: "opc $@"
- name: ARGS
value:
- task
- list
- -n
- $(context.pipelineRun.namespace)