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(cli): add a flag to fail on migration errors #2349

Merged
merged 1 commit into from Sep 22, 2021

Conversation

m-alisafaee
Copy link
Contributor

@m-alisafaee m-alisafaee commented Sep 21, 2021

Description

Add a --strict hidden flag to allow migrations to fail in tests. Some refactoring. I also removed one of the old projects that we use for migration test; the problem was that datasets' JSON-LD metadata generated by renku is not valid at v0.5.0 and this project cannot be migrated without error. We have another project from v0.5.1 that tests the same migration.

Fixes #2337

@m-alisafaee m-alisafaee marked this pull request as ready for review September 22, 2021 12:45
@m-alisafaee m-alisafaee requested a review from a team as a code owner September 22, 2021 12:45
Copy link
Member

@Panaetius Panaetius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the refactoring with migration type! Looks great 👍

@m-alisafaee m-alisafaee merged commit 0a3aab1 into master Sep 22, 2021
@m-alisafaee m-alisafaee deleted the 2337-fail-migrations-on-errors branch September 22, 2021 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow migrations to fail on errors
2 participants