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:32:20 +0100
commitddd05d625c1a5c4e3d040c2b53d83f2cbcfac9f6 (patch)
tree0b05a962e1cabdd24e77c122f40efce8f91eb890
parent39cfd968af2fd20bc19f8fc09f2f81ad6ec5a295 (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..24b2ac93
--- /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: gambia
+ 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}