forked from coder/coder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.json
More file actions
77 lines (77 loc) · 1.87 KB
/
Copy pathmodule.json
File metadata and controls
77 lines (77 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"id": "git-clone",
"display_name": "Git Clone",
"description": "Clone a Git repository by URL and skip if it exists.",
"icon": "/icon/git.svg",
"category": "Source Control",
"tags": [
"git",
"helper"
],
"compatible_os": [
"linux"
],
"conflicts_with": [],
"pinned_version": "2.0.1",
"variables": [
{
"name": "agent_id",
"type": "string",
"description": "The ID of a Coder agent.",
"required": false,
"sensitive": false,
"computed": true
},
{
"name": "base_dir",
"type": "string",
"description": "The base directory to clone the repository. Defaults to \"$HOME\".",
"default": "",
"required": false,
"sensitive": false,
"computed": false
},
{
"name": "branch_name",
"type": "string",
"description": "The branch name to clone. If not provided, the default branch will be cloned.",
"default": "",
"required": false,
"sensitive": false,
"computed": false
},
{
"name": "folder_name",
"type": "string",
"description": "The destination folder to clone the repository into.",
"default": "",
"required": false,
"sensitive": false,
"computed": false
},
{
"name": "post_clone_script",
"type": "string",
"description": "Custom script to run after cloning the repository.",
"required": false,
"sensitive": false,
"computed": false
},
{
"name": "pre_clone_script",
"type": "string",
"description": "Custom script to run before cloning the repository.",
"required": false,
"sensitive": false,
"computed": false
},
{
"name": "url",
"type": "string",
"description": "The URL of the Git repository.",
"required": true,
"sensitive": false,
"computed": false
}
]
}