Create Maven server docker image
Overview
Once the foundation for an RPC is set up, a docker image will need to be created containing the following components:
- Maven (to run mvn commands)
- Python (to run the gRPC server module)
- The gRPC server module
For an MVC, we can use an existing image with maven installed like an official maven image or the Pipeline COE Maven image as a base image and then install Python on top of those images.
Use this example server module, this example Dockerfile and their related components as a reference/starting point
Tasks
-
Create a Dockerfile containing maven, python, and a gRPC server file -
Add a build/push job to .gitlab-ci.yml to automatically build and push this new image to congregate's container registry when changes are detected -
Update docs if needed (workflow, runbooks, README, migration metrics, etc.)
Acceptance Criteria
-
Existing UTs pass locally -
100% code coverage on new code
@gitlab-org/professional-services-automation/tools/migration
Edited by Alex Rosencrans