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

feat: migration preparation & global package upgrade for mongodb V7 #1281

Merged
merged 117 commits into from
Jun 29, 2024

Conversation

kevbarns
Copy link
Collaborator

@kevbarns kevbarns commented May 31, 2024

https://mna-matcha.atlassian.net/browse/LBA-2148

  • update zod, mongodb, mongoose, bson, zod-mongodb-schema packages
  • fix zod typing
  • fix tests
  • add @ts-ignore for incompatibility issues with mongoose, to be removed when fully migrated to mongodb

https://mna-matcha.atlassian.net/browse/LBA-2146

  • add mongoDBUtils.ts with all DB methods
  • prepare main.ts to exploit new DB connection
  • add global models.ts exports
  • update all models with a global export as IModelDescriptor interface
  • update common.ts with collection names
  • add create index script & prepare infra scripts

@kevbarns kevbarns self-assigned this May 31, 2024
Copy link

To deploy this PR just add a comment with a simple 🚀

@kevbarns
Copy link
Collaborator Author

🚀

1 similar comment
@kevbarns
Copy link
Collaborator Author

🚀

@kevbarns
Copy link
Collaborator Author

🚀

@kevbarns
Copy link
Collaborator Author

🚀

3 similar comments
@kevbarns
Copy link
Collaborator Author

🚀

@kevbarns
Copy link
Collaborator Author

🚀

@kevbarns
Copy link
Collaborator Author

🚀

Copy link

🚑 Prévisualisation failed

https://1281.labonnealternance-preview.apprentissage.beta.gouv.fr/

You can get error logs using .bin/mna-lba deploy:log:decrypt 9679338928
You can access runner logs in https://github.com/mission-apprentissage/labonnealternance/actions/runs/9679338928

To re-deploy just add a comment with 🚀

@kevbarns kevbarns merged commit d3d9866 into main Jun 29, 2024
5 of 6 checks passed
@kevbarns kevbarns deleted the feat-migration-mongodb+v6-merged branch June 29, 2024 04:48
Copy link

🎉 This PR is included in version 1.359.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants