This is a re-post from the Segment blog written by co-founder Calvin French-Owen. Calvin and the team at Segment will be speaking at CircleCI’s office hours this Thursday (June 30) in San Francisco. Please join us for a special talk on Google’s AMP project!
As part of our push to open up what’s going on internally at Segment – we’d like to share how we run our CI builds. Most of our approaches follow standard practices, but we wanted to share a few tips and tricks we use to speed up our build pipeline.
Powering all of our builds are CircleCI, Github, and Docker Hub. Whenever there’s a push to Github, the repository triggers a build on CircleCI. If that build is a tagged release, and passes the tests, we build an image for that container.
The image is then pushed to Docker Hub, and is ready to be deployed to our production infrastructure.