forked from ushahidi/platform-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeship-services.yml
60 lines (55 loc) · 1.39 KB
/
codeship-services.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
build:
build:
image: build
dockerfile_path: docker/build.Dockerfile
volumes:
- .:/vols/src
- ./tmp/out:/vols/out
encrypted_env_file: deployment.env.encrypted
cached: true
default_cache_branch: develop
dockerimg:
build:
image: ushahidi-platform-client/dockerimg
dockerfile_path: Dockerfile
encrypted_args_file: buildargs.env.encrypted
cached: true
release:
build:
image: release
dockerfile_path: docker/release.Dockerfile
volumes:
- ./tmp/out/release:/release
encrypted_env_file: deployment.env.encrypted
cached: true
default_cache_branch: master
deploy:
image: ushahidi/engineering-deployer:latest
encrypted_env_file: deployment.env.encrypted
depends_on:
- dockerimg
add_docker: true
environment:
AWS_REGION: us-east-1
AWS_DEFAULT_REGION: us-east-1
LAST_BUILD_DEST_PATH: /vols/last_build
DOCKER_PUSH_IMAGE_SRC: ushahidi-platform-client/dockerimg
DEPLOYMENT_RULES_REPO: deployment-rules
DEPLOYMENT_RULES_VERSION: master
DEPLOYMENT_RULES_FILE: platform.yml
volumes:
- ./tmp/out/last_build:/vols/last_build
test:
build:
image: test
dockerfile_path: docker/test.Dockerfile
volumes:
- .:/vols/src
environment:
- TEST_SUITE=unit
cached: true
default_cache_branch: develop
dockercfggen:
image: codeship/dockercfg-generator
add_docker: true
encrypted_env_file: docker.env.encrypted