News for hackers. Stuff that matters.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by markdog12 on Sunday January 22, 2017 @04:28PM (#13457604)
Using Gitlab at our company and I love it. I could never agree with the "small teams don't need/want time tracking" argument, so I'm very happy to see they released it for CE.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @04:38PM (#13457677)
I'm glad to hear that. BTW The conversation about if this should be in CE happend in https://about.gitlab.com/2016/12/08/announcing-gitlab-enterp... and https://gitlab.com/gitlab-org/gitlab-ce/issues/25517
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by KuhlMensch on Monday January 23, 2017 @03:58AM (#13460840)
I am a bit unsure what Gitlab consider a small team. But I find myself getting a little exasperated when they choose to keep features from CE because "small teams don't need it". Last week I found this was the reason they did not include global contributer statistics in CE. This would be a trivial change, and an important one for my team of ~14 engineers with in-house tools and a microservice architecture who would like to see the pulse of development.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Monday January 23, 2017 @10:39AM (#13462892)
There are no features that are never needed by a small team. To make our business model work we do need to make some features exclusive to EE. The definition we use is: is this feature more relevant for organizations that have more than 100 potential users? We thought this was the case for timetracking but we were wrong and reversed the decision.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by jjawssd on Sunday January 22, 2017 @03:07PM (#13457088)
Gitlab is a true inspiration to me. I hope they continue onwards with good luck and fortune!
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @03:25PM (#13457208)
Thanks for your kind wishes, have a great Sunday.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by why-el on Sunday January 22, 2017 @03:01PM (#13457050)
I am curious why you'd need to run monitoring on your own instances, since the assumption is that given a set of resources (say X RAM and Y CPU), you can support Z users. At least I remember they advertised such a number.

Now, if they somehow get to have these monitoring numbers automatically sent back to a centralized server where they can gather more insights about various installations, that would be killer, but I am not sure about the feasibility, giving the privacy implications (although plenty of open source software does it).

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @03:22PM (#13457190)
> I am curious why you'd need to run monitoring on your own instances, since the assumption is that given a set of resources (say X RAM and Y CPU), you can support Z users. At least I remember they advertised such a number.

We indeed publish a list of requirements https://docs.gitlab.com/ce/install/requirements.html

But this is not enough. Not all hardware is created equal (one core is faster than another) and not all users are created equal (one might push many more branches per day). So to help people with the performance of their GitLab server we think the integrated metrics will be a large benefit.

But another important reason to add this is to ensure that GitLab has metrics about applications that are deployed with GitLab.

> Now, if they somehow get to have these monitoring numbers automatically sent back to a centralized server where they can gather more insights about various installations, that would be killer, but I am not sure about the feasibility, giving the privacy implications (although plenty of open source software does it).

We're very conscious of the privacy implications of sending data about GitLab usage back. We're doing that not with Prometheus but with a usage ping in GitLab EE. We're working on bringing that usage ping to CE, for our reasoning see https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/...

BTW People can use Prometheus monitoring in three forms: on-premise centralized, on-premises federated, and as a SaaS

On-premises centralized is what we just shipped.

Prometheus is easy to federate, where some of the metrics of a server are included in another one. In the future we might give every deployed application its own Prometheus server in a pod.

If you want to use Prometheus as a SaaS we recommend Weaveworks https://www.weave.works/solution/prometheus-monitoring/

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by why-el on Sunday January 22, 2017 @04:07PM (#13457477)
Great, thank you for the detailed answer. We use and love Gitlab. ;)
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by netingle on Monday January 23, 2017 @05:43AM (#13461251)
> If you want to use Prometheus as a SaaS we recommend Weaveworks https://www.weave.works/solution/prometheus-monitoring/

Which is also open source! https://github.com/weaveworks/cortex

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by wldcordeiro on Sunday January 22, 2017 @03:21PM (#13457184)
I really love Gitlab but there's this one thing that's been niggling me about Gitlab.com and it's that every time the app is updated my sessions are invalidated and I need to go through 2FA login all over again.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @03:24PM (#13457201)
Mmm, that is not the case for me. We updated to 8.16.0 a few hours ago https://twitter.com/gitlabstatus/status/823219479287107585 and I didn't have to login today. Can you please email [email protected] to figure out what is wrong? Please include a link to this comment.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sashk on Sunday January 22, 2017 @03:36PM (#13457277)
Are you on Chrome by any chance? I have exactly same behaviour, which I can't track down.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by drdaeman on Sunday January 22, 2017 @04:45PM (#13457724)
I haven't gave it much thought, but I'm on Firefox, and my session is sometimes lost (maybe once or twice per month), asking me to re-login...
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by wldcordeiro on Monday January 23, 2017 @08:24PM (#13468035)
Same. I'm on Firefox as well and it seems to occur once a month or so.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by vikeri on Sunday January 22, 2017 @04:50PM (#13457761)
Also seeing this issue
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by btashton on Sunday January 22, 2017 @06:58PM (#13458530)
Ah finally the disk usage breakdown. As someone who pays for Gitlab hoisting this is a huge deal. We see our usage number climb until the instance becomes unresponsive and no way to find where the growth is. Thank you!
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @07:12PM (#13458602)
You're very welcome. By the way, what do you mean with 'pays for GitLab hosting'?
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by btashton on Sunday January 22, 2017 @07:52PM (#13458779)
Githost.io
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @09:14PM (#13459179)
That makes sense, thanks!
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sandGorgon on Monday January 23, 2017 @12:44AM (#13460073)
Also includes Mattermost in this release. Sweet!

>This release migrates project related statistics to a separate table, removing existing columns in the process. This migration process requires downtime, and can take 10-15 minutes for large installations.

Any place i can eyeball this upgrade script first?

Incidentally, Im curious to know (to try and learn) how do you guys test this kind of stuff? do you have lots of different databases saved over that you try this kind of a major db upgrade on?

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by rabbitfang48 on Tuesday January 24, 2017 @12:29PM (#13473439)
It looks like [0] & [1] are the relevant DB migration scripts. GitLab.com is used to test new release candidate versions in a production environment before it is shipped. I'm guessing the 10-15 minute number came from how long it took them to run it on their systems. They do have staging environments where they run migrations (and test new code) on stale prod data as well.

[0]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/migra...

[1]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/db/migra...

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by mrmondo on Sunday January 22, 2017 @08:44PM (#13459028)
Another smooth upgrade minus one bug with people on chrome trying to approve and accept merge requests (I've logged ee bug #1575 for this).
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @09:15PM (#13459181)
Sam, thanks for filing https://gitlab.com/gitlab-org/gitlab-ee/issues/1575 I've pinged our frontend team.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by mrmondo on Sunday January 22, 2017 @10:10PM (#13459420)
No worries, hope my report was good enough! Excellent support as always :)
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @11:17PM (#13459716)
Thanks for helping to troubleshoot in the issue. Our frontend lead and VP of Engineering are on it.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by mrmondo on Monday January 23, 2017 @01:43AM (#13460341)
And they swarmed the issue and found the issue (within the nginx config) very odd-ball one indeed that didn't affect everyone, fantastic troubleshooting by all the Gitlab engineers, excellent communication and top-notch support like I've never experienced from any software vendor before. A+++ would commit again ;)
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by bedros on Monday January 23, 2017 @01:22AM (#13460241)
I'm currently using redmine for my private project, anyone would recommend using gitlab CE instead?
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by vetinari on Monday January 23, 2017 @05:19AM (#13461154)
Depending what you need it for.

Redmine is still better from the project management planning and control POV (i.e. issues can be in different queues, but still form a coherent hierarchy, milestones consisting from issues and the control of time spent/still required to finish them; the work needed can be not only programming, but also other activities, etc.).

Gitlab is much nicer for the developers.

So for a private project, Gitlab might be a worth to try.

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by petepete on Monday January 23, 2017 @04:16AM (#13460917)
We made the jump (moving various internal projects from Redmine, Trac and Assembla) and couldn't be happier. Everyone loves Gitlab, updates are frequent and full of new features, stability isn't a problem and CI is so easy to get up and running.

Only negative is that you need quite a beefy server to run it (compared to say Gitea or Gogs), but it's a small price to pay.

Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by gtirloni on Sunday January 22, 2017 @11:21PM (#13459725)
Got it running on GKE but the mandatory password change didn't work (request rejected).
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Sunday January 22, 2017 @11:29PM (#13459762)
Mmm, that is strange, I don't have a clue why that would happen.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by gtirloni on Monday January 23, 2017 @10:51AM (#13462982)
It was a CSRF verification error. My wildcard subdomain didn't have a A entry for itself. It's working now! Sorry for the false positive.
Re:GitLab 8.16 Released with auto deploy on GKE and Promethe... by sytse on Monday January 23, 2017 @06:03PM (#13467054)
No problem, glad to hear you got it running.