Last active
July 28, 2023 09:54
-
-
Save warroyo/b3284471d77fc06b57164aef73ee9920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: tekton.dev/v1beta1 | |
kind: Pipeline | |
metadata: | |
annotations: | |
apps.tanzu.vmware.com/pipeline: test | |
labels: | |
apps.tanzu.vmware.com/custom-test: 'true' | |
name: go-tekton-test | |
namespace: tap-workload | |
spec: | |
params: | |
- name: source-url | |
type: string | |
- name: source-revision | |
type: string | |
tasks: | |
- name: test | |
params: | |
- name: source-url | |
value: $(params.source-url) | |
- name: source-revision | |
value: $(params.source-revision) | |
taskSpec: | |
metadata: {} | |
params: | |
- name: source-url | |
type: string | |
- name: source-revision | |
type: string | |
spec: null | |
steps: | |
- image: gradle | |
name: test | |
resources: {} | |
script: |- | |
cd `mktemp -d` | |
wget -qO- $(params.source-url) | tar xvz -m | |
#some test here | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment