summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-03-14 11:58:05 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-03-14 12:00:13 -0700
commitf151fcc79891b125177abdf838a14575fca3a79a (patch)
treefa10b9984778bf509bd20dff18ed21cee6e8366c
parent641574548129b9eca6b8cc3a1045abc15a6296ac (diff)
utils: fix yamllint issues
Linting utils/test yaml files Change-Id: Id239cb2e2b2c4658dedfc187b7784b0302701700 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-rw-r--r--dashboard/dashboard/functest/testcases.yaml1
-rw-r--r--dashboard/dashboard/qtip/testcases.yaml3
-rw-r--r--reporting/reporting.yaml19
-rw-r--r--testapi/update/test.yml2
-rw-r--r--testapi/update/update.yml4
5 files changed, 16 insertions, 13 deletions
diff --git a/dashboard/dashboard/functest/testcases.yaml b/dashboard/dashboard/functest/testcases.yaml
index 9c33d2e..85cb8b2 100644
--- a/dashboard/dashboard/functest/testcases.yaml
+++ b/dashboard/dashboard/functest/testcases.yaml
@@ -1,3 +1,4 @@
+---
functest:
-
name: tempest_smoke_serial
diff --git a/dashboard/dashboard/qtip/testcases.yaml b/dashboard/dashboard/qtip/testcases.yaml
index cd337cd..dfa9cc2 100644
--- a/dashboard/dashboard/qtip/testcases.yaml
+++ b/dashboard/dashboard/qtip/testcases.yaml
@@ -1,3 +1,4 @@
+---
qtip:
-
name: compute_test_suite
@@ -18,7 +19,7 @@ qtip:
fields:
- field: details.index
-
- name:storage_test_suite
+ name: storage_test_suite
format: qpi
test_family: storage
visualizations:
diff --git a/reporting/reporting.yaml b/reporting/reporting.yaml
index 81e976a..d02f08d 100644
--- a/reporting/reporting.yaml
+++ b/reporting/reporting.yaml
@@ -1,3 +1,4 @@
+---
general:
installers:
- apex
@@ -19,12 +20,12 @@ general:
directories:
# Relative to the path where the repo is cloned:
- dir_reporting: utils/tests/reporting/
- dir_log: utils/tests/reporting/log/
- dir_conf: utils/tests/reporting/conf/
- dir_utils: utils/tests/reporting/utils/
- dir_templates: utils/tests/reporting/templates/
- dir_display: utils/tests/reporting/display/
+ dir_reporting: utils/tests/reporting/
+ dir_log: utils/tests/reporting/log/
+ dir_conf: utils/tests/reporting/conf/
+ dir_utils: utils/tests/reporting/utils/
+ dir_templates: utils/tests/reporting/templates/
+ dir_display: utils/tests/reporting/display/
url: testresults.opnfv.org/reporting/
@@ -48,8 +49,8 @@ functest:
test_conf: https://git.opnfv.org/cgit/functest/plain/functest/ci/testcases.yaml
log_level: ERROR
jenkins_url: https://build.opnfv.org/ci/view/functest/job/
- exclude_noha: False
- exclude_virtual: False
+ exclude_noha: "False"
+ exclude_virtual: "False"
yardstick:
test_conf: https://git.opnfv.org/cgit/yardstick/plain/tests/ci/report_config.yaml
@@ -57,7 +58,7 @@ yardstick:
storperf:
test_list:
- - snia_steady_state
+ - snia_steady_state
log_level: ERROR
qtip:
diff --git a/testapi/update/test.yml b/testapi/update/test.yml
index a886872..943105c 100644
--- a/testapi/update/test.yml
+++ b/testapi/update/test.yml
@@ -1,7 +1,7 @@
---
- hosts: "{{ host }}"
remote_user: "{{ user }}"
- become: yes
+ become: "yes"
become_method: sudo
vars:
user: "root"
diff --git a/testapi/update/update.yml b/testapi/update/update.yml
index e6663d9..18b75b6 100644
--- a/testapi/update/update.yml
+++ b/testapi/update/update.yml
@@ -1,7 +1,7 @@
---
- hosts: "{{ host }}"
remote_user: "{{ user }}"
- become: yes
+ become: "yes"
become_method: sudo
vars:
user: "root"
@@ -47,4 +47,4 @@
- name: remove temporary update directory
file:
path: "{{ update_path }}"
- state: absent \ No newline at end of file
+ state: absent