diff --git a/data/data.yaml b/data/data.yaml index 46c6a08..56febb6 100644 --- a/data/data.yaml +++ b/data/data.yaml @@ -3,84 +3,107 @@ properties: - name: branch description: | Change branch name. + type: string defaultvalue: "main" - name: commit_ref description: | Git commit ref. + type: string defaultvalue: "refs/heads/main" - name: commit_sha description: | Git commit sha. + type: string + defaultvalue: $CI_COMMIT_SHA - name: depth description: | Clone depth. + type: integer defaultvalue: 0 - name: insecure_skip_ssl_verify description: | - Skip SSL verification of the remote machine. Activating this option is insecure - and should be avoided in most cases. - defaultvalue: true + Skip SSL verification of the remote machine. + + Activating this option is insecure and should be avoided in most cases. type: bool + defaultvalue: false - name: lfs description: | Whether to retrieve LFS content if available. + type: bool defaultvalue: true - name: partial description: | Enable/disable partial clone. + type: bool defaultvalue: false - name: recursive description: | Clone submodules. + type: bool defaultvalue: true - name: remote description: | Git remote HTTP clone url. + type: string + defaultvalue: $CI_REPO_CLONE_URL - name: remote_ssh description: | Git remote SSH clone url. + type: string + defaultvalue: $CI_REPO_CLONE_SSH_URL - name: safe_directory description: | Define/replace safe directories. + type: string + defaultvalue: $CI_WORKSPACE - name: ssh_key description: | - SSH key for ssh clone. + Private key for SSH clone. + type: string - name: submodule_override description: | JSON map of submodule overrides. + type: generic - name: submodules_partial description: | Update submodules via partial clone (`depth=1`). + type: bool defaultvalue: true - name: submodules_update_remote description: | Update remote submodules. + type: bool defaultvalue: false - name: tags description: | Fetch git tags during clone. + type: bool defaultvalue: true - name: use_ssh description: | - Using ssh for git clone. + Using SSH for git clone. + type: bool defaultvalue: false - name: workdir description: | Path to clone git repository. + type: string + defaultvalue: $CI_WORKSPACE