Skip to content

Commit b0f8e40

Browse files
authored
chore(ci): refactor e2e tests to use Foliage MONGOSH-1907 (#2290)
1 parent c154e17 commit b0f8e40

File tree

8 files changed

+4175
-4413
lines changed

8 files changed

+4175
-4413
lines changed

.evergreen.yml

Lines changed: 3245 additions & 4000 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export type CompileBuildVariantDefinition = {
2+
name: string;
3+
displayName: string;
4+
runOn: string;
5+
executableOsId: string;
6+
id?: string;
7+
sharedOpenSsl?: string;
8+
};
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
// @ts-check
2+
3+
/** @type {(import("./compile-build-variants").CompileBuildVariantDefinition)[]} */
4+
exports.COMPILE_BUILD_VARIANTS = [
5+
{
6+
displayName: "RHEL 7.0 x64",
7+
runOn: "rhel70-build",
8+
executableOsId: "linux-x64",
9+
},
10+
{
11+
displayName: "RHEL 8.0 x64",
12+
runOn: "rhel80-build",
13+
id: "linux_x64_rhel8",
14+
executableOsId: "linux-x64",
15+
},
16+
{
17+
displayName: "RHEL 7.0 x64",
18+
runOn: "rhel70-build",
19+
executableOsId: "linux-x64-openssl11",
20+
sharedOpenSsl: "openssl11",
21+
},
22+
{
23+
displayName: "RHEL 8.0 x64",
24+
runOn: "rhel80-build",
25+
id: "linux_x64_openssl11_rhel8",
26+
executableOsId: "linux-x64-openssl11",
27+
sharedOpenSsl: "openssl11",
28+
},
29+
{
30+
displayName: "RHEL 7.0 x64",
31+
runOn: "rhel70-build",
32+
executableOsId: "linux-x64-openssl3",
33+
sharedOpenSsl: "openssl3",
34+
},
35+
{
36+
displayName: "RHEL 8.0 x64",
37+
runOn: "rhel80-build",
38+
id: "linux_x64_openssl3_rhel8",
39+
executableOsId: "linux-x64-openssl3",
40+
sharedOpenSsl: "openssl3",
41+
},
42+
{
43+
displayName: "Amazon 2 arm64",
44+
runOn: "amazon2-arm64-large",
45+
executableOsId: "linux-arm64",
46+
},
47+
{
48+
displayName: "Amazon 2 arm64",
49+
runOn: "amazon2-arm64-large",
50+
executableOsId: "linux-arm64-openssl11",
51+
sharedOpenSsl: "openssl11",
52+
},
53+
{
54+
displayName: "Amazon 2 arm64",
55+
runOn: "amazon2-arm64-large",
56+
executableOsId: "linux-arm64-openssl3",
57+
sharedOpenSsl: "openssl3",
58+
},
59+
{
60+
displayName: "RHEL 8 PPC",
61+
runOn: "rhel8-power-small",
62+
executableOsId: "linux-ppc64le",
63+
},
64+
{
65+
displayName: "RHEL 7 s390x",
66+
runOn: "rhel7-zseries-large",
67+
executableOsId: "linux-s390x",
68+
},
69+
{
70+
displayName: "MacOS Big Sur",
71+
id: "darwin",
72+
runOn: "macos-11",
73+
executableOsId: "darwin-x64",
74+
},
75+
{
76+
displayName: "MacOS Big Sur arm64",
77+
runOn: "macos-11-arm64",
78+
executableOsId: "darwin-arm64",
79+
},
80+
{
81+
id: "win32",
82+
displayName: "Windows VS 2022",
83+
runOn: "windows-vsCurrent-large",
84+
executableOsId: "win32",
85+
},
86+
].map((buildVariant) => {
87+
const { displayName, sharedOpenSsl, id, executableOsId } = buildVariant;
88+
const formattedDisplayName = [displayName, sharedOpenSsl, "(Build)"]
89+
.filter((text) => text)
90+
.join(" ");
91+
92+
return {
93+
...buildVariant,
94+
id,
95+
displayName: formattedDisplayName,
96+
name: `build_${id ?? executableOsId.replaceAll("-", "_")}`,
97+
};
98+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export type E2ETestsBuildVariantDefinition = {
2+
displayName: string;
3+
name: string;
4+
compileBuildVariant: string;
5+
runOn: string;
6+
executableOsId: string;
7+
mVersion: string;
8+
tags?: string[];
9+
disableOpenSslSharedConfig?: boolean;
10+
fips?: boolean;
11+
additionalTasks?: string[];
12+
};

0 commit comments

Comments
 (0)