From: Cédric Ollivier Date: Mon, 10 Dec 2018 20:38:43 +0000 (+0100) Subject: Deploy CI/CD toolchains for any Xtesting-based project X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F65887%2F1;p=functest-xtesting.git 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 (cherry picked from commit da22164eda930726eef5e827885e9f1798c4d7e7) --- 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}