init
This commit is contained in:
parent
62c8f80ed0
commit
fbefda67f6
@ -9,6 +9,16 @@ spec:
|
|||||||
The commit SHA, committer date, and fetched URL are exposed as Task results.
|
The commit SHA, committer date, and fetched URL are exposed as Task results.
|
||||||
|
|
||||||
params:
|
params:
|
||||||
|
- name: home
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
description: home directory
|
||||||
|
|
||||||
|
- name: workshop
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
description: workshop inside the `shared` Workspace to clone the repo into.
|
||||||
|
|
||||||
- name: url
|
- name: url
|
||||||
type: string
|
type: string
|
||||||
description: The Git repository URL to clone.
|
description: The Git repository URL to clone.
|
||||||
@ -40,20 +50,10 @@ spec:
|
|||||||
Set the `http.sslVerify` global git config.
|
Set the `http.sslVerify` global git config.
|
||||||
Setting this to `false` is not advised unless you are sure that you trust your git remote.
|
Setting this to `false` is not advised unless you are sure that you trust your git remote.
|
||||||
|
|
||||||
- name: crtFileName
|
# - name: crtFileName
|
||||||
type: string
|
# type: string
|
||||||
default: "ca-bundle.crt"
|
# default: "ca-bundle.crt"
|
||||||
description: file name of mounted crt using ssl-ca-directory workspace.
|
# description: file name of mounted crt using ssl-ca-directory workspace.
|
||||||
|
|
||||||
- name: home
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
description: home directory
|
|
||||||
|
|
||||||
- name: workshop
|
|
||||||
type: string
|
|
||||||
default: ""
|
|
||||||
description: workshop inside the `shared` Workspace to clone the repo into.
|
|
||||||
|
|
||||||
- name: sparseCheckoutDirectories
|
- name: sparseCheckoutDirectories
|
||||||
type: string
|
type: string
|
||||||
@ -132,8 +132,8 @@ spec:
|
|||||||
# value: $(params.userHome)
|
# value: $(params.userHome)
|
||||||
- name: HOME
|
- name: HOME
|
||||||
value: /workspace/shared/$(params.home)
|
value: /workspace/shared/$(params.home)
|
||||||
- name: SSL_CERT_FILE
|
# - name: SSL_CERT_FILE
|
||||||
value: "/workspace/ssl-ca-directory/$(params.crtFileName)"
|
# value: "/workspace/ssl-ca-directory/$(params.crtFileName)"
|
||||||
- name: HTTP_PROXY
|
- name: HTTP_PROXY
|
||||||
value: $(params.httpProxy)
|
value: $(params.httpProxy)
|
||||||
- name: HTTPS_PROXY
|
- name: HTTPS_PROXY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user