Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

Integration of Automatics test environment to any Vendor CI portal is explained .

Automatics supports CI integration Continuous Integration and validation of RDK builds. To integrate Automatics in any CI system, the CI portal has to follow REST communication with Automatics.

Automatics has pre-configured filters for CI requests. If request parameters from CI portal matches with the filter, then the request is ACCEPTED. For ACCEPTED requests, Automatics will trigger test execution based on test strategy configured in the filter. The status of requests can be either ACCEPTED or REJECTED.

For ACCEPTED requests, Automatics sends execution status to CI portal. The execution status will be sent initially when the test execution starts. And after the test execution, complete test execution result will be sent to CI portal.


CI Portal - Automatics Communication Diagram

draw.io Diagram
bordertrue
diagramNameCI_Flow
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth449471
revision15

Configuring RDK Filters

CI portal should provide details like such as image name and other details along with REST request.  These parameters are configured in RDK E2E Filter.

Default filter parameters expected from CI request are shown below. These parameters except 'images' are configurable from DBDatabase. So partner Hence Partner can configure their custom parameters in CI request.

Param NameDescription
images/buildName [ image names in comma separated format ]
buildTaskBuild Task eg: CI. NG etc
packageTypeImage format
changedComponents[  changed components in comma separated format ]
buildTypeBuild Type
branchesRDK build branch name

...