Versions Compared

Key

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

...

 Partner have to do following configurations in Automatics to execute tests.

  • Automatics Orchestration Configuration

...

  • Deploy dependent artifacts
  • Test Jenkins Job Configuration

Automatics Orchestration Configuration


Buil

Deploy Automatics Framework artifacts

Following artifact needs to be deployed using maven to the Partner Artifcatory repository, in the below order.

  1. Automatics Core
  2. Partner Provider API Repo

Deploy Automatics Test artifacts

After deploying Automatics Framework artifacts, following Test artifact needs to be deployed using maven to the Partner Artifcatory repository, in the below order.

  1. RDK-B Test Utils
    • Repo :  rdk/tools/automatics/rdkb-test-utils
    • pom modification required :

    Build and Deploy RDKB Utils

  2. Check out RDKB Utils project.
  3. In pom.xml,
    • replace maven dependency 'automatics-core' with dependency of partner java implementation.  Here, 'automatics-core' is inherited via transitive dependency from provider implementation. To replace the maven dependency 'automatics-core' on the fly, script 'pre-build.sh' is available with the source of automatics-core project at location 'automatics-core/src/main/resources/pre-build.sh'
    • Execute 'mvn clean deploy' after updating with partner java implementation dependency in pom.xml. This will deploy rdkb-utils in self-hosted maven artifact repository. This activity can be automated via jenkins job with pre-build.sh to execute first and then mvn clean deploy.

Test Jenkins Job Configuration

    1. Configure Jenkins Job :
    2. Execute RDKB Tests

      1. After deploying RDKB Utils, now the tests are ready for execution from Orchestration after the test script details are configured in Orchestration.