aboutsummaryrefslogtreecommitdiffstats
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 12:57:55 +0100
commiteaaec1d3083ba4d579a77345de219409048ee9d7 (patch)
tree8da30afe7baf5683ce0c528bea5bde1c9ab9e06f
parentdb68c5fd4db0604b83ec20ca501bde369a8d7bed (diff)
Conform with new tag configs
It allows generating gate jobs. Change-Id: I741da199bca7617e73eb1e4638fcb4139b872141 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--ansible/host_vars/127.0.0.15
-rw-r--r--ansible/site.yml72
2 files changed, 51 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 a24eb8ddd..ad15233b0 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -1,19 +1,49 @@
---
-- 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
+ 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: latest
+ - container: functest-healthcheck
tests:
- connection_check
- tenantnetwork1
@@ -28,9 +58,7 @@
- odl
- api_check
- snaps_health_check
- - repo: opnfv
- container: functest-smoke
- tag: latest
+ - container: functest-smoke
tests:
- tempest_smoke
- neutron-tempest-plugin-api
@@ -43,31 +71,23 @@
- networking-bgpvpn
- networking-sfc
- barbican
- - repo: opnfv
- container: functest-benchmarking
- tag: latest
+ - container: functest-benchmarking
tests:
- vmtp
- shaker
- - repo: opnfv
- container: functest-components
- tag: latest
+ - container: functest-components
tests:
- tempest_full
- tempest_scenario
- rally_full
- - repo: opnfv
- container: functest-vnf
- tag: latest
+ - container: functest-vnf
tests:
- cloudify
- cloudify_ims
- heat_ims
- vyos_vrouter
- juju_epc
- - repo: opnfv
- container: functest-features
- tag: latest
+ - container: functest-features
tests:
- doctor-notification
- bgpvpn