You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[1] Currently, this works under the assumption that the token can authenticate the devfile and the parent devfile; both devfiles are in the same repository.
42
+
40
43
[2] In this scenario, the token will be used to authenticate the main devfile.
41
44
42
45
## Usage
@@ -199,6 +202,15 @@ The function documentation can be accessed via [pkg.go.dev](https://pkg.go.dev/g
199
202
}
200
203
```
201
204
205
+
9. When parsing a devfile that contains a parent reference, if the parent uri is a supported git provider repo url with the correct personal access token, all resources from the parent git repo excluding the parent devfile.yaml will be downloaded to the location of the devfile being parsed. **Note: The URL must point to a devfile.yaml**
206
+
```yaml
207
+
schemaVersion: 2.2.0
208
+
...
209
+
parent:
210
+
uri: <uri-to-parent-devfile>/devfile.yaml
211
+
...
212
+
```
213
+
202
214
## Projects using devfile/library
203
215
204
216
The following projects are consuming this library as a Golang dependency
0 commit comments