Skip to content

Commit adc90c5

Browse files
committed
another docker fix
1 parent 4e51908 commit adc90c5

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,17 +375,14 @@ functions:
375375
type: test
376376
params:
377377
binary: "bash"
378-
env:
379-
TASKFILE_TARGET: test-short
380-
args: ["${RUN_TASK}", run-docker]
378+
args: ["${RUN_TASK}", run-docker, --, test-short]
381379
- command: subprocess.exec
382380
type: test
383381
params:
384382
binary: "bash"
385383
env:
386384
TOPOLOGY: sharded_cluster
387-
TASKFILE_TARGET: test-short
388-
args: ["${RUN_TASK}", run-docker]
385+
args: ["${RUN_TASK}", run-docker, --, test-short]
389386

390387
run-valid-ocsp-server:
391388
- command: shell.exec

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ tasks:
5555
status:
5656
- test -d install || test -d /cygdrive/c/libmongocrypt/bin
5757

58-
run-docker: bash etc/run_docker.sh
58+
run-docker: bash etc/run_docker.sh {{.CLI_ARGS}}
5959

6060
run-fuzz: bash etc/run-fuzz.sh
6161

etc/run_docker.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ PLATFORM=${DOCKER_PLATFORM:-}
1111
docker build $PLATFORM -t go-test .
1212

1313
# Handle environment variables and optional positional arg for the taskfile target.
14-
TASKFILE_TARGET=${TASKFILE_TARGET:-$1}
15-
TASKFILE_TARGET=${TASKFILE_TARGET:-evg-test-versioned-api}
14+
TASKFILE_TARGET=${1:-evg-test-versioned-api}
1615
GO_BUILD_TAGS=${GO_BUILD_TAGS:-""}
1716

1817
ARGS=" -e TASKFILE_TARGET=$TASKFILE_TARGET"

0 commit comments

Comments
 (0)