Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ You can also supply:
- `cf_api:` to specify a Cloud Foundry API endpoint (instead of the default `api.fr.cloud.gov`)
- `cf_manifest:` to use a different manifest file (instead of the default `manifest.yml`)
- `cf_vars_file:` to [specify values for variables in the manifest file](https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#variable-substitution)
- `cf_command:` to specify a CF sub-command to run (instead of the default `push -f $MANIFEST -vars-file $VARS_FILE --strategy rolling`)
- `cf_command:` to specify a CF sub-command to run (instead of the default `push -f $cf_manifest -vars-file $cf_vars_file --strategy rolling`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `cf_command:` to specify a CF sub-command to run (instead of the default `push -f $cf_manifest -vars-file $cf_vars_file --strategy rolling`)
- `cf_command:` to specify a CF sub-command to run (instead of the default `push -f $MANIFEST --strategy rolling`)

So the default command does not include a vars file: https://github.com/cloud-gov/cg-cli-tools/blob/main/entrypoint.sh#L38

And $MANIFEST is the variable that is used, which will respect the value of cf_manifest if set, otherwise it will default to manifest.yml:

https://github.com/cloud-gov/cg-cli-tools/blob/main/entrypoint.sh#L30

- `command:` to specify another command altogether (for example: a script which checks if required services are present and creates them if they're missing)

## A note on versions
Expand Down