sb2nov / mac-setup

Installing Development environment on macOS
https://sourabhbajaj.com/mac-setup/
Other
7.15k stars 1.02k forks source link

Replace Travis CI with GitHub Actions #321

Closed hugovk closed 3 years ago

hugovk commented 3 years ago

Travis CI are going to shut down travis-ci.org by the end of the year, all projects need to migrate over to travis-ci.com. They've been moving resources over, hence the slow builds on .org.

https://docs.travis-ci.com/user/migrate/open-source-repository-migration

However, on .com there's a new pricing model. You'll get a certain number of credits to begin with. When they run out, you can either pay to subscribe, or contact support to apply for their new open source plan.

https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

However, there are huge delays in support replying, if ever, and when they do they say they're waiting for approval from management, or someone recently was told that things are on hold pending more info from management.

I ran out of credits so couldn't build anything for two weeks. Support then gave me a one-off top-up of 50k credits whilst still awaiting approval from management. I've not heard anything in 9 days.

The new pricing model was launched with no notice, meaning some projects that had already migrated no longer have the choice of very slow builds on .org, or no builds on .com.

The mixed messaging and especially lack of communication, coupled with builds stopping altogether, means many open-source projects are moving to other CI providers, such as GitHub Actions.

Sample run:

simeg commented 3 years ago

Nice! Great description. Definitely makes sense!

hugovk commented 3 years ago

Unfortunately the health check branch can't be migrated to workflows as the tool used to check link health, urlsup, needs a static list of input :/ See this for more info.

The good news is that it runs once per day so running out of credits seems unlikely, or what do you think?

Running once per day means it'd use up credits daily. When first moving to .com, you get a one-off amount of credits.

Then when/if managing to get onto an open source plan, the credits are either one-off or recurring, but we've really no idea what's actually going on at Travis with this.

simeg commented 3 years ago

Running once per day means it'd use up credits daily. When first moving to .com, you get a one-off amount of credits.

Then when/if managing to get onto an open source plan, the credits are either one-off or recurring, but we've really no idea what's actually going on at Travis with this.

I thought they would recognize automatically recognize if it's open-source, but I from your experience it sounds pretty bad.

Unfortunately using urlsup for Github workflows is not possible. Or I should say, it's possible, but quite annoying as you'd have to maintain a list of markdown files in the workflow file.

There are other CI/CD providers that provide free services, such as CircleCI. I can look into that.

hugovk commented 3 years ago

Merging is enough to activate it!