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
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +00:00
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
2024-01-03 22:35:53 +00:00
defaultValue: 0
2024-01-03 20:36:18 +00:00
required: false
2023-12-23 00:48:51 +00:00
2024-05-16 11:54:56 +00:00
- name: insecure_skip_verify
2023-12-23 00:48:51 +00:00
description: |
2024-05-16 11:54:56 +00:00
Skip SSL verification.
2024-01-02 22:03:12 +00:00
Activating this option is insecure and should be avoided in most cases.
2023-12-23 15:32:30 +00:00
type: bool
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +00:00
defaultValue: true
2024-01-03 20:36:18 +00:00
required: false
2023-12-23 00:48:51 +00:00
2024-05-16 11:54:56 +00:00
- name: log_level
description: |
Plugin log level.
type: string
defaultValue: "info"
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
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +00:00
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
2024-01-03 22:35:53 +00:00
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
2024-01-03 22:35:53 +00:00
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
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +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
2024-01-03 22:35:53 +00:00
defaultValue: true
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
2024-01-03 22:35:53 +00:00
defaultValue: $CI_WORKSPACE
2024-01-03 20:36:18 +00:00
required: false