Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve fn publish command #352

Closed
ucirello opened this issue Nov 28, 2016 · 3 comments
Closed

Improve fn publish command #352

ucirello opened this issue Nov 28, 2016 · 3 comments
Labels
Milestone

Comments

@ucirello
Copy link
Contributor

#351

Most likely funcfile struct can be trimmed down to fewer attributes.

@ucirello ucirello modified the milestones: Beta 1, Alpha 2 Nov 28, 2016
@treeder
Copy link
Contributor

treeder commented Nov 29, 2016

I think fn publish should work something along these lines:

fn publish APP_NAME

  • Recurse through all subdirectories
  • If there is a func.yaml file or a Dockerfile, build the function and push it
  • Update route with IronFunctions server. Route path being the route defined in the func.yaml file or the directory name. (should route be changed to path in func.yaml?). App name being APP_NAME.

@treeder
Copy link
Contributor

treeder commented Nov 29, 2016

Maybe we should change the name of this command too, since it's really only for bulk deploy.

@treeder
Copy link
Contributor

treeder commented Nov 29, 2016

Let's fork this example: https://github.com/bfirsh/serverless-docker-voting-app and get it working with IronFunctions, it's a good example for this exact thing.

@treeder treeder changed the title improve how fn publish handle app name and route Improve fn publish command Nov 29, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants