Skip to content

Commit e835eda

Browse files
committed
fixes
1 parent 189744e commit e835eda

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.evergreen/build-nextest-archive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ FEATURE_FLAGS+=("${STANDARD_FEATURES[@]}")
1010

1111
add_conditional_features
1212

13-
if [[ "$IN_USE_ENCRYPTION" = true ]]; then
13+
if [[ "$ARCHIVE_IN_USE_ENCRYPTION" = true ]]; then
1414
FEATURE_FLAGS+=("in-use-encryption" "azure-kms" "text-indexes-unstable" "aws-auth")
1515
fi
1616

.evergreen/config.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ buildvariants:
122122
expansions:
123123
AUTH: auth
124124
SSL: ssl
125+
LIBMONGOCRYPT_OS: windows-test
125126
tasks:
126127
- name: build-nextest-archive
127128
- name: .standalone
@@ -352,7 +353,7 @@ buildvariants:
352353
LIBMONGOCRYPT_OS: rhel-80-64-bit
353354
AUTH: auth
354355
SSL: ssl
355-
IN_USE_ENCRYPTION: true
356+
ARCHIVE_IN_USE_ENCRYPTION: true
356357
tasks:
357358
- name: build-nextest-archive
358359
- .in-use-encryption
@@ -367,7 +368,7 @@ buildvariants:
367368
AUTH: auth
368369
SSL: ssl
369370
DISABLE_CRYPT_SHARED: true
370-
IN_USE_ENCRYPTION: true
371+
ARCHIVE_IN_USE_ENCRYPTION: true
371372
tasks:
372373
- name: build-nextest-archive
373374
- .in-use-encryption
@@ -381,7 +382,7 @@ buildvariants:
381382
AUTH: auth
382383
SSL: ssl
383384
OPENSSL: true
384-
IN_USE_ENCRYPTION: true
385+
ARCHIVE_IN_USE_ENCRYPTION: true
385386
tasks:
386387
- name: build-nextest-archive
387388
- test-in-use-encryption-rapid
@@ -1349,7 +1350,7 @@ tasks:
13491350

13501351
- name: build-nextest-archive
13511352
commands:
1352-
- func: "install libmongocrypt"
1353+
- func: "optional install libmongocrypt"
13531354
- command: subprocess.exec
13541355
type: setup
13551356
params:
@@ -1363,7 +1364,7 @@ tasks:
13631364
- ZSTD
13641365
- ZLIB
13651366
- SNAPPY
1366-
- IN_USE_ENCRYPTION
1367+
- ARCHIVE_IN_USE_ENCRYPTION
13671368
- MONGOCRYPT_LIB_DIR
13681369
- LD_LIBRARY_PATH
13691370
- command: s3.put
@@ -1612,6 +1613,16 @@ functions:
16121613
${PREPARE_SHELL}
16131614
.evergreen/install-dependencies.sh libmongocrypt
16141615
1616+
"optional install libmongocrypt":
1617+
command: shell.exec
1618+
params:
1619+
working_dir: src
1620+
script: |
1621+
${PREPARE_SHELL}
1622+
if [[ "${ARCHIVE_IN_USE_ENCRYPTION}" == "true" ]]; then
1623+
.evergreen/install-dependencies.sh libmongocrypt
1624+
fi
1625+
16151626
"install junit dependencies":
16161627
command: shell.exec
16171628
params:
@@ -1667,7 +1678,7 @@ functions:
16671678
- command: subprocess.exec
16681679
params:
16691680
binary: bash
1670-
args: ["-c", "sleep 30s"]
1681+
args: ["-c", "sleep 30"]
16711682

16721683
"run driver test suite":
16731684
- command: subprocess.exec

0 commit comments

Comments
 (0)