BTQ-BUILD: Building the microservices
Building the micrtservices is done via the BTQ-BUILD job, were going to explain how to use it.
The BUILD-BTQ job is made to take the service's name then go inside the repository and build the specific microservice and push it to the ecr with the tag you've provided in the parameter.
We first prepare the ecr by creating the repository in order to give it to the Kaniko to push it, then we activate the Kaniko executor. We give the executor the dockerfile path and the build arguments.
After building one of/ all the images you should see the service has been updated in our website's dashboard indicating a new build map has been submitted.

You can that the buildmap (code scan) was updated. If you click on the overall coverage percentage (The 0% in the picture) you will be redirected to "Coverage Report " page for the app where you can see which files and functions have been scanned, you can easily use it to make sure everything was scanned correctly.

One thing you might notice is that the adservice and cartservice are not updated. That is because the agents we use are CD agents, meaning the scan is done in deployment right before starting the service.
Last updated