Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

build: upgrade to CircleCI 2.0 #366

Merged
merged 2 commits into from
Feb 19, 2018
Merged

build: upgrade to CircleCI 2.0 #366

merged 2 commits into from
Feb 19, 2018

Conversation

gbbr
Copy link
Contributor

@gbbr gbbr commented Feb 19, 2018

Reduces CI time from ~5 min to ~1 min.

working_directory: /go/src/github.com/DataDog/datadog-trace-agent

docker:
- image: circleci/golang:latest # > 1.10

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to stick to the version we use in the build process to be consistent.

(bonus suggestion: let's move to a more recent version of Go in our build chain!)

@gbbr gbbr force-pushed the gbbr/ci branch 3 times, most recently from 4313fc5 to bb7ea22 Compare February 19, 2018 13:50
This allows to benefit from caching as well as parallel execution of
tests. Running tests one by one is significantly slower.
@gbbr
Copy link
Contributor Author

gbbr commented Feb 19, 2018

@LotharSee fixed version to 1.8 as per suggestion. I've also enabled the tests to run in parallel, gaining another minute build time.

Will take your bonus suggestion into consideration as well in a separate PR, to update our build chain, that will also bring a lot of benefits.

Copy link

@LotharSee LotharSee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, both a nice cleanup and speed boost!

@gbbr gbbr merged commit dad39ac into master Feb 19, 2018
@gbbr gbbr deleted the gbbr/ci branch February 19, 2018 13:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants