Legacy tasks are turned back for exmaple v3.0.0

In previous patch tasks.yaml contained legacy tasks was cleaned up
but it turned up that some QA tests was relying on this tasks output
so this tasks was moved to the deployment_tasks.yaml to provide this
output.

Double unfortuantely FPB validation does not support tasks <v1.0.0
validation for the deployment_tasks.yaml without major changes in
validation logic.

So the tasks was converted to the tasks v1.0.0 by adding tasks id.

Change-Id: I1f820030a0575155b06db3c493accadc252c241a
Closes-Bug: #1625244
This commit is contained in:
Ilya Kutukov 2016-09-26 21:09:40 +03:00
parent 6dbc520503
commit 40bca6b4f0
1 changed files with 50 additions and 0 deletions

View File

@ -41,3 +41,53 @@
retries: 3
interval: 20
timeout: 180
# This legacy tasks will be applied on controller nodes
- id: fuel_plugin_example_v3-legacy-1
role: ['primary-controller', 'controller']
stage: post_deployment
type: shell
parameters:
cmd: bash deploy.sh
timeout: 42
- id: fuel_plugin_example_v3-legacy-2
role: '*'
stage: pre_deployment/100
type: shell
parameters:
cmd: echo all > /tmp/plugin+100.all
timeout: 42
- id: fuel_plugin_example_v3-legacy-3
role: '*'
stage: pre_deployment/+101.0
type: shell
parameters:
cmd: echo all > /tmp/plugin+100.0.all
timeout: 42
- id: fuel_plugin_example_v3-legacy-4
role: '*'
stage: pre_deployment/-100
type: shell
parameters:
cmd: echo all > /tmp/plugin-100.all
timeout: 42
- id: fuel_plugin_example_v3-legacy-5
role: [compute]
stage: pre_deployment/-101
type: puppet
parameters:
puppet_manifest: "deploy.pp"
puppet_modules: "."
timeout: 3600
retries: 2
- id: fuel_plugin_example_v3-legacy-6
role: '*'
stage: pre_deployment
type: reboot
parameters:
timeout: 600