Repository navigation
[dtq-dev-93] Deploy: standard 7.6 → 9 upgrade without database repair - #1748
Merged
Merged
Conversation
Run `dspace database migrate ignored` (plus `database info`) instead of `database repair && migrate ignored`. The backend now resolves every CLARIN 7.6 migration, so repair is no longer needed and would only hide a real upgrade failure. Import the anonymized LINDAT dump (dspace_lindat_dump_26.11.19.sql) by default. It comes from clarin-v7 with the renamed migrations that the previous dev5 dump never had.
There was a problem hiding this comment.
🔵 Needs a closer look
Approval is deferred because the migration depends on an unmerged backend change, a rebuilt image, and an external LINDAT dump that require runtime validation.
No open issues 🎉
What changed in this PR
Updates the DSpace deployment workflow for the standard 7.6 → 9 migration and imports the anonymized LINDAT database dump.
Changes:
- Replaces the default development dump with the 2026-11-19 LINDAT dump.
- Runs
database migrate ignoredfollowed bydatabase infoinstead of repairing Flyway history. - Updates probe diagnostics to reflect the new migration flow.
| File | Description |
|---|---|
| .github/workflows/deploy.yml | Updates dump defaults, migration commands, and database-state diagnostics for the LINDAT deployment. |
Review effort: Lite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem description
Depends on: dataquest-dev/DSpace#1737
The import ran
database repair && migrate ignored.repairhid that aclarin-v7database cannot be upgraded, and our dev dump came fromdtq-dev, which does not have the problem.Analysis
./dspace database migrate ignored && ./dspace database info, withoutrepair.DUMP_PATHdefault:/opt/dspace-envs/8603/dump/dspace_lindat_dump_26.11.19.sql(anonymized LINDAT dump) instead ofdspace_dev5_dump_26.07.16.sql.Problems
Merge after DSpace#1737 and the rebuild of the
dtq-dev-93image, otherwise the import fails with "not resolved locally". The dump must be on dev-6 first.🤖 Generated with Claude Code