diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-04-07 11:03:34 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-04-07 14:06:40 +0200 |
commit | 13ac225eb6afbd4e81109ead35d0594c53ce888b (patch) | |
tree | 0f3e942530591da020cff79dbcb669f9afcae2ea /docker/smoke | |
parent | 43bd4baa186d7458791a6bd9d47ea9051d6bccad (diff) |
Split opnfv/functest-kubernetes
4 containers are now proposed
- opnfv/functest-kubernetes-core
- opnfv/functest-kubernetes-healthcheck
- opnfv/functest-kubernetes-smoke
- opnfv/functest-kubernetes-features
Change-Id: I7d6f1edc7e9ace185b2cf991592ebc841f5520b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke')
-rw-r--r-- | docker/smoke/Dockerfile | 4 | ||||
-rw-r--r-- | docker/smoke/hooks/post_checkout | 6 | ||||
-rw-r--r-- | docker/smoke/testcases.yaml | 24 |
3 files changed, 34 insertions, 0 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile new file mode 100644 index 00000000..137cc16b --- /dev/null +++ b/docker/smoke/Dockerfile @@ -0,0 +1,4 @@ +FROM opnfv/functest-kubernetes-healthcheck + +COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml +CMD ["run_tests", "-t", "all"] diff --git a/docker/smoke/hooks/post_checkout b/docker/smoke/hooks/post_checkout new file mode 100644 index 00000000..6cb1eedd --- /dev/null +++ b/docker/smoke/hooks/post_checkout @@ -0,0 +1,6 @@ +#!/bin/bash + +from="${DOCKER_REPO%/*}/functest-kubernetes-healthcheck:${DOCKER_TAG}" +sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile + +exit $? diff --git a/docker/smoke/testcases.yaml b/docker/smoke/testcases.yaml new file mode 100644 index 00000000..04a9104b --- /dev/null +++ b/docker/smoke/testcases.yaml @@ -0,0 +1,24 @@ +--- +tiers: + - + name: smoke + order: 2 + ci_loop: '(merge)|(verify)|(daily)|(weekly)' + description: >- + A set of conformance tests integrated from kubernetes project. + testcases: + - + case_name: k8s_conformance + project_name: functest + criteria: 100 + blocking: false + description: >- + Conformance Tests are expect to pass on any Kubernetes + cluster, this tests are necessary demonstrate conformance + of the Kubernetes deployment. + dependencies: + installer: '(compass)|(joid)|(kubespray)' + scenario: 'k8-*' + run: + module: 'functest_kubernetes.k8stest' + class: 'K8sConformanceTest' |