@@ -8,22 +8,24 @@ services:
8
8
- ./:/usr/local/src/bash-commons
9
9
working_dir : /usr/local/src/bash-commons/.circleci
10
10
command : ./shellcheck.sh
11
- bats_ubuntu1604_imds_v1 :
11
+ bats_ubuntu2004_imds_v1 :
12
12
build :
13
13
context : ./
14
- dockerfile : Dockerfile.ubuntu16 .04.bats
14
+ dockerfile : Dockerfile.ubuntu20 .04.bats
15
15
volumes :
16
16
# Mount all the files so you have "hot reload" of all changes from the host
17
17
- ./:/usr/local/src/bash-commons
18
18
working_dir : /usr/local/src/bash-commons
19
19
command : bats test
20
20
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
21
21
privileged : true
22
- # We intentionally omit the GRUNTWORK_BASH_COMMONS_IMDS_VERSION env var here to ensure the default behavior works as expected
23
- bats_ubuntu1604_imds_v2 :
22
+ environment :
23
+ # Signal to bash-commons module to use Instance Metadata Service version 1
24
+ - GRUNTWORK_BASH_COMMONS_IMDS_VERSION=1
25
+ bats_ubuntu2004_imds_v2 :
24
26
build :
25
27
context : ./
26
- dockerfile : Dockerfile.ubuntu16 .04.bats
28
+ dockerfile : Dockerfile.ubuntu20 .04.bats
27
29
volumes :
28
30
# Mount all the files so you have "hot reload" of all changes from the host
29
31
- ./:/usr/local/src/bash-commons
@@ -34,22 +36,21 @@ services:
34
36
environment :
35
37
# Signal to bash-commons module to use Instance Metadata Service version 2
36
38
- GRUNTWORK_BASH_COMMONS_IMDS_VERSION=2
37
- bats_ubuntu1804_imds_v1 :
39
+ bats_ubuntu2004_no_imds :
38
40
build :
39
41
context : ./
40
- dockerfile : Dockerfile.ubuntu18 .04.bats
42
+ dockerfile : Dockerfile.ubuntu20 .04.bats
41
43
volumes :
42
44
# Mount all the files so you have "hot reload" of all changes from the host
43
45
- ./:/usr/local/src/bash-commons
44
46
working_dir : /usr/local/src/bash-commons
45
47
command : bats test
46
48
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
47
49
privileged : true
48
- # We intentionally omit the GRUNTWORK_BASH_COMMONS_IMDS_VERSION env var here to ensure the default behavior works as intended
49
- bats_ubuntu1804_imds_v2 :
50
+ bats_ubuntu2204_imds_v1 :
50
51
build :
51
52
context : ./
52
- dockerfile : Dockerfile.ubuntu18 .04.bats
53
+ dockerfile : Dockerfile.ubuntu22 .04.bats
53
54
volumes :
54
55
# Mount all the files so you have "hot reload" of all changes from the host
55
56
- ./:/usr/local/src/bash-commons
@@ -58,12 +59,12 @@ services:
58
59
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
59
60
privileged : true
60
61
environment :
61
- # Signal to bash-commons module to use Instance Metadata Service version 2
62
- - GRUNTWORK_BASH_COMMONS_IMDS_VERSION=2
63
- bats_ubuntu2004_imds_v1 :
62
+ # Signal to bash-commons module to use Instance Metadata Service version 1
63
+ - GRUNTWORK_BASH_COMMONS_IMDS_VERSION=1
64
+ bats_ubuntu2204_imds_v2 :
64
65
build :
65
66
context : ./
66
- dockerfile : Dockerfile.ubuntu20 .04.bats
67
+ dockerfile : Dockerfile.ubuntu22 .04.bats
67
68
volumes :
68
69
# Mount all the files so you have "hot reload" of all changes from the host
69
70
- ./:/usr/local/src/bash-commons
@@ -72,19 +73,16 @@ services:
72
73
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
73
74
privileged : true
74
75
environment :
75
- # Signal to bash-commons module to use Instance Metadata Service version 1
76
- - GRUNTWORK_BASH_COMMONS_IMDS_VERSION=1
77
- bats_ubuntu2004_imds_v2 :
76
+ # Signal to bash-commons module to use Instance Metadata Service version 2
77
+ - GRUNTWORK_BASH_COMMONS_IMDS_VERSION=2
78
+ bats_ubuntu2204_no_imds :
78
79
build :
79
80
context : ./
80
- dockerfile : Dockerfile.ubuntu20 .04.bats
81
+ dockerfile : Dockerfile.ubuntu22 .04.bats
81
82
volumes :
82
83
# Mount all the files so you have "hot reload" of all changes from the host
83
84
- ./:/usr/local/src/bash-commons
84
85
working_dir : /usr/local/src/bash-commons
85
86
command : bats test
86
87
# Necessary so we can run a mock EC2 metadata service on port 80 on a special IP
87
88
privileged : true
88
- environment :
89
- # Signal to bash-commons module to use Instance Metadata Service version 2
90
- - GRUNTWORK_BASH_COMMONS_IMDS_VERSION=2
0 commit comments