Skip to content

Commit 1369fcb

Browse files
GODRIVER-3445 Update system setup to use task for git submodule init
1 parent 9738b5f commit 1369fcb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.evergreen/config.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ functions:
3232
type: system
3333
params:
3434
directory: src/go.mongodb.org/mongo-driver
35-
- command: shell.exec
36-
params:
37-
working_dir: "src/go.mongodb.org/mongo-driver"
38-
script: |
39-
git submodule update --init
4035
# Make an env.sh and evergreen expansion file with dynamic values
4136
- command: subprocess.exec
4237
params:
@@ -49,6 +44,10 @@ functions:
4944
# Define an alias for the task runner script.
5045
TASK_RUNNER_ALIAS: &task-runner src/go.mongodb.org/mongo-driver/.evergreen/run-task.sh
5146
args: [.evergreen/setup-system.sh]
47+
- command: subprocess.exec
48+
params:
49+
binary: bash
50+
args: [*task-runner, init-submodule]
5251
- command: expansions.update
5352
params:
5453
file: src/go.mongodb.org/mongo-driver/expansion.yml

0 commit comments

Comments
 (0)