0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-24 23:10:40 +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
defaultValue: "main"
required: false
2023-12-22 23:59:23 +00:00
- name: commit_ref
description: |
Git commit ref.
type: string
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
defaultValue: 0
required: false
2023-12-22 23:59:23 +00:00
- name: insecure_skip_verify
2023-12-22 23:59:23 +00:00
description: |
Skip SSL verification.
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
defaultValue: true
required: false
2023-12-22 23:59:23 +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.
type: bool
defaultValue: false
required: false
2023-12-22 23:59:23 +00:00
- name: recursive
description: |
Clone submodules.
type: bool
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
defaultValue: true
required: false
2023-12-22 23:59:23 +00:00
- name: submodules_update_remote
description: |
Update remote submodules.
type: bool
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: workdir
description: |
Path to clone git repository.
type: string
defaultValue: $CI_WORKSPACE
required: false