fuel-ccp-heat/service/upgrade/default.yaml

41 lines
874 B
YAML

upgrade:
name: upgrade-heat
image: heat-upgrade
steps:
- name: backup
command: /opt/ccp/bin/backup.sh
files:
- backup-sh
volumes:
- name: backup-dir
path: /var/ccp/backup/heat
type: host
readOnly: false
topology_key: backup
- name: kill-services
type: kill-services
- name: db-sync
command: heat-manage db_sync
files:
- heat-conf
- name: roll-api
type: rolling-upgrade
services:
- heat-api
- name: roll-api-cfn
type: rolling-upgrade
services:
- heat-api-cfn
- name: roll-engine
type: rolling-upgrade
services:
- heat-engine
files:
heat-conf:
path: /etc/heat/heat.conf
content: heat.conf.j2
backup-sh:
path: /opt/ccp/bin/backup.sh
content: backup.sh.j2
perm: "500"