-
Notifications
You must be signed in to change notification settings - Fork 20
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-broccoliscript/instances-0.6.0-to-0.7.0.sh /path/to/broccoli/instancesnomad 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 quotes inside the parameter values will be escaped. This might break your existing templates if you rely on unescaped quotes. To make the new release backwards compatible, set broccoli.instances.parameters.default-type to raw.
For more details please look at the parameter types docs.
-
broccoli.templates.storage.typehas been removed -
broccoli.templates.storage.fs.urlhas been moved tobroccoli.templates.path
-
broccoli.instances.storage.couchdb.dbNamehas been renamed tobroccoli.instances.storage.couchdb.database -
broccoli.instances.storage.fs.urlhas been renamed tobroccoli.instances.storage.fs.path -
broccoli.instances.storage.typehas been removed. Switching between different instance storage types is now done by loading the corresponding module. Seereference.conffor details.