mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-23 16:40:41 +00:00
128 lines
2.5 KiB
YAML
128 lines
2.5 KiB
YAML
---
|
|
properties:
|
|
- name: branch
|
|
description: |
|
|
Change branch name.
|
|
type: string
|
|
defaultValue: "main"
|
|
required: false
|
|
|
|
- name: commit_ref
|
|
description: |
|
|
Git commit ref.
|
|
type: string
|
|
defaultValue: "refs/heads/main"
|
|
required: false
|
|
|
|
- name: commit_sha
|
|
description: |
|
|
Git commit sha.
|
|
type: string
|
|
defaultValue: $CI_COMMIT_SHA
|
|
required: false
|
|
|
|
- name: depth
|
|
description: |
|
|
Clone depth.
|
|
type: integer
|
|
defaultValue: 0
|
|
required: false
|
|
|
|
- name: insecure_skip_verify
|
|
description: |
|
|
Skip SSL verification.
|
|
|
|
Activating this option is insecure and should be avoided in most cases.
|
|
type: bool
|
|
defaultValue: false
|
|
required: false
|
|
|
|
- name: lfs
|
|
description: |
|
|
Whether to retrieve LFS content if available.
|
|
type: bool
|
|
defaultValue: true
|
|
required: false
|
|
|
|
- name: log_level
|
|
description: |
|
|
Plugin log level.
|
|
type: string
|
|
defaultValue: "info"
|
|
required: false
|
|
|
|
- name: partial
|
|
description: |
|
|
Enable/disable partial clone.
|
|
type: bool
|
|
defaultValue: false
|
|
required: false
|
|
|
|
- name: recursive
|
|
description: |
|
|
Clone submodules.
|
|
type: bool
|
|
defaultValue: true
|
|
required: false
|
|
|
|
- name: remote
|
|
description: |
|
|
Git remote HTTP clone url.
|
|
type: string
|
|
defaultValue: $CI_REPO_CLONE_URL
|
|
required: false
|
|
|
|
- name: remote_ssh
|
|
description: |
|
|
Git remote SSH clone url.
|
|
type: string
|
|
defaultValue: $CI_REPO_CLONE_SSH_URL
|
|
required: false
|
|
|
|
- name: safe_directory
|
|
description: |
|
|
Define/replace safe directories.
|
|
type: string
|
|
defaultValue: $CI_WORKSPACE
|
|
required: false
|
|
|
|
- name: ssh_key
|
|
description: |
|
|
Private key for SSH clone.
|
|
type: string
|
|
required: false
|
|
|
|
- name: submodule_override
|
|
description: |
|
|
JSON map of submodule overrides.
|
|
type: generic
|
|
required: false
|
|
|
|
- name: submodules_partial
|
|
description: |
|
|
Update submodules via partial clone (`depth=1`).
|
|
type: bool
|
|
defaultValue: true
|
|
required: false
|
|
|
|
- name: submodules_update_remote
|
|
description: |
|
|
Update remote submodules.
|
|
type: bool
|
|
defaultValue: false
|
|
required: false
|
|
|
|
- name: tags
|
|
description: |
|
|
Fetch git tags during clone.
|
|
type: bool
|
|
defaultValue: true
|
|
required: false
|
|
|
|
- name: workdir
|
|
description: |
|
|
Path to clone git repository.
|
|
type: string
|
|
defaultValue: $CI_WORKSPACE
|
|
required: false
|