Skip to content

Commit

Permalink
Revert "gh-934 experiment with build cache to speed up ci builds"
Browse files Browse the repository at this point in the history
This reverts commit 31cf3e1.
  • Loading branch information
etiennedi committed Aug 1, 2019
1 parent 31cf3e1 commit c418cb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
18 changes: 1 addition & 17 deletions docker-compose-test.yml
@@ -1,19 +1,11 @@
version: '3.4'
services:
# Activate to build a new build cache
# weaviate_build_cache:
# build:
# context: .
# dockerfile: Dockerfile
# target: build_base

weaviate:
image: weaviate/test-server
build:
context: .
dockerfile: Dockerfile
target: weaviate
cache_from:
- semitechnologies/weaviatebuildcache:latest
depends_on:
- janus
- genesis_fake
Expand All @@ -36,8 +28,6 @@ services:
context: .
dockerfile: Dockerfile
target: genesis_fake
cache_from:
- semitechnologies/weaviatebuildcache:latest
restart: on-failure:0
ports:
- "8090:8090"
Expand All @@ -51,8 +41,6 @@ services:
context: .
dockerfile: Dockerfile
target: telemetry_mock_api
cache_from:
- semitechnologies/weaviatebuildcache:latest
restart: on-failure:0
ports:
- "8087:8087"
Expand All @@ -61,17 +49,13 @@ services:
context: .
dockerfile: Dockerfile
target: remote_weaviate_fake
cache_from:
- semitechnologies/weaviatebuildcache:latest
restart: on-failure:0
ports:
- "8081:8081"
remote_weaviate_fakes_with_test_schema: # used for comparing the remote schema against the prototype
build:
context: ./tools/remote_weaviate_fake_with_test_schema/
dockerfile: Dockerfile
cache_from:
- semitechnologies/weaviatebuildcache:latest
restart: on-failure:0
ports:
- "8082:8082"
Expand Down
3 changes: 1 addition & 2 deletions tools/test/run_ci_server.sh
Expand Up @@ -5,8 +5,7 @@ set -euo pipefail

function main() {
echo "Pull images..."
surpress_on_success docker pull golang:1.11-alpine
surpress_on_success docker pull semitechnologies/weaviatebuildcache:latest
surpress_on_success docker pull golang:1.11-alpine
echo "Build containers (this will take the longest)..."
docker-compose -f docker-compose-test.yml build weaviate janus index db telemetry_mock_api \
genesis_fake remote_weaviate_fake remote_weaviate_fakes_with_test_schema genesis
Expand Down

0 comments on commit c418cb6

Please sign in to comment.