From b0e9e37b70750c99e7fa58438e26266550775a45 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 7 Aug 2017 16:36:56 +0200 Subject: Add copper and domino in functest-features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6f7a35b84c9b7f8cde88998f545b30cc200c8ff1 Signed-off-by: Cédric Ollivier --- docker/Dockerfile | 4 ++-- docker/features/Dockerfile | 4 +++- docker/features/testcases.yaml | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 3 deletions(-) (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index a87ecc46f..89cf86a69 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -84,8 +84,8 @@ RUN wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/uppe rm thirdparty-requirements.txt upper-constraints.txt # OPNFV repositories -RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/copper ${REPOS_DIR}/copper -RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/domino ${REPOS_DIR}/domino +RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/copper /src/copper +RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/domino /src/domino RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/doctor ${REPOS_DIR}/doctor RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/promise ${REPOS_DIR}/promise RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/netready ${REPOS_DIR}/netready diff --git a/docker/features/Dockerfile b/docker/features/Dockerfile index 3c52b5da3..73f4d2cef 100644 --- a/docker/features/Dockerfile +++ b/docker/features/Dockerfile @@ -11,7 +11,9 @@ RUN apk --no-cache add --virtual .build-deps --update \ -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \ -rthirdparty-requirements.txt && \ - rm -r thirdparty-requirements.txt && \ + git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/domino /src/domino && \ + git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/copper /src/copper && \ + rm -r thirdparty-requirements.txt /src/domino/.git /src/copper/.git && \ apk del .build-deps COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml CMD ["bash","-c","prepare_env start && run_tests -t all"] diff --git a/docker/features/testcases.yaml b/docker/features/testcases.yaml index 6bf01a33c..48b1468df 100644 --- a/docker/features/testcases.yaml +++ b/docker/features/testcases.yaml @@ -40,6 +40,23 @@ tiers: args: cmd: '. /home/opnfv/functest/conf/stackrc && security_scan --config /usr/local/etc/securityscanning/config.ini' + - + case_name: copper + enabled: false + project_name: copper + criteria: 100 + blocking: false + description: >- + Test suite for policy management based on OpenStack Congress + dependencies: + installer: 'apex' + scenario: '^((?!fdio).)*$' + run: + module: 'functest.core.feature' + class: 'BashFeature' + args: + cmd: 'cd /src/copper/tests && bash run.sh && cd -' + - case_name: functest-odl-sfc enabled: false @@ -57,6 +74,23 @@ tiers: args: cmd: 'run_sfc_tests.py' + - + case_name: domino-multinode + enabled: false + project_name: domino + criteria: 100 + blocking: false + description: >- + Test suite from Domino project. + dependencies: + installer: '' + scenario: '' + run: + module: 'functest.core.feature' + class: 'BashFeature' + args: + cmd: 'cd /src/domino && ./tests/run_multinode.sh' + - case_name: barometercollectd enabled: false -- cgit 1.2.3-korg