git-clone taks and updates

This commit is contained in:
2022-03-15 12:55:42 +01:00
parent 5a2b1a1521
commit 857641a92e
2 changed files with 5 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ spec:
- name: deleteExisting
description: clean out the contents of the repo's destination directory (if it already exists) before trying to clone the repo there
type: string
default: "false"
default: "true"
- name: httpProxy
description: git HTTP proxy server for non-SSL requests
type: string
@@ -55,7 +55,7 @@ spec:
description: The precise commit SHA that was fetched by this Task
steps:
- name: clone
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.12.1
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.30.2
script: |
CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"