aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-12-10 21:38:43 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-12-16 07:18:51 +0100
commit4ef76478c0dea81c006bf92350e644919d063668 (patch)
treea59c9c3ed181e297865ae30077852f0c31cce316
parent77cd8a64ee0b7948d61c5274016c609b2b87a19a (diff)
Deploy CI/CD toolchains for any Xtesting-based project
It allows deploying the CI/CD toolchain via ansible for all projects based on Xtesting (e.g. OPNFV Functest, ONAP robot tests, etc.). It deploys Jenkins, Minio and S3www and loads all jobs in Jenkins. Last components (MongoDB, TestAPI and dashboard) will be deployed in the next update of the ansible role. To deploy the testing toolchain: $ ansible-galaxy install collivier.xtesting $ ansible-playbook ansible/site.yml Change-Id: I5a8ddb45fc354c9a22c52f0d42ce2e0181f345b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit da22164eda930726eef5e827885e9f1798c4d7e7)
-rw-r--r--ansible/site.yml14
-rw-r--r--tox.ini1
2 files changed, 15 insertions, 0 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
new file mode 100644
index 00000000..3073b469
--- /dev/null
+++ b/ansible/site.yml
@@ -0,0 +1,14 @@
+---
+- hosts: 127.0.0.1
+ roles:
+ - role: collivier.xtesting
+ suites:
+ - repo: opnfv
+ container: xtesting
+ tag: hunter
+ tests:
+ - first
+ - second
+ - third
+ - fourth
+ - fifth
diff --git a/tox.ini b/tox.ini
index ce3e958c..e76005b9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,6 +38,7 @@ commands =
basepython = python2.7
files =
.travis.yml
+ ansible
xtesting/ci
commands =
yamllint -s {[testenv:yamllint]files}