Skip to content

Commit 6f398ca

Browse files
committed
Also respect shebang in EVG direct script invocations
1 parent 4c02e31 commit 6f398ca

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

.mci.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ functions:
6161
type: setup
6262
params:
6363
binary: bash
64-
args: [mongo-cxx-driver/.evergreen/abi-compliance-check-setup.sh]
64+
args: [-c, mongo-cxx-driver/.evergreen/abi-compliance-check-setup.sh]
6565
- command: subprocess.exec
6666
type: test
6767
params:
6868
binary: bash
69-
args: [mongo-cxx-driver/.evergreen/abi-compliance-check-test.sh]
69+
args: [-c, mongo-cxx-driver/.evergreen/abi-compliance-check-test.sh]
7070
- command: s3.put
7171
type: system
7272
params:
@@ -117,12 +117,12 @@ functions:
117117
type: setup
118118
params:
119119
binary: bash
120-
args: [mongo-cxx-driver/.evergreen/abidiff-setup.sh]
120+
args: [-c, mongo-cxx-driver/.evergreen/abidiff-setup.sh]
121121
- command: subprocess.exec
122122
type: test
123123
params:
124124
binary: bash
125-
args: [mongo-cxx-driver/.evergreen/abidiff-test.sh]
125+
args: [-c, mongo-cxx-driver/.evergreen/abidiff-test.sh]
126126
- command: s3.put
127127
type: system
128128
params:
@@ -151,7 +151,7 @@ functions:
151151
type: test
152152
params:
153153
binary: bash
154-
args: [mongo-cxx-driver/.evergreen/abi-prohibited-symbols-test.sh]
154+
args: [-c, mongo-cxx-driver/.evergreen/abi-prohibited-symbols-test.sh]
155155

156156
"setup":
157157
- command: shell.exec
@@ -338,7 +338,6 @@ functions:
338338
command: subprocess.exec
339339
params:
340340
binary: bash
341-
working_dir: "."
342341
args:
343342
- -c
344343
- |
@@ -583,7 +582,6 @@ functions:
583582
"upload mongo orchestration artifacts":
584583
- command: subprocess.exec
585584
params:
586-
working_dir: "."
587585
binary: bash
588586
args:
589587
- -c
@@ -659,9 +657,7 @@ functions:
659657
working_dir: "mongo-cxx-driver"
660658
add_expansions_to_env: true
661659
redirect_standard_error_to_output: true
662-
args:
663-
- -c
664-
- .evergreen/compile-scan-build.sh
660+
args: [-c, .evergreen/compile-scan-build.sh]
665661

666662
"upload scan artifacts":
667663
- command: subprocess.exec
@@ -711,9 +707,7 @@ functions:
711707
- ARTIFACTORY_PASSWORD
712708
- SILK_CLIENT_ID
713709
- SILK_CLIENT_SECRET
714-
args:
715-
- -c
716-
- .evergreen/check-augmented-sbom.sh
710+
args: [-c, .evergreen/check-augmented-sbom.sh]
717711

718712
"upload augmented sbom":
719713
- command: s3.put
@@ -1287,7 +1281,7 @@ task_groups:
12871281
- command: subprocess.exec
12881282
params:
12891283
binary: bash
1290-
args: [mongo-cxx-driver/.evergreen/abi-stability-setup.sh]
1284+
args: [-c, mongo-cxx-driver/.evergreen/abi-stability-setup.sh]
12911285
include_expansions_in_env: [cxx_standard]
12921286
tasks: [".abi-stability"]
12931287
teardown_task_can_fail_task: true
@@ -1308,8 +1302,7 @@ task_groups:
13081302
add_expansions_to_env: true
13091303
env:
13101304
MONGODB_VERSION: '7.0'
1311-
args:
1312-
- ${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh
1305+
args: [-c, "${DRIVERS_TOOLS}/.evergreen/atlas/setup-atlas-cluster.sh"]
13131306
- command: expansions.update
13141307
# Expected to set MONGODB_URI expansion.
13151308
params:
@@ -1320,8 +1313,7 @@ task_groups:
13201313
working_dir: mongo-cxx-driver
13211314
binary: bash
13221315
add_expansions_to_env: true
1323-
args:
1324-
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
1316+
args: [-c, "${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh"]
13251317
setup_group_can_fail_task: true
13261318
setup_group_timeout_secs: 1800
13271319
tasks:

0 commit comments

Comments
 (0)