diff --git a/task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml b/task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml index 614cd9defb..9809cf11dd 100644 --- a/task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml +++ b/task/git-clone-oci-ta/0.1/git-clone-oci-ta.yaml @@ -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. @@ -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 diff --git a/task/git-clone/0.1/git-clone.yaml b/task/git-clone/0.1/git-clone.yaml index 43044b7bf4..b7bbbe0b28 100644 --- a/task/git-clone/0.1/git-clone.yaml +++ b/task/git-clone/0.1/git-clone.yaml @@ -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 @@ -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