Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-7461 - upgrade mongodb server to version 6 #5082

Merged
merged 10 commits into from
Jul 11, 2024
4 changes: 2 additions & 2 deletions .github/workflows/migrations.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Reminder to update seed data after migration
# If this workflow fails, it is a hint that you forgot to update the seed data after a migration.
# It is only a hint, because it only checks if you updated the migration collection in the seed data.
# It is only a hint, because it only checks if you updated the migration collection in the seed data.
# It is not a check that you updated the whole seed data correctly.
# See the documentation for advice: https://documentation.dbildungscloud.dev/docs/schulcloud-server/Migrations#committing-a-migration

Expand All @@ -11,7 +11,7 @@ on:
branches: [ main ]

env:
MONGODB_VERSION: 5.0
MONGODB_VERSION: 6.0
NODE_VERSION: '18'
jobs:
migration:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
needs:
- build_and_push
- branch_meta
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e_call.yml@main
uses: hpi-schul-cloud/end-to-end-tests/.github/workflows/e2e_call.yml@BC-7461-mongo6
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
with:
ref: ${{ needs.branch_meta.outputs.branch }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
contents: read

env:
MONGODB_VERSION: 5.0
MONGODB_VERSION: 6.0
NODE_VERSION: '18'
jobs:
feathers_tests_cov:
Expand Down
2 changes: 1 addition & 1 deletion apps/server/test/globalSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { MongoMemoryServer } from 'mongodb-memory-server-global';
export = async function globalSetup() {
const instance = await MongoMemoryServer.create({
binary: {
version: '5.0.26',
version: '6.0.15',
MartinSchuhmacher marked this conversation as resolved.
Show resolved Hide resolved
},
});
const uri = instance.getUri();
Expand Down
Loading