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

CF Buildpack for Flogo #65

Closed
mellistibco opened this issue Sep 18, 2017 · 3 comments · Fixed by #137
Closed

CF Buildpack for Flogo #65

mellistibco opened this issue Sep 18, 2017 · 3 comments · Fixed by #137
Assignees

Comments

@mellistibco
Copy link
Collaborator

A cloud foundry buildpack for Flogo to enable deployments across CF PaaS environments.

@retgits
Copy link
Contributor

retgits commented Dec 13, 2017

You don't really need to have a Cloud Foundry specific build pack for Flogo. With the Cloud Foundry Binary Buildpack you can run arbitrary binary web servers on CF without the need to have a specific build pack for that language. Since Flogo can compile down to a binary that seems a nicer option.

Prerequisites:

  • You'll need a binary that is able to run on the same OS as CF is deployed (most likely Linux)
  • You'll need to make sure you're using port 8080 for your Receive HTTP Message trigger (this seems to be the default port for the binary build pack, though as a nice to have I'd suggest making it possible to use the PORT environment variable in the trigger as described here).

Steps to deploy:

  1. Either build a Linux based app using the Web UI or build one using the cli (remember to set GOOS=Linux when building)
  2. Make sure the app is executable: chmod +x <appname>
  3. Push to PCF: cf push <name in pcf> -c './<appname>' -b binary_buildpack

More details on the binary build pack can be found here

@retgits retgits closed this as completed Dec 13, 2017
@mellistibco
Copy link
Collaborator Author

Reopening and making it a documentation issue then :) thanks @retgits

@mellistibco
Copy link
Collaborator Author

Push instructions outlined by @retgits to docs site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants