Build
Let's take a closer look at the build process. Inside the build job configuration, we have three steps. The first is to check out the repository. The jobs themselves are broken up into steps, and the first notable one of these is to install the dependencies. Glide is our package manager for the repository, and we need this to be installed to fetch updates to our vendored packages. We also need a go-junit-report utility package. This application allows us to convert the Go test output into JUnit format, which Circle CI requires for presenting certain dashboard information. We then execute glide up to fetch any updates. In this example, I have checked in the vendor folder to the repository; however, I am not pinning the packages to a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access