@@ -55,7 +55,12 @@ functions:
55
55
export MONGODB_BINARIES="$DRIVERS_TOOLS/mongodb/bin"
56
56
export UPLOAD_BUCKET="${project}"
57
57
export PROJECT_DIRECTORY="$(pwd)"
58
- export MONGOCRYPT_LIB_DIR="$PROJECT_DIRECTORY/libmongocrypt/${LIBMONGOCRYPT_OS}/lib"
58
+ LIBMONGOCRYPT_SUFFIX_DIR="lib"
59
+ # The RHEL path is 'lib64', not 'lib'
60
+ if [ "${LIBMONGOCRYPT_OS}" = "rhel-80-64-bit" ]; then
61
+ LIBMONGOCRYPT_SUFFIX_DIR="lib64"
62
+ fi
63
+ export MONGOCRYPT_LIB_DIR="$PROJECT_DIRECTORY/libmongocrypt/${LIBMONGOCRYPT_OS}/$LIBMONGOCRYPT_SUFFIX_DIR"
59
64
export LD_LIBRARY_PATH="$MONGOCRYPT_LIB_DIR:$LD_LIBRARY_PATH"
60
65
61
66
cat <<EOT > expansion.yml
@@ -1736,18 +1741,24 @@ axes:
1736
1741
variables :
1737
1742
VENV_BIN_DIR : " bin"
1738
1743
LIBMONGOCRYPT_OS : " ubuntu1804-64"
1744
+ - id : rhel-8.0
1745
+ display_name : " RHEL 8.0"
1746
+ run_on : rhel80-test
1747
+ variables :
1748
+ VENV_BIN_DIR : " bin"
1749
+ LIBMONGOCRYPT_OS : " rhel-80-64-bit"
1739
1750
- id : ubuntu-20.04
1740
1751
display_name : " Ubuntu 20.04"
1741
1752
run_on : ubuntu2004-test
1742
1753
variables :
1743
1754
VENV_BIN_DIR : " bin"
1744
1755
LIBMONGOCRYPT_OS : " ubuntu2004-64"
1745
- - id : ubuntu-18 .04-arm64
1746
- display_name : " ARM64 Ubuntu 18 .04"
1747
- run_on : ubuntu1804 -arm64-test
1756
+ - id : ubuntu-20 .04-arm64
1757
+ display_name : " ARM64 Ubuntu 20 .04"
1758
+ run_on : ubuntu2004 -arm64-test
1748
1759
variables :
1749
1760
VENV_BIN_DIR : " bin"
1750
- LIBMONGOCRYPT_OS : " ubuntu1804 -arm64"
1761
+ LIBMONGOCRYPT_OS : " ubuntu2004 -arm64"
1751
1762
- id : macos-11.00
1752
1763
display_name : " MacOS 11.00"
1753
1764
run_on : macos-1100
@@ -1833,9 +1844,9 @@ buildvariants:
1833
1844
matrix_name : " tests"
1834
1845
matrix_spec :
1835
1846
os :
1836
- - ubuntu-18.04
1847
+ - rhel-8.0
1837
1848
- ubuntu-20.04
1838
- - ubuntu-18 .04-arm64
1849
+ - ubuntu-20 .04-arm64
1839
1850
- macos-11.00
1840
1851
- windows-64-vs2017
1841
1852
auth-and-tls : " *"
@@ -1866,30 +1877,15 @@ buildvariants:
1866
1877
# generic Linux builds on them. These do not link to OpenSSL, so we have to skip
1867
1878
# the SSL tests on them.
1868
1879
- if :
1869
- os : " ubuntu-20.04"
1880
+ os : [ "ubuntu-20.04", "ubuntu-20.04-arm64"]
1870
1881
auth-and-tls : " *"
1871
1882
async-runtime : " *"
1872
1883
compressor : " *"
1873
1884
then :
1874
1885
remove_tasks : [".3.6", ".4.0", ".4.2"]
1875
- - if :
1876
- os : " ubuntu-18.04"
1877
- auth-and-tls : " auth-and-tls"
1878
- async-runtime : " *"
1879
- compressor : " *"
1880
- then :
1881
- remove_tasks : " .3.6"
1882
- # ubuntu 1804 ARM64 only has downloads for 4.2+
1883
- - if :
1884
- os : ["ubuntu-18.04-arm64"]
1885
- auth-and-tls : " *"
1886
- async-runtime : " *"
1887
- compressor : " *"
1888
- then :
1889
- remove_tasks : [".3.6", ".4.0"]
1890
1886
# haproxy isn't installed on windows / ubuntu-arm / macos 11
1891
1887
- if :
1892
- os : ["ubuntu-18 .04-arm64", "windows-64-vs2017", "macos-11.00"]
1888
+ os : ["ubuntu-20 .04-arm64", "windows-64-vs2017", "macos-11.00"]
1893
1889
auth-and-tls : " *"
1894
1890
async-runtime : " *"
1895
1891
compressor : " *"
@@ -1899,7 +1895,7 @@ buildvariants:
1899
1895
matrix_spec :
1900
1896
os :
1901
1897
- ubuntu-20.04
1902
- - ubuntu-18 .04-arm64
1898
+ - ubuntu-20 .04-arm64
1903
1899
- macos-11.00
1904
1900
- windows-64-vs2017
1905
1901
auth-and-tls :
@@ -1914,7 +1910,7 @@ buildvariants:
1914
1910
matrix_spec :
1915
1911
os :
1916
1912
- ubuntu-20.04
1917
- - ubuntu-18 .04-arm64
1913
+ - ubuntu-20 .04-arm64
1918
1914
- macos-11.00
1919
1915
- windows-64-vs2017
1920
1916
async-runtime : " *"
@@ -1925,7 +1921,7 @@ buildvariants:
1925
1921
- matrix_name : " serverless"
1926
1922
matrix_spec :
1927
1923
os :
1928
- - ubuntu-18 .04
1924
+ - ubuntu-20 .04
1929
1925
async-runtime : " *"
1930
1926
crypt-shared :
1931
1927
- " enabled"
@@ -1956,11 +1952,11 @@ buildvariants:
1956
1952
tasks :
1957
1953
- " test-csfle"
1958
1954
1959
- # There's no 4.2 build for ubuntu-20.04, so drop down to -18.04 .
1955
+ # There's no 4.2 build for ubuntu-20.04, so switch to rhel .
1960
1956
- matrix_name : " csfle-mongodb-version-old"
1961
1957
matrix_spec :
1962
1958
os :
1963
- - ubuntu-18.04
1959
+ - rhel-8.0
1964
1960
mongodb-version :
1965
1961
- " 4.2"
1966
1962
topology :
@@ -2028,11 +2024,11 @@ buildvariants:
2028
2024
tasks :
2029
2025
- " test-csfle"
2030
2026
2031
- # There's no 4.2 build for ubuntu-20.04, so drop down to -18.04 .
2027
+ # There's no 4.2 build for ubuntu-20.04, so switch to rhel .
2032
2028
- matrix_name : " csfle-mongocryptd-old"
2033
2029
matrix_spec :
2034
2030
os :
2035
- - ubuntu-18.04
2031
+ - rhel-8.0
2036
2032
mongodb-version :
2037
2033
- " 4.2"
2038
2034
topology :
@@ -2067,7 +2063,7 @@ buildvariants:
2067
2063
matrix_spec :
2068
2064
os :
2069
2065
- ubuntu-20.04
2070
- - ubuntu-18 .04-arm64
2066
+ - ubuntu-20 .04-arm64
2071
2067
- macos-11.00
2072
2068
- windows-64-vs2017
2073
2069
async-runtime : " *"
@@ -2130,7 +2126,7 @@ buildvariants:
2130
2126
- matrix_name : " compile-only"
2131
2127
matrix_spec :
2132
2128
os :
2133
- - ubuntu-18 .04
2129
+ - ubuntu-20 .04
2134
2130
extra-rust-versions : " *"
2135
2131
display_name : " ! Compile on Rust ${extra-rust-versions}"
2136
2132
tasks :
@@ -2139,7 +2135,7 @@ buildvariants:
2139
2135
- matrix_name : " versioned-api-tests"
2140
2136
matrix_spec :
2141
2137
os :
2142
- - ubuntu-18 .04
2138
+ - ubuntu-20 .04
2143
2139
async-runtime : " tokio"
2144
2140
versioned-api : " *"
2145
2141
display_name : " Versioned API ${versioned-api}"
0 commit comments