https://github.com/lren-chuv/data-catalog-setup
Migration scripts for the Data Catalog database used to capture provenance information on all files
https://github.com/lren-chuv/data-catalog-setup
data-factory database-migrations docker-image
Last synced: 3 months ago
JSON representation
Migration scripts for the Data Catalog database used to capture provenance information on all files
- Host: GitHub
- URL: https://github.com/lren-chuv/data-catalog-setup
- Owner: LREN-CHUV
- License: apache-2.0
- Created: 2017-01-03T13:38:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T17:50:24.000Z (over 7 years ago)
- Last Synced: 2025-01-19T15:35:13.865Z (5 months ago)
- Topics: data-factory, database-migrations, docker-image
- Language: Python
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.unil.ch/lren/en/home.html) [](https://github.com/LREN-CHUV/data-catalog-setup/blob/master/LICENSE) [](https://hub.docker.com/r/hbpmip/data-catalog-setup/) [](https://www.codacy.com/app/hbp-mip/data-catalog-setup?utm_source=github.com&utm_medium=referral&utm_content=LREN-CHUV/data-catalog-setup&utm_campaign=Badge_Grade) [](https://circleci.com/gh/LREN-CHUV/data-catalog-setup)
# Data Catalog Setup
Migration scripts for the Data Catalog database used to capture provenance information on all files managed by the Data Factory.
## Introduction
This project provides a Docker container including Alembic and a Python model of the Data Catalog schema to setup and migrate this schema in a target database.
## Usage
Example:
`docker run --rm -e "DB_URL=postgresql://postgres:postgres@localhost:5432/postgres" hbpmip/data-catalog-setup:1.6.0 upgrade
head`## Build
Run: `./build.sh`
## Test
Run: `cd tests && ./test.sh`
## Publish on Docker Hub
Run: `./publish.sh`
## License
Copyright (C) 2017 [LREN CHUV](https://www.unil.ch/lren/en/home.html)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.# Acknowledgements
This work has been funded by the European Union Seventh Framework Program (FP7/20072013) under grant agreement no. 604102 (HBP)
This work is part of SP8 of the Human Brain Project (SGA1).