From ddd05d625c1a5c4e3d040c2b53d83f2cbcfac9f6 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 10 Dec 2018 21:38:43 +0100 Subject: Deploy CI/CD toolchains for any Xtesting-based project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- ansible/site.yml | 14 ++++++++++++++ tox.ini | 1 + 2 files changed, 15 insertions(+) create mode 100644 ansible/site.yml 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} -- cgit 1.2.3-korg