curl / curl-docker

official docker image for curl
https://curl.se
Other
168 stars 67 forks source link

Travis CI changes #46

Closed J0WI closed 2 years ago

J0WI commented 3 years ago

Travis CI changed their infrastructure and policies for open source repos: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

It seems that they started to limit the concurrent builds for open source projects recently: https://www.traviscistatus.com/

Tests will stop working completely by the end of the year:

We are announcing that travis-ci.org will be officially closed down completely no later than December 31st, 2020

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

xquery commented 3 years ago

travis still works - we will try to migrate to 'something else' before 7.76.0 release

xquery commented 3 years ago

May 2021 is end of life for travis ... going to have to get on my skates and migrate

mback2k commented 3 years ago

Seems like you could just link up to .com instead:

https://blog.travis-ci.com/2021-05-07-orgshutdown

dfandrich commented 3 years ago

But, .com isn't free. Once you use up your trial minutes, they're gone.

xquery commented 3 years ago

I was of the mind that we move off travis and consider other options ( github actions, dockerhub ) ..... open to any other suggestions.

mback2k commented 3 years ago

But, .com isn't free. Once you use up your trial minutes, they're gone.

Yes, but according to their welcome e-mail you can e-mail them to get free OSS credits for public open source projects. I just did that for the libssh2 org, let's see if it works out. For the curl main repository it would be quite sad if we could not spread the builds also to Travis-CI any longer, but I guess for curl-docker or curl-for-win, it would not be that big of a problem.

@bagder and I spoke in IRC about the general migration for the curl org, let's see how that will turn out.

mback2k commented 3 years ago

I was of the mind that we move off travis and consider other options ( github actions, dockerhub ) ..... open to any other suggestions.

I can highly recommend (in order of personal preference as of today) GitHub Actions, Azure Pipelines or Cirrus CI at the moment. AppVeyor only makes sense for Windows specific builds, especially if you need legacy environments. Docker Hub is also going the Travis CI way IMHO and turning more and more into a paid environment.

mback2k commented 3 years ago

I just received the list of requirements to get the OSS plan and it looks like curl will not be able to get it due to the last 2 rules depending on how they assess @bagder role with wolfssl and the various curl project sponsors:

  • You are a project lead or regular committer (latest commit in the last month)
  • Project must be at least 3 months old and is in active development (with regular commits and activity)
  • Project meets the OSD specification
  • Project must not be sponsored by a commercial company or organization (monetary or with employees paid to work on the project)
  • Project can not provide commercial services or distribute paid versions of the software
bagder commented 3 years ago

I can highly recommend (in order of personal preference as of today) GitHub Actions

The last week or so, GitHub actions have been so slow they've been more or less dead (>24 hours to complete a single PR round). We've had to merge many PRs with less CIs because of this. I truly hope this is a temporary slow-down and that they will bounce back, otherwise we will have problems going forward.

it looks like curl will not be able to get it due to the last 2 rules

So Travis goes from recently having given us extra-power to not even qualifying us as legible for the open source tier. It looks like our CI situation is quickly deteriorating... :cry:

bagder commented 3 years ago

I filed https://github.com/curl/curl/issues/7150

mback2k commented 3 years ago

Regarding performance of GitHub Actions: does this affect all types of builds or just macOS? That one is always being limited on all CI platforms, e.g. GitHub, Azure, Cirrus and more use MacStadium for that and resources are limited due to the requirement of running on real Mac hardware.

xquery commented 3 years ago

initially we are going to migrate to zuul - as per parent project

https://github.com/curl/curl/blob/master/zuul.d/jobs.yaml

albinvass commented 3 years ago

@xquery I pushed https://github.com/curl/curl-docker/pull/57 which should add a job to build the container image. However I think it is currently not triggering zuul since master is not a protected branch. We're currently excluding all unprotected branches since otherwise it would be possible to access secrets (if there were any stored in the project). So to get things running we need to either not exclude unprotected branches or make master a protected branch. I think the second option is to be preferred. :)

albinvass commented 3 years ago

I got some help from @bagder to fix that. Looks like #57 is working with a slight modification to remove the tty usage of the test.

xquery commented 2 years ago

we use zuul now