-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
docker-compose.yml
88 lines (88 loc) · 3.2 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: "3"
services:
shellcheck:
build:
context: ./
dockerfile: Dockerfile.shellcheck
volumes:
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons/.circleci
command: ./shellcheck.sh
bats_ubuntu2004_imds_v1:
build:
context: ./
dockerfile: Dockerfile.ubuntu20.04.bats
volumes:
# Mount all the files so you have "hot reload" of all changes from the host
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons
command: bats test
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
privileged: true
environment:
# Signal to bash-commons module to use Instance Metadata Service version 1
- GRUNTWORK_BASH_COMMONS_IMDS_VERSION=1
bats_ubuntu2004_imds_v2:
build:
context: ./
dockerfile: Dockerfile.ubuntu20.04.bats
volumes:
# Mount all the files so you have "hot reload" of all changes from the host
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons
command: bats test
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
privileged: true
environment:
# Signal to bash-commons module to use Instance Metadata Service version 2
- GRUNTWORK_BASH_COMMONS_IMDS_VERSION=2
bats_ubuntu2004_no_imds:
build:
context: ./
dockerfile: Dockerfile.ubuntu20.04.bats
volumes:
# Mount all the files so you have "hot reload" of all changes from the host
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons
command: bats test
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
privileged: true
bats_ubuntu2204_imds_v1:
build:
context: ./
dockerfile: Dockerfile.ubuntu22.04.bats
volumes:
# Mount all the files so you have "hot reload" of all changes from the host
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons
command: bats test
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
privileged: true
environment:
# Signal to bash-commons module to use Instance Metadata Service version 1
- GRUNTWORK_BASH_COMMONS_IMDS_VERSION=1
bats_ubuntu2204_imds_v2:
build:
context: ./
dockerfile: Dockerfile.ubuntu22.04.bats
volumes:
# Mount all the files so you have "hot reload" of all changes from the host
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons
command: bats test
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
privileged: true
environment:
# Signal to bash-commons module to use Instance Metadata Service version 2
- GRUNTWORK_BASH_COMMONS_IMDS_VERSION=2
bats_ubuntu2204_no_imds:
build:
context: ./
dockerfile: Dockerfile.ubuntu22.04.bats
volumes:
# Mount all the files so you have "hot reload" of all changes from the host
- ./:/usr/local/src/bash-commons
working_dir: /usr/local/src/bash-commons
command: bats test
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
privileged: true