-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
31 lines (29 loc) · 1 KB
/
docker-compose.ci.yml
File metadata and controls
31 lines (29 loc) · 1 KB
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
name: "openproject-ci"
services:
# Note: not using a database container since it adds 1min to pull and start it on CI
app:
image: openproject/ci:v1
build:
context: .
dockerfile: ./docker/ci/Dockerfile
platforms:
- linux/amd64
args:
- APP_USER_UID
- APP_USER_GID
- RUBY_VERSION
environment:
CI_JOBS: "${CI_JOBS}"
RSPEC_RETRY_RETRY_COUNT: "${CI_RETRY_COUNT:-4}"
CAPYBARA_AWS_ACCESS_KEY_ID: "${CAPYBARA_AWS_ACCESS_KEY_ID}"
CAPYBARA_AWS_SECRET_ACCESS_KEY: "${CAPYBARA_AWS_SECRET_ACCESS_KEY}"
tmpfs:
- "/tmp"
volumes:
- .:/app
- ${LOCAL_CACHE_PATH}/node/.npm:/app/.npm
- ${LOCAL_CACHE_PATH}/node/node_modules:/app/node_modules
- ${LOCAL_CACHE_PATH}/node/frontend/node_modules:/app/frontend/node_modules
- ${LOCAL_CACHE_PATH}/bundle:/usr/local/bundle
- ${LOCAL_CACHE_PATH}/angular:/app/frontend/.angular/cache
- ${LOCAL_CACHE_PATH}/runtime-logs:/app/spec/support/runtime-logs