-
Notifications
You must be signed in to change notification settings - Fork 51
Automated build of binaries from master to a dev tag using Travis #83
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
Conversation
not a problem, we can do that when ready. |
@skateman I commented over on #81 (comment) to keep the discussion in one place. |
1fd660f
to
ab8483d
Compare
Once ManageIQ/manageiq-ui-classic#1682 is green, I'll run the script manually to update the |
Oh I can make the GITHUB_AUTH now, I just have to remember how 😂 |
@skateman You'll also want to remove
from .gitignore.. |
Ran the script manually, pushed to the |
ab8483d
to
6eac076
Compare
@skateman We probably also want to add
to |
@himdel if Travis is configured to build only when a |
Well, then we need the |
ok GITHUB_AUTH is created. |
That is the current configuration, however you may want it anyway if you decide to create things like dev branches or whatever. |
Ok, merged the ui-classic PR, seems like the branch is working :). So.. merging, and we should watch travis to see if it works there as well.. |
@Fryguy Agreed, will do :) |
Added a simple README - https://github.com/ManageIQ/ui-components/tree/bower-dev |
@Fryguy I'm pretty sure Travis is attempting to run on all the branches now, regardless of https://travis-ci.org/ManageIQ/ui-components/builds/253175668#L6 |
@skateman So.. not sure if it works .. https://travis-ci.org/ManageIQ/ui-components/builds/253258727#L1346 would seem to indicate that yes, it ran perfectly... But I'm not seeing the commit appearing on that branch. Not sure if we can drop that |
@himdel we can't 😉 |
Debugging by temporarily adding a (The idea being that Travis: https://travis-ci.org/ManageIQ/ui-components/builds/253278676 |
So, yup, the commit didn't happen, but there's probably nothing wrong. Turns out, you need actual code changes for the compiled code to change :D. Trying that once I find a mergable PR... |
Merged #86 ... Travis: https://travis-ci.org/ManageIQ/ui-components/builds/253285727 |
aaah.. found the problem...
|
After the fix... https://travis-ci.org/ManageIQ/ui-components/builds/253292826 |
Sounds better, the commit was actually created now :).
Which would sound perfect, except for the fact I can't see it in https://github.com/ManageIQ/ui-components/commits/bower-dev :( |
Any chance you need to push Either way, going for today, for now as a workardound, all the mergers can run the script manually to update the branch.. but we'll need to figure this out :) |
I don't think you need the |
This could definitely happen if the changes in the PR are things like README changes that would not change the dist at all. I think the script needs to handle this case. |
Removing that
Looks like it alrady handles that case :D. |
So.. I've updated the script to output The script works, both on travis and locally, if I run the same with |
It resolves #81, but still needs an
username:token
pair for miq-bot to set asGITHUB_AUTH
in Travis' secret environment variables. Basically something similar (or even the same) as we have for font-fabulous. @Fryguy ??