I’ve used up my credits on Free plan, so have switched to self-hosted runners.
I’ve managed to set up my self-hosted runner agent successfully, edited the config.yml with my resource class, but when I build on CircleCI, it keeps saying I’m out of credits.
I suppose credits are not used for self-hosted runners? How I can run my builds without credits?
My config file:
jobs:
say-hello:
resource_class: nikktto/regular
steps:
- run: echo "Hello world!""
It maybe quicker for you to raise a support ticket via
https://support.circleci.com/hc/en-us/requests/new
Many of the people here providing help are external volunteers who do not have access to internal systems to see their exact status.
I can make a guess - the system most likely checks for available credit before any check on the type of runner being used. It may not even understand self-hosted runners beyond the fact that they are billed at zero cost once they have completed. This again is something that only the internal teams could look into.
1 Like
Very useful, thanks rit1010!
FYI CircleCI support replied within the hour:
Thank you for contacting CircleCI Support!
I am happy to help you with this. To continue building on CircleCI you will need to upgrade to a paid plan: https://support.circleci.com/hc/en-us/articles/360036262994-How-to-modify-your-plan
Alternatively, you may also wait for your next credit refill (free). Your next refill will be on 03/01/2023.
This isn’t great news considering with GitLab one can choose self-hosted runners and continue off without credits.
https://about.gitlab.com/pricing/faq-consumption-cicd/
Q. Are CI/CD Minutes used on users/customers’ own runners accounted into the quota?
A. No. The CI/CD Minutes limit is for jobs using GitLab shared runners. Users/Customers can bring their own runners. CI/CD minutes used on their own runners are not accounted into the limit.
Looks like I’ll have to leave CircleCI for now.