Earlier quoted context omitted.
I suspect due to the sheer number of internal deploys, Gitlab does not always get the exposure warranted. 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.
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.
Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
51–60 of 76 posts
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#52For anyone interested, there‘s a similar CLI for GitHub: https://github.com/cli/cli
It is a wrapper around git (you can alias it to the git command) that adds GH-aware things, like checking out a PR by URL or number, or opening up the repo page with `git browse`.
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#53Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#54Hosted on github. Ah the irony. Feels like a missed opportunity. On another note no have been using the GitHub cli client and it is great to be able to quickly create a PR from where I did the last push.
If making someone create a new account on Gitlab means they won't contribute to a project, then I'd rather publish it on GitHub instead, even if GitHub is closed-source. The network of GitHub is intrinsic to that website and Gitlab might not ever be able to replicate the size of its userbase. (Of course, if I'm proven wrong I'd migrate.)
Yes, it doesn't help Gitlab to have this mentality, but out of the dozens of OSS repositories I've used only two have come from Gitlab. Every single other one I had originally found on GitHub.
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#55Earlier quoted context omitted.
How I usually do it if I want to have my project on Github and Gitlab is configure two push remotes like this: > git remote set-url --add --push origin > git remote set-url --add --push origin This way I have an automatic backup to the second remote.
Does this mean when you `git push origin ` it gets pushed to both remotes? I had no idea you could have two remotes with the same name, neat!
https://jigarius.com/blog/multiple-git-remote-repositories#t...
However, you can add multiple URLs to 'origin' and push to them all at once.
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#56Hosted on github. Ah the irony. Feels like a missed opportunity. On another note no have been using the GitHub cli client and it is great to be able to quickly create a PR from where I did the last push.
The only reason I choose GitHub over Gitlab is the network effect. If making someone create a new account on Gitlab means they won't contribute to a project, then I'd rather publish it on GitHub instead, even if GitHub is closed-source. The network of GitHub is intrinsic to that website and Gitlab might not ever be able to replicate the size of its userbase. (Of course, if I'm proven wrong I'd migrate.) Yes, it doesn…
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#57Earlier quoted context omitted.
The only reason I choose GitHub over Gitlab is the network effect. If making someone create a new account on Gitlab means they won't contribute to a project, then I'd rather publish it on GitHub instead, even if GitHub is closed-source. The network of GitHub is intrinsic to that website and Gitlab might not ever be able to replicate the size of its userbase. (Of course, if I'm proven wrong I'd migrate.) Yes, it doesn…
Why would they contribute to this project if they don't have a gitlab account?
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#58Earlier quoted context omitted.
I maintain a bunch of docker images that are purposed to run on gitlab ci, they are obviously hosted on github because only github has push-event integrations with docker hub. I make a push, docker hub builds and publishes the image, the image is only pulled by gitlab ci. Gitlab is great, but it lacks many popular integrations that must come from not-gitlab.
I imagine that's an oversight of sorts because you could just build the images on gitlab too.
1. I need to run gitlab ci myself on my host(s)
2. My host must be logged in to docker hub
3. Gitlab CI must run as privileged container
4. There are more hacks required to let gitlabci build the image and push as me.
on github you just authorize docker-hub to get webhooks from github, and that's it, it does the rest itself.
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#59Earlier quoted context omitted.
I maintain a bunch of docker images that are purposed to run on gitlab ci, they are obviously hosted on github because only github has push-event integrations with docker hub. I make a push, docker hub builds and publishes the image, the image is only pulled by gitlab ci. Gitlab is great, but it lacks many popular integrations that must come from not-gitlab.
Can't you build and push via CI?
Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
#60Earlier quoted context omitted.
I have somewhat similar experience. I have 16GB of RAM, 12 CPU. You can reduce the number of unicorn workers in `config/gitlab.rb`.
That was a theory I had: That Unicorn leaks and that Unicorn Killer is not killing any of the workers, since it does so all 160 requests and there are no request happening at the moment. Then I saw the new installation uses Puma ;)
Both Puma and Unicorn should be killed after they exceed a certain size to avoid this situation from happening. It's possible either this is not working in some situations/configurations, or there is a leak elsewhere although this is the first time I have heard reports of this.
What configuration is being changed from the defaults? Alternatively if you could open an issue with any additional detail we will try to figure out what is happening and fix it: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues