Closed nguillaumin closed 5 years ago
@stgraveyard I need you to review and approve this to fix the auto-deployment.
You can't easily test it, but it should make sense looking at the previous error and the logs:
The bug was when the branch was not development
, the build was failing (see your other pull request about the release type). Here you can see the branch is not development
and the build worked. If you look at the shippable logs, you can see it didn't deploy anything (there is no call to rsync in the build_on_success
phase).
But, in order to make shippable work again, we need to merge this one then?
Well, yes, that's what I said in my first comment:
@stgraveyard I need you to review and approve this to fix the auto-deployment.
I'm not sure what the confusion is here :smile: ?
Confusion? Well, you don't seem to merge it :-D
There's the confusion :wink:
We should probably set some ground rules about merge requests, because I feel that happens often. Perhaps something like "Noone should merge their own MR until they've been sitting there for more than 3 days" or something.
I'll merge it now.
Ok, but, why make it this complex. Now at least 1 person needs to review it. So in the end, the creator and another one has taken a look at the code. Once reviewed, the creator of the branch may merge. And than @stefanjl and the others can test on Dev. So it is always the creator who merges the pull, after the review. Not good, or am I missing something? Did/do you expect you can't merge your own pull requests?
Can this branch be deleted or not yet?
It's not a typical workflow in software development. Usually the person who reviews merge (if they're happy with it). It's simpler (one less back and forth between the author and the reviewer) and it's a good incentive for the reviewer to do a thorough review because they take become responsible of having merged and deployed the code.
The branch can be delete, I'll do it.
Ok, I like that workflow as well. Lets make it happen ;)
Ok cool. One thing to keep in mind with that though is that it means we should create merge requests only for stuff that's ready to be merged, not work in progress (however just pushing the branch is fine)
Good Point
Shippable doesn't like
exit 0
it looks like, it causes the build to fail. Usereturn 0
instead.