Skip to content

Commit

Permalink
Put short commit length parameter next to other git related parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Sep 20, 2024
1 parent ac26a3c commit 9bb9e08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
N commits.
type: string
default: "1"
- name: shortCommitLength
description: Length of short commit SHA
type: string
default: "7"
- name: enableSymlinkCheck
description: |
Check symlinks in the repo. If they're pointing outside of the repo, the build will fail.
Expand Down Expand Up @@ -94,10 +98,6 @@ spec:
operation.
type: string
default: "false"
- name: shortCommitLength
description: Length of short commit SHA
type: string
default: 7
results:
- name: SOURCE_ARTIFACT
description: The Trusted Artifact URI pointing to the artifact with
Expand Down
8 changes: 4 additions & 4 deletions task/git-clone/0.1/git-clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ spec:
description: Perform a shallow clone, fetching only the most recent N commits.
name: depth
type: string
- name: shortCommitLength
description: Length of short commit SHA
type: string
default: "7"
- default: "true"
description: Set the `http.sslVerify` global git config. Setting this to `false` is not advised unless you are sure that you trust your git remote.
name: sslVerify
Expand Down Expand Up @@ -91,10 +95,6 @@ spec:
type: string
description: The name of the key in the ConfigMap that contains the CA bundle data.
default: ca-bundle.crt
- name: shortCommitLength
description: Length of short commit SHA
type: string
default: 7
results:
- description: The precise commit SHA that was fetched by this Task.
name: commit
Expand Down

0 comments on commit 9bb9e08

Please sign in to comment.