Change default deployment tasks version to 2.0.0

Change-Id: I0f1932bb30f143e7c9147f1063a430fbc38d0b7e
Closes-Bug: #1570770
This commit is contained in:
Fedor Zhadaev 2016-04-18 08:43:34 +03:00
parent 6dc5c22149
commit b4b0513f1f
1 changed files with 24 additions and 29 deletions

View File

@ -11,21 +11,18 @@
- id: ${plugin_name}-deployment-puppet
type: puppet
role: [${plugin_name}_role]
requires: [deploy_start]
required_for: [deploy_end]
## If you want to use task-based deployment that is introduced as experimental
## in fuel v8.0 uncomment code section below this comment and uncomment similar
## sections in tasks below.
## See the example:
## https://github.com/openstack/fuel-plugins/tree/master/examples/fuel_plugin_example_v4_experimental
## for more details.
# If you do not want to use task-based deployment that is introduced as experimental
# in fuel v8.0 comment code section below this comment, uncomment two lines below it
# and do the same for tasks below.
# version: 2.0.0 # tasks v2.0.0 is supporting task-based deployment
# cross-depends:
# - name: deploy_start
# cross-depended-by:
# - name: deploy_end
version: 2.0.0
cross-depends:
- name: deploy_start
cross-depended-by:
- name: deploy_end
# requires: [deploy_start] # version 1.0.0
# required_for: [deploy_end]
parameters:
puppet_manifest: "deploy.pp"
@ -33,16 +30,15 @@
timeout: 3600
#- id: ${plugin_name}-post-deployment-sh
# version: 2.0.0
# type: shell
# role: [${plugin_name}_role]
# requires: [post_deployment_start]
# required_for: [post_deployment_end]
## version: 2.0.0
## cross-depends:
## - name: post_deployment_start
## cross-depended-by:
## - name: post_deployment_end
# version: 2.0.0
# cross-depends:
# - name: post_deployment_start
# cross-depended-by:
# - name: post_deployment_end
# # requires: [post_deployment_start]
# # required_for: [post_deployment_end]
# parameters:
# cmd: echo post_deployment_task_executed > /tmp/post_deployment
# retries: 3
@ -50,16 +46,15 @@
# timeout: 180
#- id: ${plugin_name}-pre-deployment-sh
# version: 2.0.0
# type: shell
# role: [${plugin_name}_role]
# requires: [pre_deployment_start]
# required_for: [pre_deployment_end]
## version: 2.0.0
## cross-depends:
## - name: pre_deployment_start
## cross-depended-by:
## - name: pre_deployment_end
# version: 2.0.0
# cross-depends:
# - name: pre_deployment_start
# cross-depended-by:
# - name: pre_deployment_end
# # requires: [pre_deployment_start]
# # required_for: [pre_deployment_end]
# parameters:
# cmd: echo pre_deployment_task_executed > /tmp/pre_deployment
# retries: 3