0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-10 04:00:39 +00:00
wp-git-clone/docs/data/data.yaml

128 lines
2.5 KiB
YAML
Raw Normal View History

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