News for hackers. Stuff that matters.
Re:GitLab Serverless by gtirloni on Wednesday December 12, 2018 @02:22AM (#18661996)
This seems to be the first product to run actual workloads on instead of out-of-band management?

I'm a bit lost when it comes to GitLab because they are trying to do so much, so I'm confused if this is a change in strategy or natural next step for them.

Edit: Clarifying question.

Re:GitLab Serverless by scrollaway on Wednesday December 12, 2018 @04:08AM (#18662439)
Their CI system runs actual workloads as well.

To be honest I don't understand why they prioritized this but it seems to me like Gitlab has a path to becoming a lot more than what Atlassian is right now; by owning not just the devops but also the cloud itself.

It sort of makes sense if that's something they aim for, but it'd be an uphill battle and to be honest I don't see it ever working out. But there's huge rewards there if it does work out. It's kind of the reverse of Amazon tried to do (AWS is trying to compete with Github etc by having their own code hosting and code deploy services, which doesn't ever lead anywhere except for die-hard AWS fans).

I'm giving Gitlab the benefit of the doubt on this for one simple reason: I was very doubtful of their current strategy of building in a monsterhouse of features to their product. Then I actually used it and was impressed with how smooth and useful it all is. It also took me actually using it to understand what exactly they were doing.

Most people are confused about Gitlab today because they compare it to Github, but Github really only does code hosting and barely even touches development lifecycle; whereas Gitlab is more like Atlassian (and goes beyond that, even). It owns code hosting, product management, development, and deployment. So the "natural next step" in that direction is devops, which they have already been playing with.

Re:GitLab Serverless by Already__Taken on Wednesday December 12, 2018 @05:47AM (#18662809)
> Their CI system runs actual workloads as well

Only if you attach k8s right? Or can you leave services deployed with normal CI Jobs that don't end?

Re:GitLab Serverless by ndnxhs on Wednesday December 12, 2018 @02:53AM (#18662135)
I don't think they are trying to do more than they can handle. Every feature I have used on gitlab has worked amazing so it doesn't seem like they are spread thin.
Re:GitLab Serverless by bogomipz on Wednesday December 12, 2018 @07:53AM (#18663443)
I don't agree. A lot of features seem half-baked. The public Gitlab issues are filled with features that don't seem to work or are poorly understood because of their spare or incomplete documentation. These issues often just languish until the gitlab bot closes them for inactivity. However the only inactivity for many of these is just Gitlab's failure to respond.
Re:GitLab Serverless by est on Wednesday December 12, 2018 @03:05AM (#18662189)
everything works great on gitlab, until the moment you had to migrate.

Landmine experience in issue lists

Re:GitLab Serverless by dsumenkovic on Wednesday December 12, 2018 @09:41AM (#18664251)
Hi, Community Advocate from GitLab here. Could you please reference what issues you are experiencing? We'd love to follow up on it.

Also, if you want to write the details, it would be great to open an issue https://gitlab.com/gitlab-org/gitlab-ce/issues. Thanks in advance.

Re:GitLab Serverless by est on Wednesday December 12, 2018 @08:25PM (#18669183)
Hi,

https://gitlab.com/gitlab-org/gitlab-ce/issues/27217

Something like this. When I fixed the VERSION manually, there are other errors, as expected.

However the peculiar thing is the errors are not idempotent. Somethings there's some postgres wrong column error, other times it says you can't import the project because you can't have hyphens in project names. (which I don't)

Migration is hard, considering everything can be linked in Gitlab.

Re:GitLab Serverless by Aeolun on Wednesday December 12, 2018 @10:07AM (#18664494)
One, having to come from the same version.

Two, having to connect to the same block storage in exactly the same way to make everything work.

I just want to upload a backup that gitlab makes, and upload that somewhere (anywhere) to restore from that one tarball, regardless of where I’ve decided to host my current instance or data (or indeed, if I’ve decided to use block storage again or not).

Re:GitLab Serverless by sytse on Wednesday December 12, 2018 @11:23AM (#18665178)
Thanks for the feedback.

1. Yes, you have to restore a backup on exactly the same version of GitLab and then upgrade that version. If you restore it to a different version the database scheme isn't correct.

2. You can restore a GitLab backup anywhere https://docs.gitlab.com/ee/raketasks/backup_restore.html as long as it is the same version. I think the output is a single file.

Re:GitLab Serverless by Aeolun on Wednesday December 12, 2018 @06:47PM (#18668696)
Thanks for the response.

1. Gitlab is able to migrate up to a new version, so is there anything preventing it from getting up to a certain (older) version before running the last few migrations after restore?

If I set up a new instance it’s generally one or two minor versions higher than the old instance.

2. I swear I restored from my omnibus installation to Helm based gitlab and lose all my uploads and registry images. Cannot see from the docs why that would happen any more though.

Maybe it was the opposite, with me restoring the backup to the same block storage devices, and gitlab hiccuping on the fact that all the files it wanted to restore were already there.

Re:GitLab Serverless by twk3 on Thursday December 13, 2018 @02:42PM (#18675323)
We've opened https://gitlab.com/charts/gitlab/issues/1015 to discuss this comment. I don't believe the db migrations are what are holding us back, as much as the other parts of the backup/restore.

For number 2, that sounds unexpected, and we would love for you to give us more details. https://gitlab.com/charts/gitlab/issues

Re:GitLab Serverless by sytse on Thursday December 13, 2018 @11:56AM (#18673806)
1. I'm not sure and will ask.

2. It might be that this wasn't supported yet in the Helm chart at that time, I'm not sure.

Re:GitLab Serverless by dsumenkovic on Wednesday December 12, 2018 @09:33AM (#18664180)
Thanks for the feedback.