Comments (7)
@dev-drprasad It is still needed. The code where these values are resolved has moved. The code where these values are set is now located here:
I realize that the template paths that I used in the issue were incorrect as well. I said bundle.metadata.name
, but it is bundle.name
. I'll update the original issue to correct that.
from porter.
At the moment, yes. It's out of scope for this issue to change that. We do want to change this so that we can use templating anywhere.
from porter.
I recommend not exposing some fields for dependencies. InvocationImage is one of them.
A bundle can have multiple invocation images and it can be selected by the user when they run the bundle. We are still working on the dependencies spec, and invocationImage is one of the values that won't be something that can be determined after the bundle was executed. There may not be much value anyway in knowing the invocation image executed by a dependency (that remains to be seen as we collect use cases and feedback). So for now let's just leave it off.
Thanks for checking! 👍
from porter.
oh nice, for my "next crazy evolution" of WSL+CNAB I would need something like:
bundle.dependencies.myOtherBundle.invocationName
as a readonly field of course, as the bundle would be already installed
Looking forward to this one 😈
from porter.
@carolynvs is this feature still required ? If yes, i would like to pick it up
from porter.
@carolynvs is substitution/templating possible only in actions ?
from porter.
@carolynvs I found that Bundle
has multiple InvocationImages
and there is no name field in InvocationImage
struct. Then how authors can do something like bundle.dependencies.mysql.imageName.invocationImage
?
from porter.
Related Issues (20)
- feat: WASM?
- `porter explalin` does not show parameters that have an output source HOT 2
- (epic) Flaky Tests
- Reporting Broken Links on getporter.org contribute guide Doc
- Integration Tests fail on Windows HOT 3
- Kind is running 1.23.4 for integration tests HOT 2
- "v" prefix is prepended to tag when it shouldn't be
- `porter archive` fails on windows HOT 8
- Parameter set as global context for project which consists from many cnab's
- Custom invocation image does not work if removing # PORTER_INIT
- Hard-to-understand error message when building from a dir missing porter.yaml
- Cannot remove parameters in subsequent versions of bundles
- (feat): Generate SBOM for invocation image + bundle
- Broken redirects from google searches
- Catch-all netlify redirects causes all 404 to be redirected to github.
- website: contributing guide looks broken
- (githubactions/pipelines) Dependency License Checker
- (panic): exec mixin being passed string instead of a map causes panic HOT 2
- Flakey Bundle reuse test
- Docker ACI context support with CNAB Docker Driver HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porter.