1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-22 06:02:51 +00:00

Fix git clone tests

This commit is contained in:
Piyush Garg 2020-07-16 17:38:07 +05:30 committed by tekton-robot
parent e2b8ed29ab
commit 48a7825a86

View File

@ -1,23 +1,4 @@
--- ---
apiVersion: tekton.dev/v1beta1
kind: TaskRun
metadata:
name: git-cli-run
spec:
taskRef:
name: git-cli
workspaces:
- name: source
emptyDir: {}
- name: input
emptyDir: {}
params:
- name: GIT_SCRIPT
value: |
git init
git remote add origin https://github.com/kelseyhightower/nocode
git pull origin master
---
apiVersion: tekton.dev/v1alpha1 apiVersion: tekton.dev/v1alpha1
kind: TaskRun kind: TaskRun
metadata: metadata:
@ -135,41 +116,3 @@ spec:
value: https://github.com/kelseyhightower/nocode value: https://github.com/kelseyhightower/nocode
- name: deleteExisting - name: deleteExisting
value: "true" value: "true"
---
apiVersion: tekton.dev/v1alpha1
kind: TaskRun
metadata:
name: git-batch-merge-test-mode-merge
spec:
workspaces:
- name: output
emptyDir: {}
taskRef:
name: git-batch-merge
inputs:
params:
- name: url
value: https://github.com/kelseyhightower/nocode
- name: mode
value: "merge"
- name: batchedRefs
value: "refs/pull/4014/head refs/pull/3894/head"
---
apiVersion: tekton.dev/v1alpha1
kind: TaskRun
metadata:
name: git-batch-merge-test-mode-merge-cherry-pick
spec:
workspaces:
- name: output
emptyDir: {}
taskRef:
name: git-batch-merge
inputs:
params:
- name: url
value: https://github.com/kelseyhightower/nocode
- name: mode
value: "cherry-pick"
- name: batchedRefs
value: "refs/pull/4014/head refs/pull/3894/head"