Lorenzo's Blog About me

Latest blog posts about Continuous Integration

Go tests, multistage docker builds, pipeline

On: 2018-01-06 - Reading Time: 3 Minutes

During the last year I have learned how important it is to build, test and deploy using always the same docker container as well as reducing its size. As I have not found anything online, I want to remember and share it: I am testing my go packages with a multistage docker build inside my pipeline on GitLab. The odd way of testing go docker containers Especially when implementing CI best practices, I have seen projects running tests in different ways:

Continue reading...