-
Notifications
You must be signed in to change notification settings - Fork 22
Upgrading to 0.7.0
In Cluster Broccoli 0.7.0 the instance format has changed. To convert instances from older versions (0.5.0 and 0.6.0) you can use the the instances-0.6.0-to-0.7.0.sh upgrade script to upgrade the instance JSON files in your instance directory.
The script requires jq 1.5.
nomad stop cluster-broccoli
script/instances-0.6.0-to-0.7.0.sh /path/to/broccoli/instances
nomad run cluster-broccoli.hcl
In the Docker production image the paths to templates
and instances
changed from /templates
and /instances
to /cluster-broccoli-dist/templates
and /cluster-broccoli-dist/instances
respectively.
In the 0.7.0 release we introduced parameter types (#17). The default parameter type is string
which means that all the parameters will be converted to valid JSON strings and therefore will break all existing templates. To make the new release backwards compatible, set broccoli.instances.parameters.defaultType
to raw
. For more details please look at the parameter types docs.