[ci] Update rally-designate.yml and rally-ironic.yml to use task v2 format

Change-Id: I534f9fe82f7ff9e7b09dc6e2cff4d7932ba07f54
This commit is contained in:
Boris Pavlovic 2017-09-09 01:31:07 -07:00
parent e46b785c93
commit 33811681d8
2 changed files with 135 additions and 143 deletions

View File

@ -1,206 +1,182 @@
---
DesignateBasic.create_and_delete_domain:
version: 2
title: Task for gate-rally-dsvm-designate-rally-pdns4-ubuntu-xenial-nv job
description: >
This task contains various scenarios for testing designate plugins
subtasks:
-
title: DesignateBasic.create_and_delete_domain tests
scenario:
DesignateBasic.create_and_delete_domain: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_update_domain:
-
title: DesignateBasic.create_and_update_domain tests
scenario:
DesignateBasic.create_and_update_domain: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_delete_records:
-
args:
records_per_domain: 5
title: DesignateBasic.create_and_delete_records tests
scenario:
DesignateBasic.create_and_delete_records:
records_per_domain: 5
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_list_domains:
-
title: DesignateBasic.create_and_list_domains tests
scenario:
DesignateBasic.create_and_list_domains: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_list_records:
-
args:
records_per_domain: 5
title: DesignateBasic.create_and_list_records tests
scenario:
DesignateBasic.create_and_list_records:
records_per_domain: 5
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.list_domains:
-
title: DesignateBasic.list_domains tests
scenario:
DesignateBasic.list_domains: {}
runner:
type: "constant"
times: 3
concurrency: 2
context:
constant:
times: 3
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_list_servers:
-
title: DesignateBasic.create_and_list_servers tests
scenario:
DesignateBasic.create_and_list_servers: {}
runner:
type: "constant"
times: 4
concurrency: 1
context:
constant:
times: 4
concurrency: 1
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_delete_server:
-
title: DesignateBasic.create_and_delete_server tests
scenario:
DesignateBasic.create_and_delete_server: {}
runner:
type: "constant"
times: 4
concurrency: 1
context:
constant:
times: 4
concurrency: 1
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.list_servers:
-
title: DesignateBasic.list_servers tests
scenario:
DesignateBasic.list_servers: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_list_zones:
-
title: DesignateBasic.create_and_list_zones tests
scenario:
DesignateBasic.create_and_list_zones: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_delete_zone:
-
title: DesignateBasic.create_and_delete_zone tests
scenario:
DesignateBasic.create_and_delete_zone: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
DesignateBasic.create_and_list_recordsets:
-
title: DesignateBasic.create_and_list_recordsets tests
scenario:
DesignateBasic.create_and_list_recordsets: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
zones:
zones_per_tenant: 1
sla:
failure_rate:
max: 0
DesignateBasic.create_and_delete_recordsets:
-
title: DesignateBasic.create_and_delete_recordsets tests
scenario:
DesignateBasic.create_and_delete_recordsets: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
zones:
zones_per_tenant: 1
sla:
failure_rate:
max: 0
DesignateBasic.list_zones:
-
title: DesignateBasic.list_zones tests
scenario:
DesignateBasic.list_zones: {}
runner:
type: "constant"
times: 4
concurrency: 2
context:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 2
users_per_tenant: 2
zones:
zones_per_tenant: 10
sla:
failure_rate:
max: 0

View File

@ -1,20 +1,36 @@
---
{% for s in ("create_and_list_node", "create_and_delete_node") %}
IronicNodes.{{s}}:
version: 2
title: Task for gate-rally-dsvm-ironic-rally-nv job
description: >
This task contains various scenarios for testing ironic plugins
subtasks:
-
args:
driver: "fake"
properties:
capabilities: "boot_option:local"
title: IronicNodes.create_and_list_node tests
scenario:
IronicNodes.create_and_list_node:
driver: "fake"
properties:
capabilities: "boot_option:local"
runner:
type: "constant"
times: 100
concurrency: 20
context:
constant:
times: 100
concurrency: 20
contexts:
users:
tenants: 5
users_per_tenant: 1
-
title: IronicNodes.create_and_delete_node tests
scenario:
IronicNodes.create_and_delete_node:
driver: "fake"
properties:
capabilities: "boot_option:local"
runner:
constant:
times: 100
concurrency: 20
contexts:
users:
tenants: 5
users_per_tenant: 1
sla:
failure_rate:
max: 0
{% endfor %}