You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Manifests should support a prompt syntax similar to the random-word syntax to prompt users for input. This would make "shrink wrapped" applications that run on Cloud Foundry easier to configure.
As an example, an application I'm working on requires a set of environment variables to work. At the moment, my instructions specify that a user has to run seven commands to properly set them. Now that I'm aware of the the manifest style, I could replace that with a note that the user has to edit the manifest.yml file to add/update with the user's specific values. However, both of these solutions require the user to have actually read the documentation, something that most people won't do. Instead, it might be nice to be able to say something like:
---
applications:
- name: gopivotal-clamemory: 1Ginstances: 1host: gopivotal-cladomain: cfapps.iopath: target/github-cla-integration-1-SNAPSHOT.warenv:
ADMIN_EMAIL_DOMAINS: ${prompt: A comma delimited list of email address domains used to identify administrative users}DATABASE_URL: ${prompt: The URL for the application's database}ENCRYPTION_KEY: ${prompt: The key used to encrypt data in the database}GITHUB_CLIENT_ID: ${prompt: The Client ID assigned to your registered application}GITHUB_CLIENT_SECRET: ${prompt: The Client Secret assigned to your registered application}services:
gopivotal-cla-elephantsql:
label: elephantsqlprovider: elephantsqlversion: n/aplan: turtlegopivotal-cla-newrelic:
label: newrelicprovider: newrelicversion: n/aplan: standardbuildpack: https://github.com/cloudfoundry/java-buildpack
While I suspect this isn't a feature that most applications will use (it probably makes sense to just code most values directly into the manifest and check them into source control), I do think it addresses requirements for people who want to create pre-packed applications that "just run" on Cloud Foundry without a whole lot of user knowledge.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Manifests should support a prompt syntax similar to the
random-word
syntax to prompt users for input. This would make "shrink wrapped" applications that run on Cloud Foundry easier to configure.As an example, an application I'm working on requires a set of environment variables to work. At the moment, my instructions specify that a user has to run seven commands to properly set them. Now that I'm aware of the the manifest style, I could replace that with a note that the user has to edit the
manifest.yml
file to add/update with the user's specific values. However, both of these solutions require the user to have actually read the documentation, something that most people won't do. Instead, it might be nice to be able to say something like:While I suspect this isn't a feature that most applications will use (it probably makes sense to just code most values directly into the manifest and check them into source control), I do think it addresses requirements for people who want to create pre-packed applications that "just run" on Cloud Foundry without a whole lot of user knowledge.
The text was updated successfully, but these errors were encountered: