devspace
devspace copied to clipboard
feat: add config & path runtime variables for dependencies and imports
What issue type does this pull request address? (keep at least one, remove the others) /kind feature
What does this pull request do? Which issues does it resolve?
Adds runtime variables with the devspace.yaml
config location and the path it's in:
runtime.imports[i].config
runtime.imports[i].path
runtime.dependencies.[name].config
runtime.dependencies.[name].path
resolves #2581 fixes ENG-1062
Please provide a short message that should be published in the DevSpace release notes Added runtime variables to expose the location of dependencies and imports.
What else do we need to know?
Nested dependencies
work, but nested imports
do not. This is because imports are erased at load time and cannot be referred to later.
TODO
- [x] Add
runtime.config
andruntime.path
- [x] Test
runtime.config
,runtime.path
,runtime.dependencies.[name].config
, andruntime.dependencies.[name].path
- [x] Add
runtime.imports[i].config
andruntime.imports[i].path
- [ ] Add documation (pending initial review)
Deploy Preview for devspace-docs canceled.
Built without sensitive environment variables
Name | Link |
---|---|
Latest commit | 76a45446147470f1ff9f69955f10a6edef5c6b56 |
Latest deploy log | https://app.netlify.com/sites/devspace-docs/deploys/642b4b6fd7f93600088abce3 |