News for hackers. Stuff that matters.
Re:Announcing unlimited free private repos by nickjj on Monday January 07, 2019 @02:04PM (#18848736)
While I think this is a great move, don't forget that private repos also means no more free Travis CI.

Gitlab CI however offers 2,000 build minutes a month with their integrated CI service.

Even if your whole set up takes 10 minutes to build on CI, that's 200 builds a month which is plenty for an individual project that's on a private repo.

In other words, I think Gitlab's free private repos + CI is still a better choice for a solo developer who wants private repos since CI is such a useful tool and other external CI services have much more limited free plans (to use with Github instead). Having everything in the same UI is also really useful, which is another win for Gitlab.

I prefer Github's UI for overall repo exploration and issues, etc.. but I'm not sure if I'll move my private repos over to Github now that's it free, because the repo itself is only 1 piece of the puzzle.

Microsoft also has a deep connection with Docker. It's kind of no surprise that Docker only has automated build support for GitHub and Bitbucket. Kind of a bummer, but with Gitlab CI you can get the same effect in the end.

Re:Announcing unlimited free private repos by 0x0 on Monday January 07, 2019 @02:31PM (#18849043)
Also, the best part about gitlab CI - it's super easy to install gitlab-runner on your own and enjoy unlimited build minutes, even on the free plan. Plus you get to set up your buildbot environment just the way you like - even with access to LAN-only resources in case you need them.
Re:Announcing unlimited free private repos by nickjj on Monday January 07, 2019 @02:40PM (#18849145)
That's an excellent point, and I haven't looked into that yet because I never went past the 2k minutes per month.

But if you did need > 2k minutes, it sounds like a good idea to spin up a $5 / month DO server to be a dedicated runner. That sure beats paying $50+ / month for most other CI services for their most basic paid plans, especially if you're just a solo developer or small team who wants a nice coding experience.

Re:Announcing unlimited free private repos by jtwaleson on Monday January 07, 2019 @05:04PM (#18850657)
And you can hook up a small autoscaling gitlab-runner which will spin up CI VMs on-demand. If you combine this with spot-instances at AWS you can scale very far on the free plan with minimal cloud spend.
Re:Announcing unlimited free private repos by pcx on Monday January 07, 2019 @10:30PM (#18852885)
We did this for our project and our builds sped up considerably. Also, Digital Ocean provides a quick solution to setup a GitLab runner on their cloud.
Re:Announcing unlimited free private repos by scarface74 on Tuesday January 08, 2019 @12:56AM (#18853566)
I hate to keep beating the dead horse-but you can do the same thing via MS’s Visual Studio Devops aka Visual Studio Online with a local build/deployment agent.
Re:Announcing unlimited free private repos by rjbwork on Tuesday January 08, 2019 @01:05AM (#18853619)
And you can do the same thing with personal licenses of your chosen ci server and you can throw in a personal deployment server to boot (i like octopus).

I actually just use Appveyor if I can for my personal stuff.

Re:Announcing unlimited free private repos by scarface74 on Tuesday January 08, 2019 @06:06AM (#18854726)
And then I have to manage two more servers....
Re:Announcing unlimited free private repos by mitgraduate on Tuesday January 08, 2019 @12:49AM (#18853538)
There is a LambCI with very high concurrent build limit and works with Github, one click install using cloudformation.
Re:Announcing unlimited free private repos by jeremyjh on Monday January 07, 2019 @03:06PM (#18849425)
Circle CI is a great choice for free builds of your private Github project.
Re:Announcing unlimited free private repos by luhn on Monday January 07, 2019 @04:13PM (#18850147)
CircleCI's free plan is way too generous. I was on it for a couple years without ever needing to upgrade to paid. I later ended up switching to Codeship, whose free plan was quickly exhausted and now I'm a paying customer of Codeship.

If you want free CI, CircleCI is the place to be.

Re:Announcing unlimited free private repos by akx on Monday January 07, 2019 @04:16PM (#18850193)
CircleCI actually has a minutes-per-month limit on the free plan these days too.
Re:Announcing unlimited free private repos by luhn on Tuesday January 08, 2019 @09:48PM (#18861864)
Looks to be 1000 minutes, same as when I was on the platform. If your builds only take a couple minutes that goes a long way.
Re:Announcing unlimited free private repos by _wmd on Monday January 07, 2019 @03:08PM (#18849450)
Azure Pipelines free offering is superior to Travis by every imaginable metric - UI latency, build latency, featureset, sane, carefully thought about YAML syntax, etc.
Re:Announcing unlimited free private repos by nickjj on Monday January 07, 2019 @04:22PM (#18850255)
Their documentation seemed weird.

It seemed like if you wanted to self-host your own CI builder with their agent, it was still limited to 1 parallel build on their free plan?

Is that true?

With Gitlab, if you bring your own runner, there's no limitation like that AFAIK (I've never done this yet because I never surpassed 2k build minutes a month) but I glanced their docs.

Re:Announcing unlimited free private repos by octopoc on Monday January 07, 2019 @04:42PM (#18850461)
Yeah, that's annoying. However, there's an undocumented loophole: you can have multiple agents on the same machine and they can all run in parallel even if you didn't buy an extra private pipeline. We recently had a build server with four SSDs, one agent on each, and they could all run in parallel. It worked fine.
Re:Announcing unlimited free private repos by techntoke on Monday January 07, 2019 @10:14PM (#18852806)
Too much trouble when GitLab actually has an open source version. Also AutoDevOps is AMAZING!
Re:Announcing unlimited free private repos by _wmd on Monday January 07, 2019 @04:29PM (#18850335)
AFAIK one agent = one build. So just start several agents, they're only a few MB RAM
Re:Announcing unlimited free private repos by jeremyepling on Tuesday January 08, 2019 @08:55AM (#18855486)
Open source projects get unlimited self-hosted agents. Let me know if you aren't experiencing that. I'll make sure it's clear in the docs and the website. jepling at microsoft dot com.
Re:Announcing unlimited free private repos by IshKebab on Monday January 07, 2019 @04:55PM (#18850578)
Also I believe they are the only option that offers free build agents on Windows, Linux and Mac.
Re:Announcing unlimited free private repos by taspeotis on Monday January 07, 2019 @04:19PM (#18850228)
As someone who uses the paid Azure Pipelines agents I can say I really like it generally but their hosted build agent performance is ... adequate ... at best.
Re:Announcing unlimited free private repos by jeremyepling on Tuesday January 08, 2019 @08:18AM (#18855305)
I'm a product manager on Azure Pipelines. I'd like to learn more about your pipeline so we can improve the performance of our hosted build agents. It's something we're improving right now. Feel free to email me. jepling at microsoft dot com
Re:Announcing unlimited free private repos by _wmd on Monday January 07, 2019 @04:31PM (#18850355)
I noticed Travis builds complete faster once they're running, by something like 20% in my case, but that's more than offset by having twice as many parallel builds by default. Never dug into why it's slower, though, at a guess something to do with the filesystem
Re:Announcing unlimited free private repos by jeremyepling on Tuesday January 08, 2019 @08:20AM (#18855311)
I'd like to learn more about why Azure Pipelines was slower for your build. Feel free to email me. jepling at microsoft dot com.
Re:Announcing unlimited free private repos by tobilg on Monday January 07, 2019 @05:52PM (#18851098)
Bonus: You also get free private repos in organizations, a feature that GitHub still doesn’t have with today‘s announcement.
Re:Announcing unlimited free private repos by philliphaydon on Monday January 07, 2019 @02:20PM (#18848936)
Vsts has 30 free hours (1800 minutes) on hosted build agents for windows OS X and linux.
Re:Announcing unlimited free private repos by 013a on Tuesday January 08, 2019 @09:42AM (#18855754)
Github Actions is in private beta. From the little time I've spent with it, it could fundamentally change the way you interact with CI; its pretty different compared to normal CI products like Travis, Circle, etc.

Primarily, each pipeline stage can directly reference other public Github repos, with no additional code on your part. This taps in to that community that only exists on Github; for example, to build a project in Language-of-Choice, you just need to find a public implementation of the build pipeline stage for that language, then reference the URL in the action you build.

Its also very docker native, actually to the point of being totally unobvious that everything starts with a docker container. The documentation and hints about how to use it are still pretty sparse since its in beta.

Pricing still hasn't been announced. We'll see. But it feels very promising, especially if a community developers around it focused on providing pipeline stages.

Re:Announcing unlimited free private repos by nickjj on Tuesday January 08, 2019 @10:12AM (#18855971)
Hopefully they will announce what its pricing and limitations will be soon.

Until then, I'm sticking with Gitlab for private repos because I don't want to wake up one day with Github actions to find out that I need to start paying to regain access to CI.

I don't mind if it's premium only when it's released, but they should be clear about this up front. It kind of worries me that they didn't mention it'll be a free feature in the docs. That seems like something you would want to say up front if it were true. It would be really lame if they open it to everyone to beta test it and then switch it to paid for the general release without mentioning that.

Re:Announcing unlimited free private repos by insited on Monday January 07, 2019 @08:54PM (#18852364)
Free private repos are important for experimental development.
Re:Announcing unlimited free private repos by GrzegorzWidla on Monday January 14, 2019 @04:53AM (#18901907)
I'm late to this but Azure DevOps has plenty of free build time and resources and they are linkable to your GitHub repo. I imagine it'll get even easier and more integrated in few updates.
Re:Announcing unlimited free private repos by karakanb on Tuesday January 08, 2019 @04:54AM (#18854487)
Github is a great UI that we all are familiar with and there is a huge community around it, which is great for OSS, but I have to say, I trust Gitlab more than I trust Github.

I am a happy user of Gitlab for 3 years now, I have been using it for all of my private stuff and using it actively for around 10 projects at the moment, and I have seen the product change over time both visually and functionally. There are multiple things that I don't like about it, such as the way it handles registry images, but overall my experience for these 3 years has been terrific.

First and foremost, Gitlab CI is the best experience I have ever had, and I can compare it with Travis and Codeship; Gitlab is way ahead of every platform in terms of convenience and its free-tier limits. They have their own shared runners, which means you can run as many parallel jobs as there are runners available at the moment, so no concurrency limit there. They also allow you to run the free stuff for 2000 minutes per month, which is more then enough for most of the side projects. Also, you can use your own runners with the free tier as well, which means just pick a 5$ VM from DO, install the gitlab-runner using the package manager of the OS, such as apt or yum, and register its address on Gitlab UI. The whole runner stuff takes around 10-15 minutes to setup, and you are good to go. You can have as many runners as you like and you can run as many jobs as you like on them as well. There are also options to setup gitlab-runner in such way that it spans new VMs for jobs, which means you don't even need to have full-time runners, they can be created on demand. Also, CI is completely configured via a `.gitlab-ci.yml` file, which is version controlled and has a clear syntax, I have found it the easiest to use among the other options. It syncs with issues, merge requests and the project tree, which means you can reach to the corresponding pipeline from the MR; it also allows you to generate artifacts and store them for a certain amount of time available for download. Overall, I am a huge fan of Gitlab CI, I couldn't have imagined it would be this convenient to use the same product for Git-hosting and continuous integration, it is a real pleasure.

They also have their own Docker registry, which is pretty convenient to use with CI builds. I use it to push my images with commit hashes as tags to this registry from CI. Unfortunately, there is a lot of room for improvement for registry interface, currently it is pretty basic, meaning it only lists the image tags. If you are pushing the images per commit basis, you are gonna have a lot of images and cleaning up the repository is impossible from the interface, which is sad. I really hope they improve the registry integration. They also have some Kubernetes and monitoring integration which allows you to monitor your cluster and deployments from Gitlab interface directly, but I haven't used it yet, so no comments there.

Apart from the feature set, the most important reason I choose Gitlab over Github is clear communication they maintain. Downtimes happen, engineering teams can have bad times, but they are always open about these problems. They inform everyone from a Twitter account, they are responsive to everyone, and you can see them being very clear and direct about the problems they are having. I expect downtimes to happen, Git-hosting is not a crucial system for me that I cannot live with an hour of downtime, maybe it is because of the scale of the projects I am working with, but having an open conversation about issues like this is the actual value for me. As long as they keep this level of communication, I am fine with occasional downtimes. Not that they have downtimes all the time, but it is true that I have seen more downtimes on Gitlab than on Github.

Overall, the reason I'd not migrate my private projects to Github is not Gitlab having free private repositories, but their huge feature set and level of communication. I see Github as a giant corporation, and Gitlab as some guys like myself, I feel closer to them and I'll be their user & customer as longs as I feel that way. I have no association with Gitlab at all, I am just a happy user and I wanted to explain why I like Gitlab, I think a lot of people would choose Gitlab over Github if publicity is not a concern.

Re:Announcing unlimited free private repos by dsumenkovic on Tuesday January 08, 2019 @10:17AM (#18856035)
Hey, I wanted to express the same enthusiasm as sytse. Thank you very much, your words are amazing and we are really happy to read this great feedback. Shared it with others so they can enjoy as well :-)

Also wanted to share this feature we are currently working on, it allows you to remove unused tags from Container Registry, and we hope it will land with release 11.7 https://gitlab.com/gitlab-org/gitlab-ce/issues/55978

Re:Announcing unlimited free private repos by sytse on Tuesday January 08, 2019 @09:57AM (#18855866)
Thank you so much for your support. We'll respond with our work on the container registry. Mind if we make this into a blog post?
Re:Announcing unlimited free private repos by karakanb on Tuesday January 08, 2019 @12:54PM (#18857649)
Sure, you can do whatever you like with it. I am genuinely happy and proud of using Gitlab, I have grown as an engineer with Gitlab, and I feel like Gitlab has grown with me too. I hope you guys enjoy the work you do, because I enjoy your work and I can pursue my projects thanks to you guys' efforts. Keep up the good work!
Re:Announcing unlimited free private repos by sytse on Tuesday January 08, 2019 @02:51PM (#18858975)
Thank you!
Re:Announcing unlimited free private repos by bg0 on Monday January 07, 2019 @02:26PM (#18848990)
Can you link where you see this? I can't seem to find it
Re:Announcing unlimited free private repos by nickjj on Monday January 07, 2019 @02:30PM (#18849032)
Not sure what you're requesting, but I'm guessing the details about Gitlab's free offerings?

It's on their pricing page at https://about.gitlab.com/pricing/.

Re:Announcing unlimited free private repos by bg0 on Monday January 07, 2019 @02:35PM (#18849095)
My fault, I was looking at the blog post and didn't see anything mentioned
Re:Announcing unlimited free private repos by lmcarreiro on Monday January 07, 2019 @03:01PM (#18849376)
Me too, but I hope Microsoft add CI features inside GitHub in the future.
Re:Announcing unlimited free private repos by WorldMaker on Monday January 07, 2019 @03:41PM (#18849826)
Azure Pipelines is already in the GitHub Marketplace and seems to be Microsoft's path they are paving.
Re:Announcing unlimited free private repos by pavanagrawal123 on Monday January 07, 2019 @03:02PM (#18849382)
Github actions exists, seems to be semi-CI
Re:Announcing unlimited free private repos by Kudos on Monday January 07, 2019 @07:35PM (#18851804)
I have a feeling it wont be a free feature when it exits beta.
Re:Announcing unlimited free private repos by pavanagrawal123 on Monday January 07, 2019 @08:00PM (#18851959)
Yes, but I am hoping there will be a good free tier a la Gitlab CI