summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-01-05 12:57:55 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-01-05 13:24:26 +0100
commit56c9698ed84054ae5d4fc6986aeb742f91466e56 (patch)
tree0ccbe7eee846dabca3302b01bb8f5600315eaebb /ansible
parent705d8d0da3f218e85da66e9c8043e18a2b0a7711 (diff)
Conform with new tag configs
It allows generating gate jobs. Change-Id: I741da199bca7617e73eb1e4638fcb4139b872141 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit eaaec1d3083ba4d579a77345de219409048ee9d7)
Diffstat (limited to 'ansible')
-rw-r--r--ansible/host_vars/127.0.0.15
-rw-r--r--ansible/site.yml75
2 files changed, 54 insertions, 26 deletions
diff --git a/ansible/host_vars/127.0.0.1 b/ansible/host_vars/127.0.0.1
new file mode 100644
index 000000000..169b56b07
--- /dev/null
+++ b/ansible/host_vars/127.0.0.1
@@ -0,0 +1,5 @@
+docker_args:
+ env: {}
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
diff --git a/ansible/site.yml b/ansible/site.yml
index 00b580199..3e163cecc 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -1,19 +1,52 @@
---
-- hosts: 127.0.0.1
+- hosts:
+ - 127.0.0.1
roles:
- role: collivier.xtesting
project: functest
- docker_args:
- env:
- DEPLOY_SCENARIO: os-nosdn-nofeature-noha
- NAMESERVER: 8.8.8.8
- volumes:
- - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
- - /home/opnfv/functest/images:/home/opnfv/functest/images
+ gerrit_project: functest
+ docker_tags:
+ - gambia:
+ branch: stable/gambia
+ builds:
+ dependencies:
+ - repo: _
+ port:
+ container: alpine
+ tag: 3.8
+ steps:
+ - name: build opnfv/functest-core
+ containers:
+ - name: functest-core
+ ref_arg: BRANCH
+ path: docker/core
+ - name: build opnfv/functest-tempest
+ containers:
+ - name: functest-tempest
+ ref_arg: BRANCH
+ path: docker/tempest
+ - name: build containers
+ containers:
+ - name: functest-healthcheck
+ ref_arg: BRANCH
+ path: docker/healthcheck
+ - name: functest-smoke
+ ref_arg: BRANCH
+ path: docker/smoke
+ - name: functest-benchmarking
+ ref_arg: BRANCH
+ path: docker/benchmarking
+ - name: functest-components
+ ref_arg:
+ path: docker/components
+ - name: functest-vnf
+ ref_arg:
+ path: docker/vnf
+ - name: functest-features
+ ref_arg: BRANCH
+ path: docker/features
suites:
- - repo: opnfv
- container: functest-healthcheck
- tag: gambia
+ - container: functest-healthcheck
tests:
- connection_check
- tenantnetwork1
@@ -28,9 +61,7 @@
- odl
- api_check
- snaps_health_check
- - repo: opnfv
- container: functest-smoke
- tag: gambia
+ - container: functest-smoke
tests:
- tempest_smoke
- neutron-tempest-plugin-api
@@ -43,31 +74,23 @@
- networking-bgpvpn
- networking-sfc
- barbican
- - repo: opnfv
- container: functest-benchmarking
- tag: gambia
+ - container: functest-benchmarking
tests:
- vmtp
- shaker
- - repo: opnfv
- container: functest-components
- tag: gambia
+ - container: functest-components
tests:
- tempest_full
- tempest_scenario
- rally_full
- - repo: opnfv
- container: functest-vnf
- tag: gambia
+ - container: functest-vnf
tests:
- cloudify
- cloudify_ims
- heat_ims
- vyos_vrouter
- juju_epc
- - repo: opnfv
- container: functest-features
- tag: gambia
+ - container: functest-features
tests:
- doctor-notification
- bgpvpn