Fatal error when creating new recipe #316

Closed
opened 2022-04-20 18:37:40 +00:00 by joenas · 2 comments

Version: abra version 0.4.0-alpha-3a3f419 on macOS Big Sur

 .abra git:(main) ✗ abra recipe new ghostpg
FATA[0000] template: .env.sample:3:10: executing ".env.sample" at <.Domain>: can't evaluate field Domain in type recipe.recipeMetadata

Seems like the recipe was created but not sure what/if something is missing 🙂

Version: `abra version 0.4.0-alpha-3a3f419` on macOS Big Sur ``` .abra git:(main) ✗ abra recipe new ghostpg FATA[0000] template: .env.sample:3:10: executing ".env.sample" at <.Domain>: can't evaluate field Domain in type recipe.recipeMetadata ``` Seems like the recipe was created but not sure what/if something is missing 🙂
joenas added the
bug
abra
labels 2022-04-20 18:37:40 +00:00
Owner

Hey @joenas, thanks for the report! This was a mistake in the upstream example repository that assumed we have the {{ .Domain }} value at recipe creation time but we don't 😅 I've fixed that up in 67a5cc3807 and tested:

$ abra recipe new ghostpg
                                
Your new ghostpg recipe has been created in /home/d/.abra/recipes/ghostpg.

In order to share your recipe, you can upload it the git repository to:

    https://git.coopcloud.tech/coop-cloud/ghostpg

If you're not sure how to do that, come chat with us:

    https://docs.coopcloud.tech/contact

See "abra recipe -h" for additional recipe maintainer commands.

Happy Hacking!

Thanks for testing & feel free to re-open this if you have further issues.

Hey @joenas, thanks for the report! This was a mistake in the upstream example repository that assumed we have the `{{ .Domain }}` value at recipe creation time but we don't 😅 I've fixed that up in https://git.coopcloud.tech/coop-cloud/example/commit/67a5cc38075bf032bac7d302c519988ff9809178 and tested: ``` $ abra recipe new ghostpg Your new ghostpg recipe has been created in /home/d/.abra/recipes/ghostpg. In order to share your recipe, you can upload it the git repository to: https://git.coopcloud.tech/coop-cloud/ghostpg If you're not sure how to do that, come chat with us: https://docs.coopcloud.tech/contact See "abra recipe -h" for additional recipe maintainer commands. Happy Hacking! ``` Thanks for testing & feel free to re-open this if you have further issues.
Author

Works perfectly fine now, thanks!

Works perfectly fine now, thanks!
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#316
No description provided.