boisgera / CDIS

Calcul Différentiel, Intégral et Stochastique
Other
15 stars 24 forks source link

CI : fin de vie de travis.org #195

Open boisgera opened 3 years ago

boisgera commented 3 years ago

Ca n'était pas sur mon radar avant que je lise https://ropensci.org/technotes/2020/11/19/moving-away-travis/ mais l'échéance est la fin de l'année.

Impact le plus évident si pas de solution : plus de production automatique de PDF quand les sources sont modifiées.

Il faudrait étudier le "fine print" ; dans le meilleur des cas il y a un (probablement) petit travail de migration à faire vers travis.com. Dans le pire des cas (en particulier si l'allocation des 10000 crédits / 1000 minutes de build est un one-shot et pas une dotation mensuelle, ce qui n'est pas totalement clair, cf https://github.com/zopefoundation/meta/issues/38), c'est beaucoup plus compliqué car il faut étudier la faisabilité des migrations sur d'autres plate-formes.

Update: En ce moment je suis à 599 minutes / mois d'usage et c'est loin du pic d'activité que le projet à connu (et mes autres projets sont en pratique inactif). Donc, même si c'est 1000 minutes par mois c'est problématique. GitHub en mode "Pro" c'est 3000 minutes apparemment (mais la faisabilité et l'effort de migration reste à évaluer), donc ça résoud temporairement le problème mais ça n'est pas hyper-confort. (En particulier si nos comptes doivent aussi servir à faire tourner des moulinettes de GitHub Classroom pour tous les élèves).

Lire aussi :

boisgera commented 3 years ago

Follow-up :

https://twitter.com/james_hilliard/status/1336081776691843072

Travis CI (.com) :

at the moment, credit allocation for OSS projects is on hold as per directives from management. Sincere apologies please.

Discussion : https://news.ycombinator.com/item?id=25338983

The situation with Travis CI is confusing, has not been communicated well by them, and is definitely not getting enough coverage for the amount of disruption it might cause. Here's what I've been able to piece together:

? 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.

LouisJustinTALLOT commented 3 years ago

Bonjour Monsieur, trouvé sur la page GitHub Education :

image

Je ne vois pas toutes les implications mais ça peut être intéressant :)

Je pense néanmoins que cela impliquerait une migration de ce répo vers un compte école (peut-être ?)

boisgera commented 3 years ago

Bonjour @LouisJustinTALLOT,

Je n'avais pas remarqué ça, bien vu ! Le contexte a toutefois un peu changé depuis mon post initial :

Je recommenderais donc plutôt un effort de migration vers GitHub actions à ce stade (si l'on décide/peut préserver une plate-forme de génération automatique des documents fonctionnelle).