From 5149d87c348555184e2ecc48e57697531c5ff38b Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 31 Aug 2019 11:20:46 +0200 Subject: Remove Features containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most the features are stopped and Functest shouldn't host dead code. Functest is a framework (Docker and Python modules) which can be still reused by any third-party (OPNFV Feature or anything else) in its tree and CI Change-Id: Ie2f5beddd21b09aabfbdf2bb2f3366e652d43b3a Signed-off-by: Cédric Ollivier --- docker/features/Dockerfile | 19 ------------- docker/features/hooks/post_checkout | 6 ----- docker/features/testcases.yaml | 41 ----------------------------- docker/features/thirdparty-requirements.txt | 2 -- 4 files changed, 68 deletions(-) delete mode 100644 docker/features/Dockerfile delete mode 100644 docker/features/hooks/post_checkout delete mode 100644 docker/features/testcases.yaml delete mode 100644 docker/features/thirdparty-requirements.txt (limited to 'docker') diff --git a/docker/features/Dockerfile b/docker/features/Dockerfile deleted file mode 100644 index 1e91fe7f..00000000 --- a/docker/features/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM opnfv/functest-kubernetes-core - -ARG OPENSTACK_TAG=master -ARG OPNFV_TAG=master - -COPY thirdparty-requirements.txt thirdparty-requirements.txt -RUN apk --no-cache add --update make bash git go \ - grep rsync linux-headers musl-dev findutils \ - libffi openssl libjpeg-turbo && \ - apk --no-cache add --virtual .build-deps --update \ - python3-dev libffi-dev openssl-dev libjpeg-turbo-dev && \ - pip3 install \ - -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \ - -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \ - -rthirdparty-requirements.txt && \ - rm -f thirdparty-requirements.txt && \ - apk del .build-deps -COPY testcases.yaml /usr/lib/python3.7/site-packages/xtesting/ci/testcases.yaml -CMD ["run_tests", "-t", "all"] diff --git a/docker/features/hooks/post_checkout b/docker/features/hooks/post_checkout deleted file mode 100644 index 20f69500..00000000 --- a/docker/features/hooks/post_checkout +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -from="${DOCKER_REPO%/*}/functest-kubernetes-core:${DOCKER_TAG}" -sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile - -exit $? diff --git a/docker/features/testcases.yaml b/docker/features/testcases.yaml deleted file mode 100644 index 2b66dbb3..00000000 --- a/docker/features/testcases.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -tiers: - - - name: stor4nfv - order: 2 - description: >- - Test suite from Stor4NFV project. - testcases: - - - case_name: stor4nfv_k8s - project_name: stor4nfv - enabled: false - criteria: 100 - blocking: false - description: >- - This tests are necessary to demonstrate conformance - of the K8s+Stor4NFV deployment. - dependencies: - - DEPLOY_SCENARIO: 'stor4nfv' - run: - name: stor4nfv_k8s - - - - name: clover - order: 3 - description: >- - Test suite from Clover project. - testcases: - - - case_name: clover_k8s - project_name: clover - enabled: false - criteria: 100 - blocking: false - description: >- - This tests are necessary to demonstrate features - of K8s+Istio+Clover deployment. - dependencies: - - DEPLOY_SCENARIO: 'clover' - run: - name: clover_k8s diff --git a/docker/features/thirdparty-requirements.txt b/docker/features/thirdparty-requirements.txt deleted file mode 100644 index d557b533..00000000 --- a/docker/features/thirdparty-requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -# stor4nfv-tests -# clover -- cgit 1.2.3-korg