aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-01-05 16:43:25 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-01-05 16:43:56 +0100
commit98e7db309060a74d1d80103905e91fbe340375fd (patch)
tree6048b9a2b7a5faa0e3d25049b1d907e8b1685a23
parent568b72f402f97c8c40336da84827ce1568c45fc1 (diff)
Add Functest k8s gate jobs
Change-Id: Icfe4445c1405749698d2db42fa6001ad3d261e29 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.yml34
2 files changed, 31 insertions, 8 deletions
diff --git a/ansible/host_vars/127.0.0.1 b/ansible/host_vars/127.0.0.1
new file mode 100644
index 00000000..ef49d7dd
--- /dev/null
+++ b/ansible/host_vars/127.0.0.1
@@ -0,0 +1,5 @@
+docker_args:
+ env:
+ DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
+ volumes:
+ - /home/opnfv/functest-kubernetes/config:/root/.kube/config
diff --git a/ansible/site.yml b/ansible/site.yml
index 9b656216..b00b5cd3 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -3,25 +3,43 @@
roles:
- role: collivier.xtesting
project: functest-kubernetes
- docker_args:
- env:
- DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
- volumes:
- - /home/opnfv/functest-kubernetes/config:/root/.kube/config
+ gerrit_project: functest-kubernetes
+ builds:
+ dependencies:
+ - repo: _
+ port:
+ container: golang
+ tag: alpine3.8
+ steps:
+ - name: build opnfv/functest-kubernetes-core
+ containers:
+ - name: functest-kubernetes-core
+ ref_arg: BRANCH
+ path: docker/core
+ - name: build opnfv/functest-kubernetes-healthcheck
+ containers:
+ - name: functest-functest-kubernetes-healthcheck
+ ref_arg: BRANCH
+ path: docker/healthcheck
+ - name: build containers
+ containers:
+ - name: functest-functest-kubernetes-smoke
+ ref_arg: BRANCH
+ path: docker/smoke
+ - name: functest-functest-kubernetes-features
+ ref_arg: BRANCH
+ path: docker/features
suites:
- repo: opnfv
container: functest-kubernetes-healthcheck
- tag: latest
tests:
- k8s_smoke
- repo: opnfv
container: functest-kubernetes-smoke
- tag: latest
tests:
- k8s_conformance
- repo: opnfv
container: functest-kubernetes-features
- tag: latest
tests:
- stor4nfv_k8s
- clover_k8s