Skip to content

Commit d408ded

Browse files
committed
Add integration tests to CircleCI config
Signed-off-by: Bryan Boreham <[email protected]>
1 parent ae14479 commit d408ded

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ workflows:
2020
tags:
2121
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
2222
- integration:
23+
requires:
24+
- build
2325
filters:
2426
tags:
2527
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
@@ -84,9 +86,19 @@ jobs:
8486
working_directory: /go/src/github.com/cortexproject/cortex
8587
steps:
8688
- checkout
89+
- setup_remote_docker
90+
- install-docker
91+
- restore_cache:
92+
key: v1-cortex-{{ .Branch }}-{{ .Revision }}
8793
- run:
8894
name: Integration Test
8995
command: MIGRATIONS_DIR=$(pwd)/cmd/cortex/migrations make BUILD_IN_CONTAINER=false configs-integration-test
96+
- run:
97+
name: Load Images
98+
command: make BUILD_IN_CONTAINER=false load-images
99+
- run:
100+
name: Ingester hand-over test
101+
command: ./integration-tests/test-handover.sh
90102

91103
build:
92104
<<: *defaults

0 commit comments

Comments
 (0)