Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring values for recipes using project config #158

Open
smirnp opened this issue Jul 11, 2018 · 7 comments
Open

Allow configuring values for recipes using project config #158

smirnp opened this issue Jul 11, 2018 · 7 comments

Comments

@smirnp
Copy link

smirnp commented Jul 11, 2018

Is there any way to locally specify default values/override the recipe in order to reexecute it many times if it fails?

@yamalight
Copy link
Contributor

Not at the moment 🤔

@smirnp
Copy link
Author

smirnp commented Jul 30, 2018

How then I can execute recipe fully automatic (without any user interaction)? Maybe it is possible to download and execute locally modified (automatically) recipe? Otherwise the Exoframe is not applicable for continuous deployment?

@yamalight
Copy link
Contributor

@smirnp I think that sounds as a useful additional feature. I'll change the ticket to feature and will try to ship it in 3.1 update.
but yes, if you fork the recipe, hardcode all the answers and make getQuestions return empty array - it should execute without asking anything.

@yamalight yamalight changed the title Q: Default values for recipes Allow configuring values for recipes using project config Jul 30, 2018
@yamalight yamalight added this to the 3.1 milestone Jul 30, 2018
@smirnp
Copy link
Author

smirnp commented Jul 30, 2018

These operations:

exoframe login
exoframe endpoint http://you.server.url

can be avoided just by putting needed values into .exoframe/cli.config.yml?

@yamalight
Copy link
Contributor

yes, this is correct

@smirnp
Copy link
Author

smirnp commented Jul 30, 2018

if you fork the recipe, hardcode all the answers and make getQuestions return empty array - it should execute without asking anything.

I have cloned the project, modified index.js, but the 'exoframe setup exoframe-recipe-hobbit' seems not to take it. Should I rebuild the recipe or use another command?

@yamalight
Copy link
Contributor

Currently Exoframe loads recipes from npm - hence when you execute exoframe setup exoframe-recipe-hobbit it pulls current version of recipe from there. You need to publish your own version either to npm, or to local registry (then you'd need to provide config to yarn in exoframe-server) and install it from there.

@yamalight yamalight modified the milestones: 3.1, 4.0 Sep 17, 2018
@yamalight yamalight modified the milestones: 4.0, post-4.0 Jan 24, 2019
@yamalight yamalight removed this from the post-5.1 milestone Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants