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.
49
+
40
50
[2] In this scenario, the token will be used to authenticate the main devfile.
41
51
42
52
## Usage
@@ -199,6 +209,15 @@ The function documentation can be accessed via [pkg.go.dev](https://pkg.go.dev/g
199
209
}
200
210
```
201
211
212
+
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**
213
+
```yaml
214
+
schemaVersion: 2.2.0
215
+
...
216
+
parent:
217
+
uri: <uri-to-parent-devfile>/devfile.yaml
218
+
...
219
+
```
220
+
202
221
## Projects using devfile/library
203
222
204
223
The following projects are consuming this library as a Golang dependency
0 commit comments