Closed LeoQuote closed 1 year ago
Out of the interest, what's the difference between Enterprise and Production?
Out of the interest, what's the difference between Enterprise and Production?
I don’t know exactly how different they are, you can check the code if you want
Out of the interest, what's the difference between Enterprise and Production?
Enterprise uses the custom url from the config in PR comments and notifications: https://github.com/codecov/worker/blob/4ce002549166bfbbede1931db9e724ca4011457a/services/urls.py#L47-L55
So it sounds that RUN_ENV=ENTERPRISE
is a must have for self-hosted for now.
@koltyakov exactly, if this is unset, comment posted by codecov bot would have link starting with app.codecov.io
instead of your enterprise instance
Your assessment is correct. Thanks for the fix. We use RUN_ENV=ENTERPRISE to do a couple of things:
for enterprise instance, this environment should set to RUN_ENV
https://github.com/codecov/worker/blob/5d91d084eb8c80fd1f26c685d5076df9b5d8b80f/helpers/environment.py#L44-L59