forked from futureversecom/paddi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.ci.yml
70 lines (64 loc) · 1.73 KB
/
docker-compose.ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3.8'
services:
build-cache:
build:
context: .
dockerfile: build-cache.Dockerfile
image: '437218020055.dkr.ecr.us-west-2.amazonaws.com/build-artifacts:build-cache-acp-demo-1'
ci:
build:
context: .
dockerfile: build.Dockerfile
depends_on:
- dynamodb
image: '437218020055.dkr.ecr.us-west-2.amazonaws.com/build-artifacts:acp-demo'
environment:
- BUILDKITE
- BUILDKITE_COMMIT
- BUILDKITE_BRANCH
- BUILDKITE_PULL_REQUEST
- BUILDKITE_BUILD_ID
- CODECOV_TOKEN
- DYNAMO_ENDPOINT=http://dynamodb:8000
volumes:
- './.git:/build/.git'
python-ci:
build:
context: .
dockerfile: pants.Dockerfile
image: '437218020055.dkr.ecr.us-west-2.amazonaws.com/build-artifacts:acp-demo-python'
environment:
- BUILDKITE
- BUILDKITE_COMMIT
- BUILDKITE_BRANCH
- BUILDKITE_PULL_REQUEST
- BUILDKITE_BUILD_ID
python-lambda:
build:
context: .
dockerfile: python-lambda.Dockerfile
image: '437218020055.dkr.ecr.us-west-2.amazonaws.com/build-artifacts:acp-demo-python'
environment:
- BUILDKITE
- BUILDKITE_COMMIT
- BUILDKITE_BRANCH
- BUILDKITE_PULL_REQUEST
- BUILDKITE_BUILD_ID
terraform:
image: hashicorp/terraform:1.3.9
volumes:
- './terraform:/terraform'
- './packages:/packages'
environment:
- AWS_VAULT
- AWS_DEFAULT_REGION
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
- AWS_SECURITY_TOKEN
- TF_LOG
- TF_CLOUD_TOKEN
dynamodb:
image: public.ecr.aws/aws-dynamodb-local/aws-dynamodb-local:1.18.0
command: '-jar DynamoDBLocal.jar -sharedDb -inMemory'