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

mongo is no longer installed with the workspace
This commit is contained in:
Shaun Hamilton
2023-04-10 16:11:31 +01:00
committed by GitHub
parent 6fc7045aee
commit 67c4723a06

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