https://github.com/mlin/pfda2dockstore
Export precisionFDA apps to Dockstore
https://github.com/mlin/pfda2dockstore
Last synced: about 1 year ago
JSON representation
Export precisionFDA apps to Dockstore
- Host: GitHub
- URL: https://github.com/mlin/pfda2dockstore
- Owner: mlin
- Created: 2016-12-16T22:46:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T21:20:55.000Z (about 9 years ago)
- Last Synced: 2025-04-03T10:37:48.635Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pfda2dockstore
Export precisionFDA apps to Dockstore
## GitHub Repo Creation
This script (`createrepo.py`) takes your Github token and an organization name and creates a repository in it with a given CWL and Dockerfile. I had to use two libraries here because PyGithub has a bug when creating a release.
pip install PyGithub agithub
python createrepo.py --token $GITHUB_TOKEN --org pfda2dockstore --tool test5 --tag 1.0.0
This will create a test5 repo in Github under the pfda2dockstore organization.
## TODO
* working through tagging, I need to merge with Mike's script
## Quay.io Repo Creation
Actions:
* Given a Quay token, and Github token, and github repo:
* Initialize a quay repo with the same name from a Dockerfile in the github repo
* Setup auto build on any new tag or branch update
## Dockstore Registration
Need to add this code, Ola is working on this.
----
Inputs: Github Token, Quay.io token, reponame, list of files