Skip to content

Commit

Permalink
.circleci: use consistent ci image tags (#2440)
Browse files Browse the repository at this point in the history
We were not using the latest thanos-ci image tag for every part of the
CI pipeline: we were using 0.3.0 for tests but 0.2.0 for all builds.

Signed-off-by: Lucas Servén Marín <[email protected]>
  • Loading branch information
squat authored Apr 15, 2020
1 parent 9db99a0 commit c92c302
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# NOTE: Current plan gives 1500 build minutes per month.
version: 2
# https://circleci.com/blog/circleci-hacks-reuse-yaml-in-your-circleci-config-with-yaml/
defaults: &defaults
docker:
# Built by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.3.0
jobs:
test:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.3.0
<<: *defaults
working_directory: /go/src/github.com/thanos-io/thanos
environment:
GO111MODULE: 'on'
Expand Down Expand Up @@ -58,9 +61,7 @@ jobs:
- .build

publish_master:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.2.0
<<: *defaults
working_directory: /go/src/github.com/thanos-io/thanos
steps:
- checkout
Expand All @@ -78,9 +79,7 @@ jobs:
- run: make docker-push

publish_release:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.2.0
<<: *defaults
working_directory: /go/src/github.com/thanos-io/thanos
environment:
GOBIN: "/go/bin"
Expand Down

0 comments on commit c92c302

Please sign in to comment.