-
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
add workflows for building PRs and dev-branches #90
Conversation
The branch names for pull-requests are not yet "that nice". But at least you have a PR-build branch. ;) @AObuchow Do you have suggestions on what format PR-build-branches should have? |
Oh, there's another problem I just realized:
The workflow tries to create a branch on your repo. It should create the PR-build-branch on the repo-fork which created the PR. |
Actually, I don't know yet how to solve this. |
Is the PR ID # (used in the branch name) the same as the pull request #? Eg. this pull request is #90. If it is, then this seems fine/good to me for now :) I'm used to looking up jenkins builds by PR # |
Yes, for example, I've got this: |
Yes your logic is correct. In all honesty - it's okay if we don't have it building on a PR as the user will have their own updatesite build on their fork (covered by your Build Branch workflow). The PR submitter could just link the updatesite for their branch on their fork in their PR (This is what I originally intended for #87 but didn't actually communicate it, my bad) |
In that case, could we make it be something like Also, can you also delete the travis.yml in this PR :) |
Ok, then I'll remove the PR workflow from the PR again. |
Sounds good thank you :) Sorry for the extra/removed work for the PR workflow!
Sounds good to me :) We need to think of how to cover this case, if its actually possible |
@ingomohr looks great to me :D Any last minute concerns/thoughts before I merge? |
I've tested both workflows - and if I don't miss a typo (I had "upsatesite" instad of "updatesite" at one point, but fixed it) :) |
@ingomohr typo's can be fixed later on if I notice them ;) I quickly checked and didn't see any. |
Yes, it should - it's in the PR if I see it correctly. |
@ingomohr ah yes sorry, I meant .travis.yml |
ah, that one. - For sure! ;) Gimme a sec... |
@@ -0,0 +1,34 @@ | |||
# This workflow builds the plugin, feature and update site and pushes the update | |||
# site to a dedicated branch called "updatesite" on the Githu repo. |
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.
It's good to merge :) The only typo I found is "Githu" repo, at the end of this line (sorry about the annoyance) :P
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.
damn. Thank you for finding it! :)
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.
Should've been fixed in both workflow files. :)
Perfect! Thank you so much @ingomohr this is really awesome and it's nice to be finally using your new workflow ;) |
There are now 3 workflows:
All three build the POM and with it the p2 updatesite.