Re:Take Gitlab to the command line with GLab, an open-source...
by vasergen on Thursday August 06, 2020 @12:29PM
(#24072526)
you can create a merge request as well using only git, gitlab support it
git push -o merge_request.create
I have it under alias `gmr`, it will use default branch as a target
Re:Take Gitlab to the command line with GLab, an open-source...
by mdaniel on Thursday August 06, 2020 @04:08PM
(#24074911)
And the infinitely handy "push -o ci.variable=ALPHA=BETA" or its friend "push -o ci.skip" to influence the CI job that's created, if any, due to the push
https://docs.gitlab.com/ee/user/project/push_options.html#pu...
Re:Take Gitlab to the command line with GLab, an open-source...
by jolmg on Thursday August 06, 2020 @08:04PM
(#24076678)
That's the first I've read of `push -o`. Does GitHub have push options like that as well?
Re:Take Gitlab to the command line with GLab, an open-source...
by mdaniel on Thursday August 06, 2020 @09:53PM
(#24077246)
That's the first I ever heard of it, either, and was unable to find out if those options are exposed more generally to the CI pipeline (so can I make my own "-o" toys?)
I don't recall ever hearing of any such thing in GitHub, and their help search is so atrocious I don't know that I'd be able to find the answer even now. That said, I can't imagine that kind of customization fits into GitHub's mental model, which goes double given that they just recently even _developed_ a CI system to which one could send those options
Re:Take Gitlab to the command line with GLab, an open-source...
by awild on Thursday August 06, 2020 @09:36AM
(#24070726)
Can you expand on that scenario, how are you hosting the internal runners? Our gitlab server is quite limited in capacity and that would actually be a cool solution to outsource them onto our bigger servers.
My work place is switching from internal Gitlab/gitlab-runners to external gitlab.com + internal gitlab-runners. We are very happy with both scenarios, but neither gains Gitlab any exposure.