Skip to content

Commit 2f32eec

Browse files
committed
update selectors
1 parent 2127cbf commit 2f32eec

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,58 +2,65 @@ buildvariants:
22
# Alternative hosts tests
33
- name: openssl-1.0.2-rhel7-python3.9
44
tasks:
5-
- name: .standard-linux .server-5.0
5+
- name: .standalone-auth-ssl .server-version
66
display_name: OpenSSL 1.0.2 RHEL7 Python3.9
77
run_on:
88
- rhel79-small
99
batchtime: 10080
1010
expansions:
11+
VERSION: "5.0"
12+
PYTHON_VERSION: "3.9"
1113
PYTHON_BINARY: /opt/python/3.9/bin/python3
1214
- name: other-hosts-rhel9-fips
1315
tasks:
14-
- name: .standard-linux .server-latest
16+
- name: .server-version .standalone-noauth-nossl .replica_set-noauth-ssl .sharded_cluster-auth-ssl
1517
display_name: Other hosts RHEL9-FIPS
1618
run_on:
1719
- rhel92-fips
1820
batchtime: 10080
1921
expansions:
22+
VERSION: latest
2023
NO_EXT: "1"
2124
REQUIRE_FIPS: "1"
2225
- name: other-hosts-rhel8-zseries
2326
tasks:
24-
- name: .standard-linux .server-latest
27+
- name: .server-version .standalone-noauth-nossl .replica_set-noauth-ssl .sharded_cluster-auth-ssl
2528
display_name: Other hosts RHEL8-zseries
2629
run_on:
2730
- rhel8-zseries-small
2831
batchtime: 10080
2932
expansions:
33+
VERSION: latest
3034
NO_EXT: "1"
3135
- name: other-hosts-rhel8-power8
3236
tasks:
33-
- name: .standard-linux .server-latest
37+
- name: .server-version .standalone-noauth-nossl .replica_set-noauth-ssl .sharded_cluster-auth-ssl
3438
display_name: Other hosts RHEL8-POWER8
3539
run_on:
3640
- rhel8-power-small
3741
batchtime: 10080
3842
expansions:
43+
VERSION: latest
3944
NO_EXT: "1"
4045
- name: other-hosts-rhel8-arm64
4146
tasks:
42-
- name: .standard-linux .server-latest
47+
- name: .server-version .standalone-noauth-nossl .replica_set-noauth-ssl .sharded_cluster-auth-ssl
4348
display_name: Other hosts RHEL8-arm64
4449
run_on:
4550
- rhel82-arm64-small
4651
batchtime: 10080
4752
expansions:
53+
VERSION: latest
4854
NO_EXT: "1"
4955
- name: other-hosts-amazon2023
5056
tasks:
51-
- name: .standard-linux .server-latest
57+
- name: .server-version .standalone-noauth-nossl .replica_set-noauth-ssl .sharded_cluster-auth-ssl
5258
display_name: Other hosts Amazon2023
5359
run_on:
5460
- amazon2023-arm64-latest-large-m8g
5561
batchtime: 10080
5662
expansions:
63+
VERSION: latest
5764
NO_EXT: "1"
5865

5966
# Atlas connect tests

.evergreen/scripts/generate_config.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,21 +550,24 @@ def create_alternative_hosts_variants():
550550
host = HOSTS["rhel7"]
551551
variants.append(
552552
create_variant(
553-
[".standard-linux .server-5.0"],
553+
[".standalone-auth-ssl .server-version"],
554554
get_variant_name("OpenSSL 1.0.2", host, python=CPYTHONS[0]),
555555
host=host,
556556
python=CPYTHONS[0],
557557
batchtime=batchtime,
558+
expansions=dict(VERSION="5.0", PYTHON_VERSION=CPYTHONS[0]),
558559
)
559560
)
560561

561562
for host_name in OTHER_HOSTS:
562-
expansions = dict()
563+
expansions = dict(VERSION="latest")
563564
handle_c_ext(C_EXTS[0], expansions)
564565
host = HOSTS[host_name]
565566
if "fips" in host_name.lower():
566567
expansions["REQUIRE_FIPS"] = "1"
567-
tags = [".standard-linux .server-latest"]
568+
tags = [
569+
".server-version .standalone-noauth-nossl .replica_set-noauth-ssl .sharded_cluster-auth-ssl"
570+
]
568571
variants.append(
569572
create_variant(
570573
tags,

0 commit comments

Comments
 (0)