0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-14 19:30:40 +00:00
wp-git-clone/data/data.yaml

128 lines
2.5 KiB
YAML
Raw Normal View History

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