initial commit
This commit is contained in:
15
dev/tekton/examples/example-bank/pipelines/tasks/oc-task.yaml
Executable file
15
dev/tekton/examples/example-bank/pipelines/tasks/oc-task.yaml
Executable file
@@ -0,0 +1,15 @@
|
||||
apiVersion: tekton.dev/v1alpha1
|
||||
kind: Task
|
||||
metadata:
|
||||
name: openshift-client
|
||||
spec:
|
||||
inputs:
|
||||
params:
|
||||
- name: COMMANDS
|
||||
type: string
|
||||
steps:
|
||||
- name: run-commands
|
||||
image: quay.io/openshift/origin-cli:latest
|
||||
script: |
|
||||
#!/usr/bin/env bash
|
||||
$(inputs.params.COMMANDS)
|
||||
Reference in New Issue
Block a user