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

Support deploying bash in Cloud Foundry via GoTTY #124

Closed
wants to merge 1 commit into from

Conversation

gurjeet
Copy link

@gurjeet gurjeet commented Nov 1, 2016

Added a manifest file that is used by default by Cloud Foundry's cli
cf push command. This manifest causes GoTTY to launch bash and allow
it to accept keystrokes. We do not use GoTTY's -c parameter to force use
of credentials, because that requires that the user update the manifest
file before cf push, and also have the utilities to generate secure
password on her machine. We use the alternative method to obscure the
access to this app by recommending (in README) to use the --random-route
option.

Updated code to listen on environment variable PORT. This overrides
logic that purportedly supports choosing a different port via environment
variable GOTTY_PORT. But since that doesn't really work (see issue #122)
it's okay for us to hack this to support Cloud Foundry.

Added a manifest file that is used by default by Cloud Foundry's cli
`cf push` command. This manifest causes GoTTY to launch bash and allow
it to accept keystrokes. We do not use GoTTY's -c parameter to force use
of credentials, because that requires that the user update the manifest
file before `cf push`, and also have the utilities to generate secure
password on her machine. We use the alternative method to obscure the
access to this app by recommending (in README) to use the --random-route
option.

Updated code to listen on environment variable PORT. This overrides
logic that purportedly supports choosing a different port via environment
variable GOTTY_PORT. But since that doesn't really work (see issue yudai#122)
it's okay for us to hack this to support Cloud Foundry.
@yudai
Copy link
Owner

yudai commented Jan 7, 2017

Hi, thank your for the PR.

I currently don't want to add files for a specific environment like CF manifests, BOSH releases, docker-compose files, Kubernetes pod files, because there are too many candidates and hard to maintain.
I'd rather like to leave the deployment method to each user's choice.

Thanks!

@yudai yudai closed this Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants