Adoption of Continuous Integration/Continuous Deployment (CI/CD) is very important for the successful deployment of an IIoT solution. Essentially, the idea is to use a Git repository to check the code regularly and implement automation for the testing unit, integration and regression tests. Deployment can also be automated using automated scripts. A sample CI/CD pipeline is shown here:
A sample of the CI/CD pipeline
- Use Jenkins to automate the build/deploy pipeline
- Use Git to check in code to the repository
- Use a good unit testing framework such as JUnit to do unit testing
- Use a good integration testing tool such as RestAsure to do API testing
- Use Selenium to do UI simulation testing
- Deployment scripts should be written using Terraform or Ansible