-
Notifications
You must be signed in to change notification settings - Fork 3
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
Manual build trigger button (#45) resolved #80
Conversation
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.
Using the /pubvalidate
route does not work with private repositories.
Further the public validation does not link the latest
validation and therefore a triggered validation run would not show up on the results page which is what the issue tries to solve.
Most probably a new route is required that checks the permissions internally, runs the required validation and links the results appropriately.
<td class="name four wide"><form action="/pubvalidate" method="post"> | ||
<input type="hidden" name="validator" value="{{$hookname}}" /> | ||
<input type="hidden" name="repopath" value="{{$.FullName}}" /> | ||
<input type="submit" value="Validate once" /> |
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.
Please change text to "Run validation"
@@ -84,6 +84,11 @@ const RepoPage = ` | |||
{{range $hookname, $hook := .Hooks}} | |||
<tr> | |||
<td class="name text bold four wide"><a href="">{{$hookname | ToUpper}}</a></td> | |||
<td class="name four wide"><form action="/pubvalidate" method="post"> |
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.
Using the /pubvalidate
route does not work with private repositories.
Closes G-Node#45 The button is added directly to the template
Pull Request Test Coverage Report for Build 2567213961
💛 - Coveralls |
This PR is closed for now due to the fact that private repositories are in this state hard to validate. |
Closes #45
The button is added directly to the template