Skip to content

Commit 15ff9df

Browse files
committed
try use modules
1 parent de07d7f commit 15ff9df

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.evergreen/functions.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ post:
126126
- command: attach.xunit_results
127127
params:
128128
file: src/.logs/*.xml
129+
modules:
130+
- name: compass-mongodb-com
131+
owner: 10gen
132+
repo: compass-mongodb-com
133+
prefix: ".." # put it next to src which contains compass
134+
branch: main
129135
functions:
130136
clone:
131137
- command: git.get_project
@@ -663,12 +669,10 @@ functions:
663669
- command: shell.exec
664670
type: setup
665671
params:
666-
working_dir: src
672+
working_dir: compass-mongodb-com
667673
shell: bash
668674
script: |
669675
set -e
670-
git clone https://github.com/10gen/compass-mongodb-com.git ../compass-mongodb-com
671-
cd ../compass-mongodb-com
672676
echo "Using node version:";
673677
node -v;
674678
echo "Using npm version:";

0 commit comments

Comments
 (0)