8000 Pay for travis while we re-consider CI architecture · Issue #164 · astropy/astropy-project · GitHub
[go: up one dir, main page]

Skip to content

Pay for travis while we re-consider CI architecture #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
eteq opened this issue Nov 2, 2020 · 4 comments
Closed

Pay for travis while we re-consider CI architecture #164

eteq opened this issue Nov 2, 2020 · 4 comments

Comments

@eteq
Copy link
Member
eteq commented Nov 2, 2020

Travis-CI has just announced the effective end of their free tier:
https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

Based on that pricing structure, I've estimated our current usage for the Astropy Project as a whole:

  • https://travis-ci.com/github/astropy?tab=insights indicates we used ~25k min in a month where ~half of the month was actually being counted. But that was during the feature freeze, which is often a bit higher. And the previous week was 7k minutes, so ~25k min per month seems like the right ballpark.
  • According to https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing linux is 10 credits per minute.
  • I don't see a way to easily extract mac//windows minutes (which it says are 50 credits per min), but if I just assume the core is representative there's no mac build and ~1/7 windows, so average of 11.5 credits per min
  • That totals 287500 credits per month. So at $15 per 25k credits, that's $172 per month

Note that's low-balling a bit, because we don't have a full month's worth of data. So a long-term average might be more like $300 per month.

We need to re-evaluate all the CI infrastructure with this in mind, but as a tentative item we may want to try to make available ~1-2 mo to get headroom if possible.

@mwcraig
Copy link
Member
mwcraig commented Nov 2, 2020

FYI, Windows minutes are 20 credits/min, not 50 credits/min. Not a big deal.

@pllim
Copy link
Member
pllim commented Nov 2, 2020

https://github.com/search?l=&p=1&q=org%3Aastropy++filename%3A.travis.yml&ref=advsearch&type=Repositories (might have to search the search results to be sure, as I am not sure how accurate this search is) (included a lot of junk results)

curl -o searchresults1.json -u user:token -H "Accept: application/vnd.github.v3+json" "https://api.github.com/search/code?q=org%3Aastropy++filename%3A\".travis.yml\"+path%3A%2F&type=Repositories&page=1&per_page=100&sort=indexed&order=desc"

36 hits as of 2020-11-02

  • astropy/asdf-astropy
  • astropy/astroplan
  • astropy/astropy
  • astropy/astropy-benchmarks
  • astropy/astropy-bot
  • astropy/astropy-changelog
  • astropy/astropy-dashboard
  • astropy/astropy-helpers
  • astropy/astropy-tutorials
  • astropy/astropy-v2.0-paper
  • astropy/astroquery
  • astropy/astroscrappy
  • astropy/astrowidgets
  • astropy/ccdproc
  • astropy/ci-helpers
  • astropy/conda-build-tools
  • astropy/conda-builder
  • astropy/conda-builder-affiliated
  • astropy/conda-channel-astropy
  • astropy/conda-channel-ci-extras
  • astropy/coordinates-benchmark
  • astropy/halotools
  • astropy/imageutils
  • astropy/learn-astropy-librarian
  • astropy/montage-wrapper
  • astropy/package-template
  • astropy/pyregion
  • astropy/pytest-arraydiff
  • astropy/pytest-astropy-header
  • astropy/pytest-doctestplus
  • astropy/pytest-openfiles
  • astropy/pytest-remotedata
  • astropy/pyvo
  • astropy/saba
  • astropy/specutils
  • astropy/SPISEA

@eteq
Copy link
Member Author
eteq commented Nov 3, 2020

FYI, Windows minutes are 20 credits/min, not 50 credits/min. Not a big deal.

Oops yes, typo on my part - my average assumed 20 not 50 so it should still be good within error bars 😉

@pllim
Copy link
Member
pllim commented Jan 14, 2021

I think we can close this. The important ones are ported away from Travis CI and the few that are left are not active anyway.

@hamogu hamogu closed this as completed Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
0