fix(gitpod): update to use mongosh (#50032

mongo is no longer installed with the workspace
pull/49997/merge
Shaun Hamilton 2023-04-10 16:11:31 +01:00 committed by GitHub
parent 6fc7045aee
commit 67c4723a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ tasks:
exit;
- name: db
# starting mongo in background, so it doesn't block prebuilds
# starting mongod in background, so it doesn't block prebuilds
before: >
mkdir -p /workspace/data &&
(mongod --dbpath /workspace/data &)
@ -51,7 +51,7 @@ tasks:
pnpm run create:config &&
pnpm run build:curriculum &&
pnpm run seed &&
mongo --eval "db.fsyncLock(); db.fsyncUnlock()" &&
mongosh --eval "db.fsyncLock(); db.fsyncUnlock()" &&
gp ports await 27017 &&
pnpm run develop:server