Free OSS Credits & Usage Calculation

I’m trying to understand how the usage calculation works. I have the free 10000 credits added to my plan and yesterday I could see that I ran 3 builds and each took just 25 seconds roughly to run. I then checked my credit usage and 30 credits are gone. How is this possible? I thought credit limit calculation is based on consumed minutes and not on consumed builds? Could you throw some clarity on this please?

1 Like

I think I understand how it works after readiing through this documentation - https://docs.travis-ci.com/user/billing-overview/#usage---credits

10 credits for every started build minute! So in my case 3 started build minutes hence 30 credits wiped out!

1 Like

So, in case of Linux, “10 credits per started build minute”. But I found a interesting fact, perhaps, it might be only in Ruby project. Because I submitted OSS credit for ruby/ruby (the Ruby organization), and it was approved. I also asked the unlimited builds for non-amd64 to Travis support. See this ticket for detail.

Then when running Travis on junaruga/ruby repository (fork of ruby/ruby) today, I found non-amd64 archiectures did not consume credits.

Here is the result.

I consumed 200 credits by 3 builds.

Travis CI - Test and Deploy with Confidence 1 job (amd64: 21 sec)
Travis CI - Test and Deploy with Confidence 1 job (amd64: 16 sec)
Travis CI - Test and Deploy with Confidence 4 jobs (amd64: 17 min 7 sec, arm64: 13 min 44 sec, arm64: 14 min 57 sec, s390x: 7 min 59 sec)

Job Id;Started at;Finished at;OS;Credits consumed;Minutes consumed;Repository;Owner;Sender
503387241;2021-05-06T12:17:58.000Z;2021-05-06T12:18:19.000Z;linux;10;1;junaruga/ruby;junaruga;junaruga
503389848;2021-05-06T12:24:38.000Z;2021-05-06T12:24:57.000Z;linux;10;1;junaruga/ruby;junaruga;junaruga
503450955;2021-05-06T16:08:56.000Z;2021-05-06T16:16:55.000Z;linux;0;8;junaruga/ruby;junaruga;junaruga
503450953;2021-05-06T16:08:58.000Z;2021-05-06T16:22:42.000Z;linux;0;14;junaruga/ruby;junaruga;junaruga
503450954;2021-05-06T16:08:58.000Z;2021-05-06T16:23:55.000Z;linux;0;15;junaruga/ruby;junaruga;junaruga
503450952;2021-05-06T16:09:56.000Z;2021-05-06T16:27:03.000Z;linux;180;18;junaruga/ruby;junaruga;junaruga

This part.

503450955; ... ; 0;8; ...
503450953; ... ; 0;14; ...
503450954; ... ; 0;15; ...

I asked Travis support for the thing I discovered. Summarizing the result,

  • arch: arm64, arch: ppc64le, arch: s390x have free unlimited builds for “all” the open source repositories.
  • arch: arm64-graviton2 is not free at the moment. The consumed credits looks same with arch: amd64.

I think that’s excellent.

The Travis support introduced the following page to me. - Billing Overview - Partner Queue Solution.

3 Likes
Imprint