-
Notifications
You must be signed in to change notification settings - Fork 26
/
codeship-services.yml
54 lines (44 loc) · 1.01 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
version: '2'
yml-anchors: # defines some yml anchors so that we DRY
sharedvol: &sharedvol
volumes:
- "./codeship-distfiles:/opt/distfiles"
testenv: &testenv
add_docker: true
working_dir: /opt/test
volumes:
- "./codeship-distfiles:/opt/distfiles"
testbuild: &testbuild
context: .
dockerfile: deployment/Dockerfile.testenv
services:
avirshup/docker-make: # this is the deployment artifact
<<: *sharedvol
build:
dockerfile: Dockerfile
context: .
testenv-python3.6:
<<: *testenv
build:
<<: *testbuild
args:
PYVERSION: "3.6"
testenv-python3.7:
<<: *testenv
build:
<<: *testbuild
args:
PYVERSION: "3.7"
testenv-python3.8:
<<: *testenv
build:
<<: *testbuild
args:
PYVERSION: "3.8"
deploy-env:
<<: *sharedvol
add_docker: true
build:
context: deployment/
dockerfile: Dockerfile.deploy
encrypted_env_file: deployment/tokens.crypt