2023-12-22 23:59:23 +00:00
|
|
|
---
|
|
|
|
properties:
|
|
|
|
- name: branch
|
|
|
|
description: |
|
|
|
|
Change branch name.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: "main"
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: commit_ref
|
|
|
|
description: |
|
|
|
|
Git commit ref.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: "refs/heads/main"
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: commit_sha
|
|
|
|
description: |
|
|
|
|
Git commit sha.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: $CI_COMMIT_SHA
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: depth
|
|
|
|
description: |
|
|
|
|
Clone depth.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: integer
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: 0
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
2024-05-06 18:30:18 +00:00
|
|
|
- name: insecure_skip_verify
|
2023-12-22 23:59:23 +00:00
|
|
|
description: |
|
2024-05-06 18:30:18 +00:00
|
|
|
Skip SSL verification.
|
2024-01-02 21:58:05 +00:00
|
|
|
|
|
|
|
Activating this option is insecure and should be avoided in most cases.
|
2023-12-23 15:12:56 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: false
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: lfs
|
|
|
|
description: |
|
|
|
|
Whether to retrieve LFS content if available.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: true
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
2024-05-06 18:30:18 +00:00
|
|
|
- name: log_level
|
|
|
|
description: |
|
|
|
|
Plugin log level.
|
|
|
|
type: string
|
|
|
|
defaultValue: "info"
|
|
|
|
required: false
|
|
|
|
|
2023-12-22 23:59:23 +00:00
|
|
|
- name: partial
|
|
|
|
description: |
|
|
|
|
Enable/disable partial clone.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: false
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: recursive
|
|
|
|
description: |
|
|
|
|
Clone submodules.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: true
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: remote
|
|
|
|
description: |
|
|
|
|
Git remote HTTP clone url.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: $CI_REPO_CLONE_URL
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: remote_ssh
|
|
|
|
description: |
|
|
|
|
Git remote SSH clone url.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: $CI_REPO_CLONE_SSH_URL
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: safe_directory
|
|
|
|
description: |
|
|
|
|
Define/replace safe directories.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: $CI_WORKSPACE
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: ssh_key
|
|
|
|
description: |
|
2024-01-02 21:58:05 +00:00
|
|
|
Private key for SSH clone.
|
|
|
|
type: string
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: submodule_override
|
|
|
|
description: |
|
|
|
|
JSON map of submodule overrides.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: generic
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: submodules_partial
|
|
|
|
description: |
|
|
|
|
Update submodules via partial clone (`depth=1`).
|
2024-01-02 21:58:05 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: true
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: submodules_update_remote
|
|
|
|
description: |
|
|
|
|
Update remote submodules.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: false
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: tags
|
|
|
|
description: |
|
2023-12-23 20:46:36 +00:00
|
|
|
Fetch git tags during clone.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: bool
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: true
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|
2023-12-22 23:59:23 +00:00
|
|
|
|
|
|
|
- name: workdir
|
|
|
|
description: |
|
|
|
|
Path to clone git repository.
|
2024-01-02 21:58:05 +00:00
|
|
|
type: string
|
2024-01-03 22:26:18 +00:00
|
|
|
defaultValue: $CI_WORKSPACE
|
2024-01-03 20:22:10 +00:00
|
|
|
required: false
|