Task #38
Updated by Fernando Jose Capeletto Neto almost 2 years ago
Create a muti-topic branch CMS_IntegrationTest Jenkins Pipeline w/ steps:
- a) For TrackHandler: Test - Build - Create Docker Img (Tagged with '1.0-SNAPSHOT', using 'integration-test' spring boot profile, transient to be deleted after test)
- b) For CMSDisplay: Test - Build - Create Docker Img (Tagged with '1.0-SNAPSHOT', pointing to TrackHandler port exposed in the spring boot profile above, the image is also transient to be deleted after the test)
- c) Using a dedicated docker-compose file enclosing both CMS microservices, including a test DB instance with its admin, and start a Cloud Instance over this docker-compose to test the snapshot(s).
- d) The pipeline shall allow specifying the branch for each service.
- e) Document in the CMS wiki the environment vars and profiles used to distinguish from production (Kafka, Rabbit, exposed ports)
= Preliminar Stage ==
* Created multitopic TrackHandler_Snapshot_Deliver https://jenkins.fernando.engineer/job/TrackHandler_Snapshot_Deliver/ that Test, Build, Publish Jar to Nexus, Create and Publish Image to Docker Hub.
** The Dockerfile for this version expose port 2977 and allow the further usage of this image in a docker-container for integratedtests profile. (to be containerized with or without cmsdisplay for tests)