-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (41 loc) · 1.09 KB
/
docker-compose.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
version: "3"
services:
golang-test:
build: .
image: henri9813/golang-test
test:
image: henri9813/golang-test
working_dir: /project
volumes:
- ./project:/project
test_prescript:
image: henri9813/golang-test
working_dir: /project_withprescript
volumes:
- ./project_withprescript:/project_withprescript
environment:
BEFORE_RUN: "make"
test_nogomod:
image: henri9813/golang-test
working_dir: /project_nogomod
volumes:
- ./project_nogomod:/project_nogomod
environment:
SINGLE_PACKAGE: "true"
test_fail:
image: henri9813/golang-test
working_dir: /project_fail
volumes:
- ./project_fail:/project_fail
test_exclude_packages:
image: henri9813/golang-test
working_dir: /project_except_some_packages
volumes:
- ./project_except_some_packages:/project_except_some_packages
environment:
EXCLUDED_PACKAGES: "addition"
test_majorversion:
image: henri9813/golang-test
working_dir: /project_withmajorversion
volumes:
- ./project_withmajorversion:/project_withmajorversion