523 points · by jameshilliard · 5y ago · 187 comments
https://twitter.com/james_hilliard/status/133608177669184307...
Hello James,
Thanks for writing in.
At the moment, credit allocation for OSS projects is on hold as per directives from management. Sincere apologies please.
We will provide updates once we get additional approval from management.
Thanks for your patience
-- MK
Your Friends @Travis CI
Test and Deploy with Confidence.
Their home page at travis-ci.com still says:
> Testing your open source projects is always 100% free!
> Seriously. Always. We like to think of it as our way of giving back to a community that gives us so much as well.
That is simply not what's going on. As far as anyone can tell, they are offering some OSS which meet specific criteria (including no company funds any part of it, including paying people to work on it(?!)) free minutes in fixed monthly allotments, which you have to keep asking for every month. And there are only so many total minutes they are willing to give out, which apparently have now been frozen.
How can they have written a letter only two weeks ago saying "Open source accounts, as always, will be completely free under travis-ci.com"? How can their home page still say "Testing your open source projects is always 100% free!"??
At this point, it is hard to explain it as anything other than intentional manipulative dishonesty.
I don't understand why they don't just say "Yes, we can no longer provide free open source accounts." They aren't actually fooling anyone, I mean people notice that they don't have free accounts anymore, right? It is a weird attempt at some kind of reality distortion.
I guess you could try replying: "Credit allocation"? I don't understand, Paul Gordon wrote on Nov 24 "Open source accounts, as always, will be completely free under travis-ci.com." Is this not true?
I'm kinda curious what they'd say, but I guess it's just torturing poor support staff whose jobs probably aren't going to last either.
https://www.investopedia.com/terms/p/promissory_estoppel.asp
When I started an organization which was taken over in a rather hostile way, I was very careful to make a bunch of legally-binding promises before the takeover happened, to help prevent it from becoming too evil.
I'm glad you had the presence of mind to do this and I'd be interested to hear your hostile takeover story. Thanks in advance.
> Another requirement further qualifies the required detriment component; the promisee must have suffered an actual substantial detriment in the form of an economic loss that results from the promisor failing to deliver on his or her promise. Finally, promissory estoppel is usually only granted if a court determines that enforcing the promise is essentially the only means by which injustice to the promisee can be rectified.
The open source project would not suffer an economic loss by not using Travis. They would be free to stop using Travis or go to another competitor providing a free plan.
Exceptions to the above I can think of:
* Travis didn't charge them, then started charging them despite the promise
* they suffer an unrelated economic loss because they stop using CI
* they're forced to hire someone to convert them to another CI system (economic loss in form of wages, money to operate their own CI), though the loss would have t obe substantial (is that relative? e.g. in case of a low budget, is even a small sum substantial?)
I think many would agree that moto has been broken several times over the years.
JetBrains open source licenses have a similar restriction https://www.jetbrains.com/opensource/
> Your project is NOT sponsored by a commercial company or organization and does NOT have paid employees
> Your project does NOT provide commercial services (such as consulting or training) around the software, and does NOT distribute paid versions of the software
I don't think I have ever worked on any where there wasn't a single person writing code while getting paid by their employer. Is that enough to disqualify you from JetBrains criteria, do you think?
In email from travis support it was expressed as:
> Project must not be sponsored by a commercial company or organization (monetary or with employees paid to work on the project)
To me, that seems to say if someone commits code while on the clock, that is employees paid to work on the project.
That definitely disqualifies a huge number of open source projects, probably the majority, right?
We then realised we didn't need the license, as the community edition has everything we need.
> Your project does NOT provide commercial services (such as consulting or training) around the software, and does NOT distribute paid versions of the software
Jetbrains should really take it to the next level and require all developers on your open source project to provide up-to-date proof of unemployment benefits.
Projects which have a sponsoring company or consulting/training/paid-tier income around them can afford to pay that.
> A Personal license is an option for private individuals who purchase a license with their own funds, and solely for their own use. Personal licenses are not to be purchased, refunded or in any way financed by companies.
https://sales.jetbrains.com/hc/en-gb/articles/207241075-What...
I think it is more likely that there is intense internal conflict around this decision, and some people may be openly reaffirming their beliefs in the mission of TravisCI.
I think the far more likely explanation is that updating the websites was very low on the priority list of the people who made this decision.
it is dishonesty at best
And I think they're missing the gravity of the situation—there were (and are still) a _ton_ of OSS projects out there that are configured to use Travis CI for their testing and build pipelines, and it's not free to switch to something else (even though there are many adequate alternatives).
I wish there was another way, like providing a meager amount of build minutes, or just reducing the OSS builds to run on a few dozen servers, even if that means days-long build queues. That's better than just ending service abruptly like they did.
I wrote [1] about my own plans, but I know many devs (especially for tiny side projects) just don't have the time to update them to something else, and we're likely to see a number of smaller projects kind of fall into disrepair from this.
[1] https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricin...
OSS projects should not have dependencies on non-OSS infrastructure unless they are prepared for this eventuality. This has happened, in various forms, to most 'free as in beer' services given enough time. Companies typically provide the service as some combination of crush the competition / building goodwill / altruism / the prospect of eventual conversion of some small fraction of OSS projects to a paid version. The reasons tend to vary (in this case, new ownership) but eventually the bottom line tends to win out. Often you won't be given much time to transition when the free ride ends.
It doesn't actually matter much for this if you use an OSS CI service like Gitlab: the hosted service is still dependent on the generosity/marketing of the company hosting it, and switching to self-hosting is much more effort than porting config from one CI service to another.
I had heard of CI testing, and sure it sounded good, but we had all been making due without it, and I didn't have time (and certainly the projects didn't have money) to set it up. But travis made it so damn easy and free to turn on, there was no reason not to try it. Once tried, there was no going back, we would never want to do otherwise.
Travis really defined this market and opened up CI testing to entire communities. We owe them (employees, former management) a debt of gratitude for that.
But then we come to depend upon it for sure. Which they had no obligation to supply it forever, and perhaps it wasn't even sustainable business to do so. So now what? Well, now we move over to other free options like Github Actions which fortunately exist.
But is it dangerous to depend on the largesse of for-profit companies? FOR SURE.
Is it, at this point, hard to figure out how to do otherwise? FOR SURE.
So, what could we do instead? In my dream world, we'd have a non-profit collaborative project to provide CI to open source on an ability-to-pay basis. Is that likely? I dunno, raising money for open source is already a problem. And it's a hard project. As long as there are companies providing it to us for free, it's definitely less likely.
https://docs.gitlab.com/ee/user/project/import/gitlab_com.ht...
hosting CI yourself is equally simple. The worker can be installed with few commands, and with a few extra you can configure autoscalling:
I don't think that's the issue. Large parts of Travis are open sourc, but no one uses it because they are too complex to set up; and there are better self-hosted solutions than Travis.
Travis was attractive, because it was free hosting, not just software. And worked with just a few clicks
It's certainly easy to get into these lassaiz-faire ad-hoc remote free solutions, it's harder to maintain your own CI, but if quality and consistency is important, it's not that hard.
The license terms changed and boom now you're out of service.
If such OSS projects were running on Gitlab (either gitlab.com or selfhosted) then any of the members could have donated spare computing resources by running a gitlab runner on their prem.
Many people have PCs running 24/7 and could spare a vm to lend to their favourite projects.
The magic of Travis was that with a couple clicks of OAuth you were signed up and running builds for your own PRs. My first thought upon seeing this years ago was “How many people are using this to mine crypto?!“.
Having worked at a Travis CI competitor that also offered open-source credits. The answer is "many" if you don't do anything about it...
It's a bit more complicated than that.
I run gitlab and gitlab runners for a living, I can tell.
First thing first, you'd have to register a runner with a specific project. So no "arbitrary code".
Second thing, unless you can push a branch to the project main repository, no pipeline is ran. So for your own personal forks you'd either rely on gitlab.com-provided free minutes or you run your own runner (and tbh, it's fairly easy).
Last thing: you should not think of regular end-users. Think of middle to advanced users, that have a home server or something like that (homelabbers?).
With GitHub Actions it's even simpler, and no OAuth required at all.
I especially like the auto-suggested template-types based on what kind of project the repo hosts (Node, Python, etc).
For those who don't know, we have a GitLab for Open Source program which gives our top tiers and 50K CI minutes/month for free to OSS projects: https://about.gitlab.com/solutions/open-source/
Hope this helps!
The nice thing about Gitlab is that you can mix on-prem and saas according to your need.
For example I am now running my own gitlab instance at home but I'm thinking of switching to the gitlab.com offering while keeping runners at home. By pairing gitlab with Hashicorp Vault I could keep encrypted stuff in my repo and decrypt them when they are checked out on the (local on-prem) runner.
Super cool, so much flexibility!
There's obviously a cost associated with this, but after started reading this thread, I just ported 10+ of my GitHub project from Travis-CI to GitHub Actions.
Unless your project has very specific/weird build requirements (in which case it should not be part of .travis.yml, but in a separate, reusable build-script), it was really surprisingly simple to make the switch.
I've ported Emacs, NodeJS and Python projects with ease. Having had many of my project built using makefiles, running that makefile somewhere else was no big deal at all.
If anything, if making the switch now is hard work, you should use that effort into making your build more portable. You may thank yourselves 5-10 years down the road when this same thing surely is bound to happen again :)
Github Actions is free. I migrated some repos to Github Actions this year and the process is relatively painless.
Also I do not expect Microsoft to turn off Github Actions for OSS projects as long as you stay within your rate limited budget.
Since then I have switched a bunch of projects over to Github Actions, fortunately they were all relatively simple enough to make that straightforward.
So, if anyone can come up with the name for whoever bought them, a sale that was probably done with little alternatives already, then hate those peoples with all you got, got ahead[1].
But don't take it out on the people that helped you all those years. Not even if they screwed up the endgame by, maybe, being too optimistic for a week too long.
[1]: But not too many death threats, maybe. Even just for purely selfish reasons, one wouldn't want commitments to OSS become a poison pill that makes any company providing such services toxic to investors.
However; I don’t think anyone needs to be grateful for Idera Inc, an American company, which has done nothing so far but ruining Travis CI for the rest of the world but themselves.
Thankfully the world has organically moved on to things like GitHub actions, but this personally will impact me as I have many repos out there that get 1 contrib/year, which would use maybe 2-3 minutes/yr. Lesson of the story here: There’s nothing such as free, even if there is, it will not last forever.
Don't forget the private equity firm and it's employees have a job to do as well - provide good returns on investments. That doesn't just benefit the wealthy, but if you have a pension fund (state or private) you are probably benefiting from it as well.
> Lesson of the story here: There’s nothing such as free, even if there is, it will not last forever.
In this economy, sadly no.
I think a lot of the scorn is directed at their lying to people's faces, rather than at their discontinuing their service. And I'm not talking about lying in the past ("3 years ago you promised me free CI forever") – I'm talking about lying right now, after the decision was made (as pointed out by others).
Without their free + painless service, I am not sure I would have got that reflex, as I couldn't afford it when I started programming; and I feel like they also created a culture where OSS contributors expect every project to have some kind of CI.
Agreed. They've done good stuff for OSS up until now, and they deserve credit for that. No need to feel bitter or entitled over something we've received 100% for free.
But despite that, Travis-CI is not serving my (or other's) OSS needs right now, and people are obviously looking for alternatives.
There's nothing wrong with that.
? 2018: Travis CI announces they are starting the process of merging travis-ci.org, which provided free builds for OSS projects, into travis-ci.com, which until then was only for paying customers. They promise OSS builds will continue to be free.
? 2020: Travis CI announces they are shutting down travis-ci.org at the end of the year and all projects have to move to travis-ci.com. They promise OSS builds will continue to be free.
Early November 2020: travis-ci.com switches from providing unlimited builds for OSS to only providing 10k one-time credits by default. Projects that meet certain guidelines (e.g. no one paid to work on them) can apply for recurring credits.
Later in November 2020: CI for many OSS projects that had migrated to travis-ci.com starts to fail, as they've exhausted their 10K credits.
Dec 2020: If what is reported here is accurate, Travis CI stop providing any recurring OSS credits. CI breaks for the remaining OSS projects on travis-ci.com.
Jan 2021: travis-ci.org shuts down. CI will be broken for all projects using it. They'll have the option of migrating to travis-ci.com, but will soon break again as they exhaust their 10k credits.
I suspect that many, many projects haven't migrated from .org to .com and are going to be surprised when their CI breaks on January 1st. It looks like their only option is to start paying Travis CI or move to an alternate provider (like CircleCI or Github Actions, both of which have free tiers for OSS).
If Travis CI's new owners are no longer willing to provide free CI services to OSS projects, that's understandable. I just wish they'd communicate that clearly in ways that their users won't miss.
(BTW, if anyone from Travis CI is reading this, I reached out to your support team last week for help on a problem that is blocking us from potentially paying you. I haven't gotten an answer yet on ticket 23831. Any help is appreciated.)
I suppose I need to look for alternatives – although I hate doing these kind of "plumbing" things; I'd rather be working on more useful code.
https://travis-ci.community/t/current-known-issues-please-re...
1) If you can cause it to be run on arbitrary code then you can cause it to reveal the secret. Even if the only output you see is a pass or fail. 2) If you can't cause it to be run on arbitrary code, then why do you need to see any output?
Filtering secrets from logs only protects accidentally dumping your environment to a log Because you left in an echo $SECRET. It doesn’t stop a determined attacker who can run arbitrary code.
I predict that will eventually end too as they aim towards profitability.
Honestly, I don't really think so. I think MS's goal for GitHub is to be a "loss leader" to keep developer mindshare. They lost a lot of developer mindshare to linux, open source, etc. in the migration to the web and cloud.
Providing GitHub and CI for free to open source/students is a great way to keep developer mindshare. Make sure it's nicely integrate into Azure cloud for deployment and devops and you have a streamlined pipeline of leading large numbers of developers to your cloud platform.
(MS employee, not anything related to this though).
The problem is, if you assume good will from Travis, then this is a VERY drastic action to take since it strongly contradicts their past statements. From that you would infer, Travis is in serious trouble and I would worry a lot about building in dependencies on it as a paying customer.
On the other hand, if you assume bad will from Travis .... well, then that also would mean you should not use them as a paying customer.
So it's just bad.
It should be possible to make a GitHub action that runs an existing .travis.yml.
https://github.com/marketplace/actions/run-travis-yml
The action executes the stage scripts making that part portable at first. It helps a lot migrating as not everything needs to be rewritten at once while already reducing the build-times on Travis.
Language handling is a different beast, but I had the same thought that with some Ruby know-how a port of the travis-build as a whole could be done.
If not even running locally.
Good thing I was an earlier GitHub Actions adopter because now I don’t have to do as much work.
With Github Actions on the scene now, I don't see much reason to use Travis over one of the alternatives.
And it seems they maintain their own apt mirror or whatever, the package install speed looks unreasonably fast.
But they currently only give 250 minute (default config) per week to free account now, probably due to the runner cost.
They give you 10,000 minutes of build time on their 2cpu/4gb workers per week with a max of 4 concurrent workers.
Edit: Looks like you get 4 concurrent jobs if you register as an open source project.
Currently it deals with rudimentary Python and Node.js workflows, but contributions are naturally welcome.
https://github.com/marketplace/actions/run-travis-yml
it's based on the original travis-build so that utils like "travis_retry" are still available.
each command in the asserted stages (e.g. before_install, install) directly breaks the build while the script runs through and gives the fail exit at the end (while showing the commands run and their result as on travis, asserted stages are with folding).
might be a good addition to the online converter.
the other parts of the workflow (vm setup, caches, services, matrix etc.) I find hard to port automatically. this needs much more insight and often is specific to the languages. and then it's "relatively easy".
but an automatic mapping from the many languages travis supported looks overwhelming.
perhaps better is to actually have the whole travis-build project as a github action (but I'm not fluent with ruby).
[1] https://blog.travis-ci.com/2019-11-12-multi-cpu-architecture...
...maybe they're not doing so well financially and you should start looking at a Sam's Club membership instead of renewing, because this hypothetical Costco might not be around for a full year's membership.
I get that some people will not want more GitHub but I figured given all the configuration is open and checked into your repo someone will eventually make an open source clone that can read the same configs .
I also really like the way build scripts can be referenced by url/id such that I can just reference existing scripts made by other people. Super nice!
I'm not familiar with that feature, can you give a link to docs/example/more info?
https://github.com/samuelmeuli/action-electron-builder
docs
https://docs.github.com/en/free-pro-team@latest/actions/refe...
I see the workflows at: https://github.com/samuelmeuli/action-electron-builder/blob/...
and
https://github.com/samuelmeuli/action-electron-builder/blob/...
What about them is using other scripts? Oh, do you jsut mean things like `uses: actions/setup-node@v1` is using that standard actions/setup-node "step"? Yeah, you can refrence steps defined elsewhere, ok, I get it!
For some reason I was thinking you meant something else. OK, thanks!
So "my friends" at travis ci just disabled my free access to travis ci for my open source projects and I am suppose to have confidence. nice!
https://github.com/SophistSolutions/Stroika/actions?query=br...
On top of that it is easy to setup a private CI runner on a $5 month VM.
https://about.gitlab.com/solutions/open-source/
A list of fellow OSS projects can be found at https://about.gitlab.com/solutions/open-source/projects/
It's a shame. Something like this should exist, but I can't blame them for not wanting to do it for free.
It would be an "annoying" or "fiddly" level of work rather than a time sink costing hours and hours.
you already can do a lot by writing a bunch of scripts that will be executed on a CI, and just fiddle with differences in like metadata/artifact/how you declare your containers.
and while you are there, you can generate the code CI definitions for more than one CI provider (think of it like "multi-cloud" but for CI approach.
https://news.ycombinator.com/item?id=25340456
Continuous builds are already written in YAML + shell. Platforms like Github Actions and Travis CI basically use YAML as a really bad syntax for shell scripts (with their own if statements!), and then embed more shell as strings.
So Oil should basically generate JSON like this:
https://news.ycombinator.com/item?id=24945449
and allow you to embed unevaluated (but parsed) literal shell blocks. So I'm adding the missing "declarative" part to shell. That alone gets you pretty far.
Although there are some more language semantics that most builds need, like coarse-grained dependencies, ephemeral or persistent state, etc.
gg is a related "multi cloud" system that's very interesting:
https://lobste.rs/s/virbxa/papers_i_love_gg
I'm writing a blog post about this right now!
----
An improved shell is the natural language for this problem because shell is for gluing tasks together. It's the language of heterogeneity. I view Make as a form of shell with dependencies, and Make has already been parallelized and distributed by many systems going back many years.
Travis CI made their exit few months ago with a Venture Firm , every venture firm use the same model of "Hibernation" to get cashflow from the platform without new investment.
Only two option to do so :
- increasing price
- reducing cost
Removing the "0$" price for Open Source Project is a disguised way to increase the price...
It's likely the majority of the staff was laid off and the project is now hibernating living from acquired customers not adding new feature or change.
Just being used as a source of Corporate Cash Flow.
My project only needs about 30m of build time monthly and the migration to something else may cost me a few hours of work. At my hourly rate that may be significant enough, so for a while I would rather pay a small monthly fee to cover my limited needs.
I emailed them last week; I suspect I'll receive a similar email, soon!
Nothing is free. It might be free to you, but Travis CI has to pay for the compute resources to run your free builds.
At the end of the day, never build your product or infrastructure on free services without planning on eventually paying for it and budgeting for it.
If you want a full CI/CD pipeline, there's plenty of open source tools. You can run it on your own hardware, which is what most do for builds as it's cheaper, or incorporate AWS spot instances if you want to run at the lowest cloud compute cost.
There's also Github Actions and Bitbucket Pipelines which I think are very similar in style, and also have free tiers.
There's also the "Raspberry PI in a closet" option, which I might explore over the Christmas holidays.
Dockerhub being free is something else I can't see lasting forever, their bandwidth costs must be immense? Although maybe they make enough from enterprise contracts to make up for it?
And yes, paid accounts are exempt. But the costs are catching up.
If they were walking away from people who wanted to give them money, I can imagine they don’t give a shit about OSS projects where they lose money.
TravisCI taught me a hard lesson. Relying on 3rd party for CI is a losing bet if you care about reliability and guaranteed capacity.
Now I've migrated my remaining 10+ Travis-CI builds to a different CI-provider (GitHub Actions).
It feels like a solid upgrade.
http://www.oilshell.org/blog/2020/11/fixes-and-updates.html#...
A contributor added .travis.yml about 3 years ago, before I had ever used it. But I've been around the block enough to know that getting stuff for free is temporary. (And to be fair, I did like Travis CI free service a lot better than I thought I would.)
So when I needed to enhance the continuous build back in January, I did it with a PORTABLE SHELL SCRIPT, NOT with yaml. Both Travis CI and sr.ht provide Linux VMs, which are easily operated with a shell script.
The script called "Toil" does the following:
1. Configures which steps are run in which build tasks (both Travis CI and sr.ht can run multiple tasks in parallel for each commit)
2. Logs each step, times it, summarizes failure/success
3. Archives/compresses the logs
3. Publishes the result to my own domain, which is A LOT FASTER than the Travis CI dashboard. (sr.ht is very fast too; it has a great web design.)
This ended up working great, so I have multiple CI services running the same jobs, and publishing to the same place: http://travis-ci.oilshell.org/
(I plan to create srht.oilshell.org for security reasons; it isn't ideal that both services have a key to publish to the same domain.)
----
I think this is the future of the Oil project: shell scripts to enable portability across clouds. If you want to be fancy, it's a distributed or decentralized shell.
This is natural because shell already coordinates processes on a single machine.
- A distributed shell coordinates processes across multiple machines (under the same domain of trust)
- A decentralized one does so across domains of trust (across clouds)
-----
Really great work in this direction is gg:
https://buttondown.email/nelhage/archive/papers-i-love-gg/ comments: https://lobste.rs/s/virbxa/papers_i_love_gg
which is a tool that runs distributed programs across multiple FaaS providers like Amazon Lambda, Google Cloud Functions, etc.
https://github.com/StanfordSNR/gg
My "toil" script is a lot more basic, but an analogous idea. I would like to create a slightly tighter but improved abstraction that runs on multiple cloud services. Notes on gg here:
https://github.com/oilshell/oil/wiki/Distributed-Shell
If anyone wants to help, get in touch! If you are pissed off about Travis then you might want this :) I think these kinds of multi-cloud setups are inevitable given the incentives and resources of each party, and they already exist (probably in a pretty ugly/fragile form).
Bamboo. ... TeamCity. ... Appveyor. ... Codeship.
lots more use google
Although inconvenient, it is possible to run these tests on my own computer before publishing.
People are now moving to github actions, which are fine, but for how long github actions are going to be free for OSS projects as well? One cannot expect all these freebees to last forever, that's why open source needs financing like any other software development.
I don't know ... cause ending travis free CI is going to like... disrupt an entire ecosystem of OSS projects. Every single maintainer doesn't have the time to learn and set up github actions... Isn't that obvious?