@@ -85,15 +85,20 @@ functions:
8585 << : *go_options
8686 command : make integration-test
8787 " generate html coverage " :
88- - command : subprocess .exec
88+ - command : shell .exec
8989 type : test
9090 params :
9191 add_to_path :
9292 - ${go_bin}
9393 working_dir : src/github.com/mongodb/mongocli
9494 env :
9595 << : *go_options
96- command : go tool cover -html=coverage.out -o coverage.html
96+ script : |
97+ set -Eeou pipefail
98+
99+ export GOROOT="${go_root}"
100+ export PATH="./bin:$GOROOT/bin:$PATH"
101+ go tool cover -html=coverage.out -o coverage.html
97102 " upload html coverage " :
98103 - command : s3.put
99104 params :
@@ -1118,7 +1123,7 @@ buildvariants:
11181123 - name : code_health
11191124 display_name : " Code Health"
11201125 run_on :
1121- - rhel70 -small
1126+ - rhel80 -small
11221127 expansions :
11231128 go_root : " /opt/golang/go1.17"
11241129 go_bin : " /opt/golang/go1.17/bin"
@@ -1127,7 +1132,7 @@ buildvariants:
11271132 - name : e2e_generic
11281133 display_name : " E2E Tests Generic"
11291134 run_on :
1130- - rhel70 -small
1135+ - rhel80 -small
11311136 expansions :
11321137 go_root : " /opt/golang/go1.17"
11331138 go_bin : " /opt/golang/go1.17/bin"
@@ -1136,7 +1141,7 @@ buildvariants:
11361141 - name : e2e_atlas_clusters
11371142 display_name : " E2E Atlas Cluster Tests"
11381143 run_on :
1139- - rhel70 -small
1144+ - rhel80 -small
11401145 expansions :
11411146 go_root : " /opt/golang/go1.17"
11421147 go_bin : " /opt/golang/go1.17/bin"
@@ -1145,7 +1150,7 @@ buildvariants:
11451150 - name : e2e_atlas_gov_clusters
11461151 display_name : " E2E Atlas Gov Cluster Tests"
11471152 run_on :
1148- - rhel70 -small
1153+ - rhel80 -small
11491154 expansions :
11501155 go_root : " /opt/golang/go1.17"
11511156 go_bin : " /opt/golang/go1.17/bin"
@@ -1154,7 +1159,7 @@ buildvariants:
11541159 - name : e2e_atlas_networking
11551160 display_name : " E2E Atlas Networking Tests"
11561161 run_on :
1157- - rhel70 -small
1162+ - rhel80 -small
11581163 expansions :
11591164 go_root : " /opt/golang/go1.17"
11601165 go_bin : " /opt/golang/go1.17/bin"
@@ -1163,7 +1168,7 @@ buildvariants:
11631168 - name : e2e_atlas_live_migrations
11641169 display_name : " E2E Atlas Live Migrations Tests"
11651170 run_on :
1166- - rhel70 -small
1171+ - rhel80 -small
11671172 expansions :
11681173 go_root : " /opt/golang/go1.17"
11691174 go_bin : " /opt/golang/go1.17/bin"
@@ -1172,7 +1177,7 @@ buildvariants:
11721177 - name : e2e_atlas_datalake
11731178 display_name : " E2E Atlas Datalake Tests"
11741179 run_on :
1175- - rhel70 -small
1180+ - rhel80 -small
11761181 expansions :
11771182 go_root : " /opt/golang/go1.17"
11781183 go_bin : " /opt/golang/go1.17/bin"
@@ -1181,7 +1186,7 @@ buildvariants:
11811186 - name : e2e_cloud_manager_remote
11821187 display_name : " E2E Cloud Manager Remote Host Tests"
11831188 run_on :
1184- - rhel70 -small
1189+ - rhel80 -small
11851190 expansions :
11861191 go_root : " /opt/golang/go1.17"
11871192 go_bin : " /opt/golang/go1.17/bin"
@@ -1190,7 +1195,7 @@ buildvariants:
11901195 - name : e2e_ops_manager_44
11911196 display_name : " E2E Ops Manager 4.4 Tests"
11921197 run_on :
1193- - rhel70 -small
1198+ - rhel80 -small
11941199 expansions :
11951200 go_root : " /opt/golang/go1.17"
11961201 go_bin : " /opt/golang/go1.17/bin"
@@ -1199,7 +1204,7 @@ buildvariants:
11991204 - name : e2e_ops_manager_50
12001205 display_name : " E2E Ops Manager 5.0 Tests"
12011206 run_on :
1202- - rhel70 -small
1207+ - rhel80 -small
12031208 expansions :
12041209 go_root : " /opt/golang/go1.17"
12051210 go_bin : " /opt/golang/go1.17/bin"
0 commit comments