Conform with new tag configs 15/66215/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 5 Jan 2019 11:57:55 +0000 (12:57 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 5 Jan 2019 11:57:55 +0000 (12:57 +0100)
It allows generating gate jobs.

Change-Id: I741da199bca7617e73eb1e4638fcb4139b872141
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ansible/host_vars/127.0.0.1 [new file with mode: 0644]
ansible/site.yml

diff --git a/ansible/host_vars/127.0.0.1 b/ansible/host_vars/127.0.0.1
new file mode 100644 (file)
index 0000000..169b56b
--- /dev/null
@@ -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
index a24eb8d..ad15233 100644 (file)
@@ -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
             - 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