/
gitRepository.qmd
94 lines (59 loc) · 1.79 KB
/
gitRepository.qmd
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
title: "Git Repository"
search: true
---
A Git repository where remote dependency components can be found.
**Examples:**
Example without `name` field in case used in `.functionality.dependencies`
```yaml
type: git
uri: git+https://github.com/openpipelines-bio/openpipeline.git
tag: 0.8.0
```
Example without `name` field in case used in `.functionality.dependencies`
```yaml
type: git
uri: git+https://gitlab.com/viash-io/viash.git
tag: 0.7.1
path: src/test/resources/testns
```
Example with `name` field in case used in `.functionality.repositories`
```yaml
name: openpipeline
type: git
uri: git+https://github.com/openpipelines-bio/openpipeline.git
tag: 0.8.0
```
Example with `name` field in case used in `.functionality.repositories`
```yaml
name: viash-testns
type: git
uri: git+https://gitlab.com/viash-io/viash.git
tag: 0.7.1
path: src/test/resources/testns
```
## name
**Type**: `String`
:::{.callout-warning}
When defining repositories under `.functionality.repositories`, the repository definition needs a `name` field so it can be refered to from a dependency.
When defining a repository directly in a dependency under `.functionality.dependencies`, the `name` field must be omitted.
:::
The identifier used to refer to this repository from dependencies.
## path
**Type**: `String`
**Default**: `Empty`
Defines a subfolder of the repository to use as base to look for the dependency components.
## tag
**Type**: `String`
**Default**: `Empty`
Defines which version of the dependency component to use. Typically this can be a specific tag, branch or commit hash.
## type
**Type**: `String`
Defines the repository as a Git repository.
## uri
**Type**: `String`
The URI of the Git repository.
**Example:**
```yaml
uri: "git+https://github.com/openpipelines-bio/openpipeline.git"
```