-
Notifications
You must be signed in to change notification settings - Fork 6
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
Git Webhook Koji Target variable #1
Comments
Thats true if you have more than one build target. You would need to parse out the build target by the repo name or by a commit message tag like I did with #scratch. Or by any other variable that Github sends you. |
True then.
|
Its not a Koji plugin. Its a standalone script that starts an tornado httpd. So you have to pick a free port. You cant use a port that apache is binding to. If you want it to be served from apache, you would need to rewrite the script. Remove tornado etc.. |
I am sorry! I still can't get it. -EDIT: |
"pip install tornado" Koji modules are installed along with Koji. For refactoring, you would need to remove the tornado skeleton and server the python script with mod_python. Its easier to just use it as it is and have a secondary httpd by the tornado. |
The KOJI-TARGET variable has a fixed value : 'dist-centos6' which is not what we want n that case.
We need a way to get dynamically the TARGET value.
The text was updated successfully, but these errors were encountered: