Skip to content

devops_wrkflow

Felipe Vicens edited this page Jun 5, 2019 · 6 revisions

DevOps based test workflow

This page describes the way of working followed by 5GTANGO to perform the functional and non-functional tests over the SP and the VnV.

The steps of the DevOps workflow are:

  1. Clone the repository: git clone https://github.com/sonata-nfv/tng-tests.git
  2. Create a folder in for your test in the route /test/SP/test_name or /test/VNV/test_name
  3. Create a README.md with the test description example
  4. Create a file .robot with the definition of the test example
  5. Create a freestyle job in jenkins with the following conditions:
    1. Clone the sonata-nfv/tng-test repository
    2. Execute your test
    3. The results are stored as artifacts to be collected by an analyzer job
    4. The job name is test-<test-name>-<test-id>. See the cases here
    5. Check the deployment matrix to select the right place to run your test
    6. The tests will be called from a test control centre job that will parallelize the execution over the environments. So the environment selection should be an environment Variable for the execution. SP_PATH env will be injected.
Clone this wiki locally