diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/benchmarking/Dockerfile | 4 | ||||
-rw-r--r-- | docker/benchmarking/hooks/post_checkout | 6 | ||||
-rw-r--r-- | docker/benchmarking/testcases.yaml | 25 |
3 files changed, 35 insertions, 0 deletions
diff --git a/docker/benchmarking/Dockerfile b/docker/benchmarking/Dockerfile new file mode 100644 index 00000000..42ea0bda --- /dev/null +++ b/docker/benchmarking/Dockerfile @@ -0,0 +1,4 @@ +FROM opnfv/functest-kubernetes-smoke:iruya + +COPY testcases.yaml /usr/lib/python3.6/site-packages/xtesting/ci/testcases.yaml +CMD ["run_tests", "-t", "all"] diff --git a/docker/benchmarking/hooks/post_checkout b/docker/benchmarking/hooks/post_checkout new file mode 100644 index 00000000..6598f040 --- /dev/null +++ b/docker/benchmarking/hooks/post_checkout @@ -0,0 +1,6 @@ +#!/bin/bash + +from="${DOCKER_REPO%/*}/functest-kubernetes-smoke:${DOCKER_TAG}" +sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile + +exit $? diff --git a/docker/benchmarking/testcases.yaml b/docker/benchmarking/testcases.yaml new file mode 100644 index 00000000..f4800095 --- /dev/null +++ b/docker/benchmarking/testcases.yaml @@ -0,0 +1,25 @@ +--- +tiers: + - + name: benchmarking + order: 1 + description: >- + A set of benchmarking tests integrated from xRally for Kubernetes + platform. + testcases: + - + case_name: xrally_kubernetes_full + project_name: functest + criteria: 100 + blocking: false + description: >- + All in one tasks for checking basic functionality of + Kubernetes cluster. + dependencies: + - DEPLOY_SCENARIO: 'k8-*' + run: + name: xrally_kubernetes + args: + times: 10 + concurrency: 4 + namespaces_count: 3 |