-
Notifications
You must be signed in to change notification settings - Fork 16
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
Setuptools installer, Dockerfile, and updated BuildConfig #42
Conversation
- Uses package version of calrissian and cwltool
- Includes an imagestream that imports python:3.6 from docker hub, since otherwise openshift will use a centos/rhel-flavored base image. apt-get install nodejs doesnt work there - config was generated from oc new-build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM.
Noticed the --version
command line flag just prints help.
openshift/BuildConfig.yaml
Outdated
@@ -33,16 +33,11 @@ items: | |||
resources: {} | |||
source: | |||
git: | |||
ref: master | |||
uri: https://github.com/Duke-GCB/calrissian | |||
ref: 40-packaging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: You probably want to make this master before committing.
|
||
def version(): | ||
return 'Calrissian-dev' | ||
return 'calrissian {} (cwltool {})'.format(calrissian_version(), cwltool_version()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried calrissian --version
and it just printed help. I expected to see version info like cwltool
does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to #43. This happens because calrissian checks for its required args and exits with help before passing the args to cwltool's main()
. --version
isn't checked until inside cwltool's main()
, so I need to duplicate that handling in calrissian.
calrissian
instead ofpython -m ...
version.py
to report the version of calrissian and cwltoolpython:3.6
(includes nodejs)Dockerfile
instead of a source-to-image build.calrissian
CLI script ascommand
and arguments asargs
.Fixes #40