Skip to content

Commit ce89412

Browse files
Upgrating evergreen hosts to Rhel 8 (#1016)
1 parent 5db0fa1 commit ce89412

File tree

2 files changed

+25
-20
lines changed

2 files changed

+25
-20
lines changed

build/ci/evergreen.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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"

build/ci/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,15 +1271,15 @@ buildvariants:
12711271
- name: publish_snapshot
12721272
display_name: "Publish yum/apt main"
12731273
run_on:
1274-
- rhel70-small
1274+
- rhel80-small
12751275
expansions:
12761276
go_root: "/opt/golang/go1.17"
12771277
go_bin: "/opt/golang/go1.17/bin"
12781278
server_version: "4.4.0-rc3"
12791279
tasks:
12801280
- name: .push
12811281
run_on:
1282-
- rhel70-small
1282+
- rhel80-small
12831283
- name: release_mongocli_msi
12841284
display_name: "Release MongoCLI (go-msi)"
12851285
run_on:
@@ -1321,7 +1321,7 @@ buildvariants:
13211321
- name: release_mongocli_publish_42
13221322
display_name: "Publish MongoCLI yum/apt 4.2"
13231323
run_on:
1324-
- rhel70-small
1324+
- rhel80-small
13251325
expansions:
13261326
server_version: "4.2.3"
13271327
notary_key_name: "server-4.2"
@@ -1330,7 +1330,7 @@ buildvariants:
13301330
- name: release_mongocli_publish_44
13311331
display_name: "Publish MongoCLI yum/apt 4.4"
13321332
run_on:
1333-
- rhel70-small
1333+
- rhel80-small
13341334
expansions:
13351335
server_version: "4.4.3"
13361336
notary_key_name: "server-4.4"
@@ -1339,7 +1339,7 @@ buildvariants:
13391339
- name: release_mongocli_publish_50
13401340
display_name: "Publish MongoCLI yum/apt 5.0"
13411341
run_on:
1342-
- rhel70-small
1342+
- rhel80-small
13431343
expansions:
13441344
server_version: "5.0.0"
13451345
notary_key_name: "server-5.0"
@@ -1348,7 +1348,7 @@ buildvariants:
13481348
- name: release_atlascli_publish_42
13491349
display_name: "Publish AtlasCLI yum/apt 4.2"
13501350
run_on:
1351-
- rhel70-small
1351+
- rhel80-small
13521352
expansions:
13531353
server_version: "4.2.3"
13541354
notary_key_name: "server-4.2"
@@ -1357,7 +1357,7 @@ buildvariants:
13571357
- name: release_atlascli_publish_44
13581358
display_name: "Publish AtlasCLI yum/apt 4.4"
13591359
run_on:
1360-
- rhel70-small
1360+
- rhel80-small
13611361
expansions:
13621362
server_version: "4.4.3"
13631363
notary_key_name: "server-4.4"
@@ -1366,7 +1366,7 @@ buildvariants:
13661366
- name: release_atlascli_publish_50
13671367
display_name: "Publish AtlasCLI yum/apt 5.0"
13681368
run_on:
1369-
- rhel70-small
1369+
- rhel80-small
13701370
expansions:
13711371
server_version: "5.0.0"
13721372
notary_key_name: "server-5.0"

0 commit comments

Comments
 (0)