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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
*Optional*. This should be the users password when authenticating against a protected docker registry.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
*Optional*. This is used as the username to authenticate against a protected docker registry.
|
||||
@@ -0,0 +1 @@
|
||||
*Optional*. Deploys the app but does not start it. This parameter is ignored when `current_app_name` is specified.
|
||||
@@ -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.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
*Optional*. Map of variables to pass to manifest
|
||||
@@ -0,0 +1 @@
|
||||
*Optional*. List of variables files to pass to manifest.
|
||||
Reference in New Issue
Block a user