aboutsummaryrefslogtreecommitdiffstats
path: root/candidate-usecases/docker
diff options
context:
space:
mode:
Diffstat (limited to 'candidate-usecases/docker')
-rw-r--r--candidate-usecases/docker/Dockerfile16
-rw-r--r--candidate-usecases/docker/testcases.yaml19
2 files changed, 35 insertions, 0 deletions
diff --git a/candidate-usecases/docker/Dockerfile b/candidate-usecases/docker/Dockerfile
new file mode 100644
index 0000000..ec7acf0
--- /dev/null
+++ b/candidate-usecases/docker/Dockerfile
@@ -0,0 +1,16 @@
+FROM opnfv/xtesting
+
+MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
+
+ARG ONAP_TESTS_TAG=master
+
+RUN apk add --no-cache python3 git bash && \
+ apk add --no-cache --virtual .build-deps libffi-dev python3-dev \
+ gcc openssl-dev linux-headers musl-dev && \
+ pip3 install --upgrade pip && \
+ pip3 install --no-cache-dir \
+ git+https://gitlab.com/Orange-OpenSource/onap-tests.git@$ONAP_TESTS_TAG#egg=onap_tests && \
+ apk del .build-deps
+
+COPY docker/testcases.yaml /usr/lib/python3.7/site-packages/xtesting/ci/testcases.yaml
+CMD ["run_tests", "-t", "all"]
diff --git a/candidate-usecases/docker/testcases.yaml b/candidate-usecases/docker/testcases.yaml
new file mode 100644
index 0000000..ee1dcfd
--- /dev/null
+++ b/candidate-usecases/docker/testcases.yaml
@@ -0,0 +1,19 @@
+---
+tiers:
+ -
+ name: candidate-usecases
+ order: 1
+ description: >-
+ ONAP E2E tests
+ testcases:
+ -
+ case_name: 5g_son
+ project_name: integration
+ enabled: true
+ criteria: 100
+ blocking: false
+ description: >-
+ Test 5G SON use case
+ dependencies:
+ run:
+ name: 5g_son