The following steps describes the process to upgrade delivery using delivery-cluster
- Login to the provisioning node that manage the delivery infrastructure.
- Swtich to the
delivery-cluster
repository.
# cd ~/repo/delivery-cluster
- Pull the latest code from github.
# git fetch origin master
# git pull origin master
- Set your delivery environment.
# export CHEF_ENV=my_environment_name
- Upgrade delivery.
# chef exec rake maintenance:upgrade
- Validate the version of delivery by accessing this URL:
httpd://my-delivery.com/status/version
If the version of Delivery is pinned in the environment file, this upgrade will have no effect.
An example of a pinned environment for version 0.3.67
of delivery
"delivery": {
"version": "0.3.67",
}
For upgrades set the version to latest
as follow
"delivery": {
"version": "latest",
}
We highly recommend customers build two different environment files and clusters, one with pinned version of delivery and one with latest
, in order to test upgrades.
Copyright:: 2015 Chef Software, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.