-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a persistence package for database integration using Ent, with support for SQLite and MySQL databases. Define database schema with a single `sip` table with `name` and `checksum` columns that will be used to check for duplicates at the bigginging of the preprocessing workflow. The persistence layer will only be used when `checkDuplicates` is set to `true` in the configuration. Update the dev env/overlay to use an SQLite database and the Enduro env/overlay to use MySQL. Enable `cgo` at build time and install `gcc` and `musl-dev` in the build Docker image to be able to build an static binary that uses `github.com/mattn/go-sqlite3`. [skip-codecov]
- Loading branch information
Showing
44 changed files
with
4,044 additions
and
48 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.