Pull database images instead of building each time

test plan:
Passes jenkins including on merge
No longer builds the database images, it pulls them instead

fixes: CCI-233
Change-Id: I15d96fc901115aa0d1718c1b5794898524b8eb59
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/226597
Reviewed-by: James Butters <jbutters@instructure.com>
Reviewed-by: Rex Fleischer <rfleischer@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
QA-Review: Jacob Powell <spowell@instructure.com>
Product-Review: Jacob Powell <spowell@instructure.com>
Tested-by: James Butters <jbutters@instructure.com>
Tested-by: Rex Fleischer <rfleischer@instructure.com>
This commit is contained in:
S. Jacob Powell 2020-02-13 12:20:27 -07:00 committed by Jacob Powell
parent eaf2f96f2d
commit 6ac58ae346
1 changed files with 4 additions and 14 deletions

View File

@ -33,23 +33,13 @@ services:
image: starlord.inscloudgate.net/jenkins/redis:alpine image: starlord.inscloudgate.net/jenkins/redis:alpine
postgres: postgres:
image: canvas-lms:previous-postgres-image image: starlord.inscloudgate.net/jenkins/postgres:9.5
build:
context: ./build/docker-compose/postgres/9.5/
dockerfile: ./Dockerfile
environment:
PGDATA: /data
cassandra: cassandra:
image: canvas-lms:previous-cassandra-image image: starlord.inscloudgate.net/jenkins/cassandra:2.2
build:
context: ./build/docker-compose/cassandra/
dockerfile: ./Dockerfile.cachable
environment: environment:
CASSANDRA_START_RPC: 'true' CASSANDRA_START_RPC: 'true'
dynamodb: dynamodb:
image: canvas-lms:previous-dynamodb-image image: starlord.inscloudgate.net/jenkins/dynamodb-local
build: command: -jar DynamoDBLocal.jar #-dbPath /home/dynamodblocal
context: ./build/docker-compose/dynamodb/
dockerfile: ./Dockerfile.cachable