News for hackers. Stuff that matters.
Re:Travis CI acquired by Idera by jrochkind1 on Wednesday January 23, 2019 @09:55AM (#18978591)
Yeah, I've been seeing lots of people switch to circle-ci or gitlab over the past year.

Not totally sure why. Travis does what I need and I know how to use it, and I don't particularly want to learn something new for CI myself, I just want to code!

Re:Travis CI acquired by Idera by radomir_cernoch on Wednesday January 23, 2019 @10:16AM (#18978797)
Personally, I've seen growing stability issues. Builds are failing for no apparent reason and work fine after a manual restart. Circe CI was the next free service to try.
Re:Travis CI acquired by Idera by AsyncAwait on Wednesday January 23, 2019 @12:18PM (#18980213)
Worth plugging https://sr.ht I guess. It's free for now and it's going to be very cheap[1] when it does start requiring a subscription. In addition to supporting the open-source developer who gave us things like Sway, you'd also be able to build on platforms like RISC-V, which I don't think anybody else offers.

1 - As little as $2/month, apparently.

Re:Travis CI acquired by Idera by jhasse on Wednesday January 23, 2019 @07:46PM (#18984918)
No Windows or macOS support though. Also Git integration isn't as straight-forward as it is with Travis/Circle CI.
Re:Travis CI acquired by Idera by freedomben on Wednesday January 23, 2019 @01:05PM (#18980741)
FWIW, I'm currently using Circle for several builds, and am actually looking at alternatives now. The web interface has been falling over (which is highly disruptive to developers when they can't look at build results and trigger deploys, etc).

Circle has some nice features (especially easy artifacting and splitting rspec tests based on historic run-time) but it's not enough to overcome the lost momentum and productivity of being unable to reach the web interface.

Re:Travis CI acquired by Idera by markonen on Wednesday January 23, 2019 @02:57PM (#18982111)
At my company we've just finished migrating our Android builds from CircleCI to Buildkite (we did the iOS migration in December).

I've been very happy with Buildkite so far. The web interface fits my mental model of how things should work much better than CircleCI's ever did.

Our primary reason for switching was CircleCI's unpredictable and high costs on the iOS side (per minute billing combined with slow builds -> monthly fees in the price range of a new Mac mini).

Our Android builds are now about 10 times as fast at the same price.

The savings and the performance benefits are of course wholly due to the bring-your-own-build-machines approach that Buildkite takes. I don't see that as much of a hardship, though, especially since CircleCI 2.0 removed a lot of the "it just works" magic in favor of your own build scripts and Docker images. Preparing the build agents is not significantly more work.

Re:Travis CI acquired by Idera by obfk on Thursday January 24, 2019 @02:46PM (#18992212)
Buildkite is a dream. Their technology is spot on, and it's changed the way we develop/integrate/release.
Re:Travis CI acquired by Idera by williamdclt on Wednesday January 23, 2019 @12:11PM (#18980134)
We usually use CircleCI at my company. I never realised how good I had it until I had to use Travis at my current project :)

To give an example: we have a monorepo and it's impossible to only run the tests of the project that has been updated. Even if you're ready to hack around with git. Even if you're ready to hack around with Travis internal functions. Because TRAVIS_COMMIT_RANGE is just broken.

And your argument "people switch to circle-ci, not sure why, Travis does what I need and I know how to use it" doesn't really make sense, other people would say that CircleCI does what they need and they know how to use it

Re:Travis CI acquired by Idera by mnutt on Wednesday January 23, 2019 @02:02PM (#18981455)
We also use travis + a monorepo and yeah TRAVIS_COMMIT_RANGE is broken. We end up just tagging successful master builds and generating our commit range off of that.

But yeah, so much of it is flaky, and the pricing is noncompetitive. Our current iteration has travis's docker client tunneling to an ec2-based docker server; it's both cheaper and faster and will hopefully make it easier to rip out Travis in the future.

Re:Travis CI acquired by Idera by williamdclt on Wednesday January 23, 2019 @04:37PM (#18983300)
Not a bad idea but travis only does a shallow clone, do you unshallow it? Doing a `git fetch --unshallow` was slow, and hanging forever about one time out of 5 when I tried a few weeks back
Re:Travis CI acquired by Idera by mnutt on Thursday January 24, 2019 @09:14PM (#18994984)
Yeah, in this case we did though I can see a lot of instances where the benefits don’t outweigh the costs.
Re:Travis CI acquired by Idera by MapleWalnut on Wednesday January 23, 2019 @12:45PM (#18980507)
Don't you need to do the same hacking within CircleCI?
Re:Travis CI acquired by Idera by williamdclt on Wednesday January 23, 2019 @04:39PM (#18983322)
I do, but at least it is feasible (at least I think, never actually needed to do it). With Travis, even being willing to hack around, I just didn't manage to get it working at all
Re:Travis CI acquired by Idera by epage on Wednesday January 23, 2019 @12:45PM (#18980508)
I feel dirty for saying this but Azure Pipelines is the service that is tempting to me because of the power of its file format (variable substitution, conditionals, template tasks and steps).
Re:Travis CI acquired by Idera by foolip on Wednesday January 23, 2019 @06:34PM (#18984360)
We use Azure Pipelines for https://github.com/web-platform-tests/wpt with some help from friends at Microsoft, and it's a great product!

It's very "power user" in that it's easy to get lost amongst all the options, but nothing else I've tried has the same breadth of OSes and ability to have one job depend on another in intricate ways. And, 10 free parallel builds, including macOS!

Re:Travis CI acquired by Idera by rasjani on Thursday January 24, 2019 @06:34AM (#18987794)
I’m quite liking azure for now and most of my company’s foss projects run there. But. Reason for getting lost is abysmally bad documentation. Yeah, all that I need is there but it’s structured so so bad.

Also, hosted agents have small inconsistencies that make the pipeline to have ton of do this on Linux but not in OS X or windows and so forth...

Re:Travis CI acquired by Idera by GordonS on Wednesday January 23, 2019 @12:51PM (#18980589)
No need to feel bad, it's a great product! I've been using Azure DevOps for a while now, and it's what I use for anything not OSS (I prefer GitHub for that, and TBH it's what others expect)
Re:Travis CI acquired by Idera by WorldMaker on Wednesday January 23, 2019 @01:16PM (#18980871)
It's also interesting how much Open Source is moving to Pipelines for just build services, regardless of where their code is hosted. The Python setup on Pipelines is really cool to dig into if you get the chance. I believe Python has been using it as the primary CI for their GitHub repo for bit now, and from what I've heard they've looked into using Pipelines to support a test matrix nearly as robust as their older BuildBot config.
Re:Travis CI acquired by Idera by blattimwind on Wednesday January 23, 2019 @02:00PM (#18981428)
The onboarding process of Pipelines is very smooth once you manage to sort the OAuth/account stuff out. And they actually have helpful docs to boot.
Re:Travis CI acquired by Idera by ElFitz on Wednesday January 23, 2019 @05:29PM (#18983818)
I never believed I'd ever pick a Microsoft product over anything else.

And yet, here we are... Azure Pipelines

Edit: VS Code too

Re:Travis CI acquired by Idera by jrochkind1 on Wednesday January 23, 2019 @04:20PM (#18983086)
Curious if anyone has used Azure Pipelies with Rails projects and has a review.

(Yeah, I know, all these CI things are hypothetically platform agnostic, but then there's reality, different platforms-under-test have different sorts of problems which become priorities for the CI platform to smooth out and make just work, or don't).

Re:Travis CI acquired by Idera by ethomson on Wednesday January 23, 2019 @07:51PM (#18984962)
I think that you want somebody who's unbiased to answer this from their perspective (I'm a PM for Azure DevOps, so I'm pretty biased). But I've built out Azure Pipelines for many platforms, including Ruby and RoR with a lot of success. Feel free to drop me an email (my HN username @microsoft.com) and I can point you to some pipelines.
Re:Travis CI acquired by Idera by jrochkind1 on Wednesday January 23, 2019 @09:26PM (#18985482)
Cool. The trick is, I don't want to "build out a pipeline", I just wanna write a handful of lines in a single config file and be up and going, which is what travis has given me.

But Azure is def on my list to check out!

Re:Travis CI acquired by Idera by ethomson on Thursday January 24, 2019 @03:28AM (#18986936)
Haha, yes, sorry for making it sound bigger than it is. If you just want to do some build & test validation, it should just be a single yaml file. Not identical to Travis but close. We even added some getting started documentation if you’re familiar with Travis. https://docs.microsoft.com/azure/devops/pipelines/migrate/fr...
Re:Travis CI acquired by Idera by vishnu_ks on Wednesday January 23, 2019 @10:30AM (#18978965)
The main reason why we moved to CircleCI was due to the rising test flakes and outages in TravisCI. Also, TravisCI comes with a lot of crap pre-installed which can be a pain sometimes. With CircleCI you can provide your own custom Docker image for running the build. If the build fails there is even an option to SSH into the build to debug. This issue has a lot of details on what it takes to migrate an open source project from Travis CI to CircleCI if you are interested. https://github.com/zulip/zulip/issues/7748
Re:Travis CI acquired by Idera by jfaat on Wednesday January 23, 2019 @10:39AM (#18979071)
You can ssh and debug a travis build as well
Re:Travis CI acquired by Idera by blueyed on Wednesday January 23, 2019 @10:49AM (#18979182)
But only on travis-ci.com, not for Open Source (.org) IIRC.
Re:Travis CI acquired by Idera by DrTorte on Wednesday January 23, 2019 @11:11AM (#18979462)
(Disclosure: Travis CI Employee)

We can do it on .org as well! Just need to reach out to us via email to enable it (as well as the instructions, as it requires a manual API call rather than a UI Button.) And, as Involans also mentioned, we are merging the two together.

[email protected] And we'll set you right up with debug mode. :)

Re:Travis CI acquired by Idera by ivan4th on Wednesday January 23, 2019 @11:34AM (#18979712)
There used to be a catch, though, don't know if it's already fixed. If you use this ssh debugging feature you make your secrets world-accessible (anyone can connect to ssh and grab them). This was one of the reasons why I switched to CicleCI, actually (besides their Workflows).
Re:Travis CI acquired by Idera by DrTorte on Thursday January 24, 2019 @11:15AM (#18989949)
Yes, it is indeed correct that if somebody grabs the ssh command with the key while you are debugging, it is accessible. It's something that we want to address in a better way, but other priorities are present right now (build image updates, performance improvements, some new features that we haven't announced yet.) Still, the feedback is appreciated!
Re:Travis CI acquired by Idera by involans on Wednesday January 23, 2019 @11:08AM (#18979416)
You do realise that the two platforms are being merged, with .org projects being migrated to .com?
Re:Travis CI acquired by Idera by imwm on Wednesday January 23, 2019 @12:20PM (#18980236)
We switched from Travis CI to Circle CI because Circle CI was (a) significantly faster and (b) a little cheaper
Re:Travis CI acquired by Idera by jillesvangurp on Wednesday January 23, 2019 @01:33PM (#18981085)
We made a smilar decision in 2017. The reason was that our builds were stupidly slow because travis uses cheap instances. There was no option to fix that other by allowing more concurrent builds. Travis has no feature to actually allow users to have reserved instances of a particular type. Money was not the issue; the feature does not exist.

Builds were taking up to 20 minutes and with multiple team members doing prs, it was quite common to be stuck waiting for things to land to our integration environment. This slowed us down a lot and we fixed it by creating a build pipeline in amazon. In there we were able to pick one of their faster instance types and the exact same build ran in something like 5 minutes. I understand the team moved to gitlab pipelines after I left.

I was just discussing this with a guy that works at codeship, a berlin company that was acquired some time ago that creates build tools. He made the point that tools like that are getting replaced by deep pipeline integrations like provided by Gitlab.

There is a need for tight integration between build pipelines, version control systems, issue trackers, alerting, monitoring, cloud providers, kubernetes, etc. You can sort of do this partially but you typically have to deal with gazillions of SAAS solutions of varying quality that typically don't integrate that well and the devops related to that. E.g. making Jira aware of github PRs and build status in jenkins can probably be done but you are dealing with API tokens, access rights, and wonky webhooks, credit card payments, etc. The overhead of setting all of that up for every team is quite high and I've seen teams cut corners here because they have more important/interesting things to do. E.g. typical Jira setups have typically no meaningful integrations with either ci or version control systems. Even well run projects tend to have non trivial amounts of devops related time and cost to manage all this. Many projects simply start by copying whatever they did last time that wasn't completely horrible.

IMHO, this is potentially something MS could get right simply by creating deep integrations between e.g. Azure, Gitlab, and a few other things they own. IMHO, amazon is lacking a few things in their portfolio and it wouldn't surprise me to see them make a move either by launching or acquiring their own things. Google is another company that is missing a few essential things on this front.

Re:Travis CI acquired by Idera by emilycook on Wednesday January 23, 2019 @06:11PM (#18984177)
GitLab is an LLC, GitHub is what's owned by MS
Re:Travis CI acquired by Idera by sytse on Thursday January 24, 2019 @01:22AM (#18986424)
GitLab is an Inc. :)

Still independent.

Re:Travis CI acquired by Idera by thijsvandien on Wednesday January 23, 2019 @03:17PM (#18982373)
GitHub. Microsoft does not own GitLab. :)
Re:Travis CI acquired by Idera by jillesvangurp on Thursday January 24, 2019 @03:20AM (#18986900)
Heh, similarly named companies. You get my point though ;-)
Re:Travis CI acquired by Idera by briandear on Wednesday January 23, 2019 @12:22PM (#18980257)
Travis is nice, but the cost always make me look at Semaphore or Codeship.
Re:Travis CI acquired by Idera by andyidsinga on Wednesday January 23, 2019 @12:40PM (#18980444)
curious though - what event / issue motivated you to even start looking for another solution?
Re:Travis CI acquired by Idera by wtetzner on Wednesday January 23, 2019 @11:21AM (#18979574)
And as far as I can tell, CircleCI doesn't seem to support Windows yet.

For one of my projects, I have TravisCI building release binaries for Windows, Linux, and macOS.

Re:Travis CI acquired by Idera by edaemon on Wednesday January 23, 2019 @04:59PM (#18983528)
I've chosen CircleCI over Travis for some projects because CircleCI is free for private repositories (to an extent). Travis is only free for open source, and is slightly more expensive for similar resources.

Of course that doesn't explain why open source projects would switch, but it could just be a mind share thing.

Re:Travis CI acquired by Idera by strig on Wednesday January 23, 2019 @10:11AM (#18978741)
CircleCI has a free tier for private repos, same with Gitlab.
Re:Travis CI acquired by Idera by chucksmash on Wednesday January 23, 2019 @10:30AM (#18978963)
The private repo pricing was what drove me to try an alternative to Travis in the first place. The cheapest private repos plan is $70/mo now and, if memory serves, when I looked into it previously it was >$100/mo.

Fine for startups I guess. For the use case of someone who wants a CI server that, say, runs tests on their Project Euler private repo it's a no-way-no-how price point.

I assume they've thought this through and it's done purposefully. Still, side projects tools are a gateway to real project usage.

Re:Travis CI acquired by Idera by ksec on Wednesday January 23, 2019 @01:30PM (#18981045)
And I have been wondering if Circle-CI will be the next battle between Microsoft and Google.