Self-Hosted Best Practices

Modified on Wed, 28 Sep 2022 at 05:20 PM

On this page, you can find some helpful pointers on working with Codecov Enterprise.

Security

In line with industry best practices, we recommend placing your enterprise install of Codecov behind your company's firewall, or otherwise perform other access controls such that it is only accessible by trusted staff and employees.

We recommend periodically restarting services to clear any memory leaks, and refresh the worker tasks. We recommend doing this daily or, at the very least, weekly.

Setup a Codecov Bot

See Team Bot.

Use your bash uploader

Your Codecov Enterprise includes a bash uploader that is a stable version, and should be used for all applicable uploading.

Shell

1YES: bash <(curl -s https://codecov.mydomain.com/bash) 2 NO: bash <(curl -s https://codecov.io/bash) -u http://codecov.mydomain.com 3 

Use Global Upload Tokens

http://docs.codecov.io/docs/configuration#section-global-upload-tokens

Setup Report Archiving

Archiving Reports.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article