Browse Source

Change default deployment tasks version to 2.0.0

Change-Id: I0f1932bb30f143e7c9147f1063a430fbc38d0b7e
Closes-Bug: #1570770
Fedor Zhadaev 3 years ago
parent
commit
b4b0513f1f
1 changed files with 24 additions and 29 deletions
  1. 24
    29
      fuel_plugin_builder/templates/v4/plugin_data/deployment_tasks.yaml.mako

+ 24
- 29
fuel_plugin_builder/templates/v4/plugin_data/deployment_tasks.yaml.mako View File

@@ -11,21 +11,18 @@
11 11
 - id: ${plugin_name}-deployment-puppet
12 12
   type: puppet
13 13
   role: [${plugin_name}_role]
14
-  requires: [deploy_start]
15
-  required_for: [deploy_end]
16 14
 
17
-## If you want to use task-based deployment that is introduced as experimental
18
-## in fuel v8.0 uncomment code section below this comment and uncomment similar
19
-## sections in tasks below.
20
-## See the example:
21
-## https://github.com/openstack/fuel-plugins/tree/master/examples/fuel_plugin_example_v4_experimental
22
-## for more details.
15
+# If you do not want to use task-based deployment that is introduced as experimental
16
+# in fuel v8.0 comment code section below this comment, uncomment two lines below it
17
+# and do the same for tasks below.
23 18
 
24
-#  version: 2.0.0              # tasks v2.0.0 is supporting task-based deployment
25
-#   cross-depends:
26
-#     - name: deploy_start
27
-#   cross-depended-by:
28
-#     - name: deploy_end
19
+  version: 2.0.0
20
+  cross-depends:
21
+    - name: deploy_start
22
+  cross-depended-by:
23
+    - name: deploy_end
24
+#  requires: [deploy_start] # version 1.0.0
25
+#  required_for: [deploy_end]
29 26
 
30 27
   parameters:
31 28
     puppet_manifest: "deploy.pp"
@@ -33,16 +30,15 @@
33 30
     timeout: 3600
34 31
 
35 32
 #- id: ${plugin_name}-post-deployment-sh
36
-#  version: 2.0.0
37 33
 #  type: shell
38 34
 #  role: [${plugin_name}_role]
39
-#  requires: [post_deployment_start]
40
-#  required_for: [post_deployment_end]
41
-##  version: 2.0.0
42
-##  cross-depends:
43
-##    - name: post_deployment_start
44
-##  cross-depended-by:
45
-##    - name: post_deployment_end
35
+#  version: 2.0.0
36
+#  cross-depends:
37
+#    - name: post_deployment_start
38
+#  cross-depended-by:
39
+#    - name: post_deployment_end
40
+# #  requires: [post_deployment_start]
41
+# #  required_for: [post_deployment_end]
46 42
 #  parameters:
47 43
 #    cmd: echo post_deployment_task_executed > /tmp/post_deployment
48 44
 #    retries: 3
@@ -50,16 +46,15 @@
50 46
 #    timeout: 180
51 47
 
52 48
 #- id: ${plugin_name}-pre-deployment-sh
53
-#  version: 2.0.0
54 49
 #  type: shell
55 50
 #  role: [${plugin_name}_role]
56
-#  requires: [pre_deployment_start]
57
-#  required_for: [pre_deployment_end]
58
-##  version: 2.0.0
59
-##  cross-depends:
60
-##    - name: pre_deployment_start
61
-##  cross-depended-by:
62
-##    - name: pre_deployment_end
51
+#  version: 2.0.0
52
+#  cross-depends:
53
+#    - name: pre_deployment_start
54
+#  cross-depended-by:
55
+#    - name: pre_deployment_end
56
+# #  requires: [pre_deployment_start]
57
+# #  required_for: [pre_deployment_end]
63 58
 #  parameters:
64 59
 #    cmd: echo pre_deployment_task_executed > /tmp/pre_deployment
65 60
 #    retries: 3

Loading…
Cancel
Save