Skip to content

Commit

Permalink
circleci: better error messages (DataDog#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
roopakv authored and mingrammer committed Dec 22, 2020
1 parent 20b5e58 commit b82047b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ jobs:
- run:
name: Vendor github.com/googleapis/gnostic for k8s.io/client-go
# This step checks out k8s.io/client-go and vendors
# This step checks out k8s.io/client-go and vendors
# github.com/googleapis/gnostic to fix a breaking change made in
# gnostic. See kubernetes/client-go#741
# TODO(knusbaum): remove this once the breaking change is resolved or propagated
command: |
git clone --branch v0.17.3 https://github.com/kubernetes/client-go $GOPATH/src/k8s.io/client-go
git clone --branch v0.17.3 https://github.com/kubernetes/apimachinery $GOPATH/src/k8s.io/apimachinery
git clone --branch v0.4.0 https://github.com/googleapis/gnostic $GOPATH/src/k8s.io/client-go/vendor/github.com/googleapis/gnostic
# CircleCI recommends caches be ~500MB. We split the cache into
# CircleCI recommends caches be ~500MB. We split the cache into
# two parts to achieve this.
# We specifically do not cache gopkg.in to avoid caching Datadog
# We can cache other packages here or wait to move to go modules
Expand Down Expand Up @@ -206,4 +206,9 @@ jobs:
- run:
name: Testing
command: |
INTEGRATION=1 go test -v -race `go list ./...`
mkdir /tmp/test-results
INTEGRATION=1 gotestsum --junitfile /tmp/test-results/result.xml -- -race `go list ./...`
- store_artifacts:
path: /tmp/test-results
- store_test_results:
path: /tmp/test-results

0 comments on commit b82047b

Please sign in to comment.