-
Notifications
You must be signed in to change notification settings - Fork 54
Exporting the helloworld example. #610
Comments
Because the helloworld example uses an unsigned bundle, you'll need to pass the |
alternatively, you can call |
in general , there is no bundle.json , i just made one up. Should there be one in this repository? I guess I'm confused about where duffle.json ends and bundle.json begins :). |
--insecure seems to get me further, but i think my hacked up bundle.json is incorrect... not sure wether i shoudl fix it , or wether we should just have a bundle.json in this repo for
|
Yeah, that error seems to indicate a malformed duffle.json. would you mind posting it here so we can see what's wrong? |
@jayunit100 Looking at your You can try with something like this: {
"name": "helloworld",
"version": "0.1.1",
"description": "A short description of your bundle",
"keywords": [
"helloworld",
"cnab",
"tutorial"
],
"maintainers": [
{
"name": "Jane Doe",
"email": "jane.doe@example.com",
"url": "https://example.com"
}
],
"invocationImages": [
{
"imageType": "docker",
"image": "cnab/helloworld:0.1.1"
}
],
"images": null,
"parameters": null,
"credentials": null
} I used the above |
Cool ! It worked! . Can someone just PR that particular file into this repo , so that the example standsalone ... or is there a way to generate it ? Since, bundle.json is required if you want to export an app, so I'd say its really a core requirement for any example CNAB app... Unless it can be generated automatically via duffle.
Great news is that the export works find for helloworld, for me, so I can begin building off of this. |
The first thing I tried to do with duffle was export the helloworld example. The reason I tried this is its one of the main value-add of CNAB over pure deployers like helm.
So, here's what I ran into.. Mostly confusion around bundle.json vs. duffle.json (see #609 #330 #329 for related issues. This might be simply another version of #609.
I can build the example. I tried manually making a bundle.json so I could export it but there was a complaint that the .cnab file didnt exist.
Is there any documentation on how to build a .cnab file from a duffle.json, so that I can try exporting it?
The text was updated successfully, but these errors were encountered: