Introduction

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

Automatics supports 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

Configuring RDK Filters

CI portal should provide details 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 Database. 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

Details on configuring RDK filters and RDK E2E Requests are available at Automatics Orchestration User Manual#RDKE2EManager

  • No labels