host=gerrit.onap.org
port=29418
project=integration/xtesting
- defaultbranch=master
-
\ No newline at end of file
+ defaultbranch=guilin
+
+++ /dev/null
-# Security
-
-## Goal
-
-## Usage
-
-### Configuration
-
-### Command
-
-### Output
+++ /dev/null
-FROM opnfv/xtesting
-ARG OPENSTACK_TAG=master
-ARG OPNFV_TAG=master
-ARG ONAP_TAG=master
-ARG PIP_TAG=19.3.1
-
-ENV PYTHONPATH $PYTHONPATH:/src/testing-utils/robotframework-onap/eteutils
-ENV TAG all
-
-COPY requirements.txt requirements.txt
-RUN apk --no-cache add --virtual .build-deps --update \
- python3-dev build-base linux-headers libffi-dev \
- openssl-dev libjpeg-turbo-dev && \
- git clone --depth 1 https://git.onap.org/testsuite -b $ONAP_TAG /var/opt/ONAP && \
- git clone --depth 1 https://git.onap.org/testsuite/python-testing-utils -b $ONAP_TAG /src/testing-utils && \
- git clone --depth 1 https://git.onap.org/demo -b $ONAP_TAG /src/demo && \
- pip3 install \
- -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
- pip==$PIP_TAG && \
- pip3 install \
- -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
- -rrequirements.txt \
- -e /src/testing-utils/robotframework-onap && \
- mkdir -p /var/opt/ONAP/demo/heat && cp -Rf /src/demo/heat/vFW /var/opt/ONAP/demo/heat/ && \
- mkdir -p /demo/service_mapping && cp -Rf /src/demo/service_mapping /demo/ && \
- mkdir -p /var/opt/ONAP/demo/preload_data && cp -Rf /src/demo/preload_data /var/opt/ONAP/demo/ && \
- rm -r requirements.txt /src/testing-utils/.git /var/opt/ONAP/.git /src/demo && \
- cd / && ln -s /var/opt/ONAP/robot/ /robot && \
- apk del .build-deps
-
-COPY docker/testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml
-COPY scripts/cmd.sh /
-CMD ["/cmd.sh"]
+++ /dev/null
----
-tiers:
- -
- name: benchmarking
- order: 1
- ci_loop: 'weekly'
- description: >-
- Set of basic Functional benchmarking tests.
- testcases:
- -
- case_name: stability72hr
- project_name: integration
- criteria: 100
- blocking: false
- description: >-
- run stability 72h test.
- run:
- name: 'robotframework'
- args:
- suites:
- - /var/opt/ONAP/robot/testsuites/vnf-orchestration.robot
- include:
- - stability72hr
- variablefile:
- - '/share/config/robot_properties.py'
- - '/share/config/integration_preload_parameters.py'
+++ /dev/null
-selenium
-requests>=2.20.0
-robotframework-selenium2library
-robotframework-databaselibrary
-robotframework-extendedselenium2library
-robotframework-requests
-robotframework-sshlibrary
-robotframework-ftplibrary
-deepdiff
-dnspython
-robotframework-httplibrary
-robotframework-archivelibrary
-pyyaml>=4.2b1
-json5
+++ /dev/null
-#!/bin/sh
-
-run_tests -t ${TAG} -r || true
+++ /dev/null
-# Smoke use cases
-
-## Goal
-
-The goal of this docker is to run End to End use cases on ONAP in order to
-check the solution. The testcases defined in this docker MUST be PASS to
-validate the release.
-The test cases can be run using Robot framework or onap-test (ONAP python SDK).
-Bash, python and unit test drivers also exist. Additionnal drivers can be added
-but the Dockerfile must be adapted accordingly.
-
-The tests are:
-
-* basic_vm: it onboard/distribute/deploy a single Ubuntu VM in ONAP using
- VNF-API. The components used are SDC, SO, AA&I, SDNC.
-* freeradius_nbi: based on basic_vm, the instantiation part is done through the
- ONAP external API (NBI) module.
-* clearwater_ims: it consists in a full deployment of an clearwater vIMS in ONAP.
-
-## Usage
-
-### Configuration
-
-### Command
-
-### Output
+++ /dev/null
-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.8/site-packages/xtesting/ci/testcases.yaml
-CMD ["run_tests", "-t", "all"]
+++ /dev/null
----
-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
ARG OPENSTACK_TAG=master
ARG OPNFV_TAG=master
-ARG ONAP_TAG=master
+ARG ONAP_TAG=guilin
ARG PIP_TAG=19.3.1
ENV PYTHONPATH $PYTHONPATH:/src/testing-utils/robotframework-onap/eteutils
ARG KUBERNETES_VERSION="v1.15.11"
ARG HELM_VERSION="v2.16.6"
-ARG ONAP_TESTS_TAG=master
-ARG ONAP_TAG=master
+ARG ONAP_TESTS_TAG=guilin
+ARG ONAP_TAG=guilin
# Install kubectl
# Note: Latest version may be found on:
ARG KUBERNETES_VERSION="v1.15.2"
ARG HELM_VERSION="v2.14.1"
-ARG ONAP_TAG=master
-ARG ONAP_TESTS_TAG=master
+ARG ONAP_TAG=guilin
+ARG ONAP_TESTS_TAG=guilin
# Install kubectl
# Note: Latest version may be found on:
MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
-ARG ONAP_TESTS_TAG=master
+ARG ONAP_TESTS_TAG=guilin
RUN apk add --no-cache python3 git && \
apk add --no-cache --virtual .build-deps libffi-dev python3-dev \
ARG OPENSTACK_TAG=master
ARG OPNFV_TAG=master
-ARG ONAP_TAG=master
+ARG ONAP_TAG=guilin
ARG PIP_TAG=20.1
ARG KUBERNETES_VERSION="v1.15.11"