Add support for missing properties in...

... CF resource 'put' params in Concourse Editor.

Adding support for the following:

- vars
- vars_files
- docker_username
- docker_password
- show_app_log
- no_start

See: https://github.com/spring-projects/sts4/issues/330
This commit is contained in:
Kris De Volder
2019-07-23 15:20:25 -07:00
parent e7d166cd10
commit ecd2393a98
8 changed files with 35 additions and 2 deletions

View File

@@ -745,6 +745,13 @@ public class PipelineYmlSchema implements YamlSchema {
addProp(put, "path", t_ne_string);
addProp(put, "current_app_name", t_ne_string);
addProp(put, "environment_variables", t_string_params);
addProp(put, "vars", t_params);
addProp(put, "vars_files", t_strings);
addProp(put, "docker_username", t_ne_string);
addProp(put, "docker_password", t_ne_string);
addProp(put, "show_app_log", t_boolean);
addProp(put, "no_start", t_boolean);
put.require(Constraints.mutuallyExclusive("no_start", "current_app_name"));
resourceTypes.def("cf", source, get, put);
}

View File

@@ -0,0 +1,2 @@
*Optional*. This should be the users password when authenticating against a protected docker registry.

View File

@@ -0,0 +1 @@
*Optional*. This is used as the username to authenticate against a protected docker registry.

View File

@@ -0,0 +1 @@
*Optional*. Deploys the app but does not start it. This parameter is ignored when `current_app_name` is specified.

View File

@@ -0,0 +1,2 @@
*Optional*. Tails the app log during startup, useful to debug issues when using blue/green deploys together with the `current_app_name` option.

View File

@@ -0,0 +1 @@
*Optional*. Map of variables to pass to manifest

View File

@@ -0,0 +1 @@
*Optional*. List of variables files to pass to manifest.