-
Notifications
You must be signed in to change notification settings - Fork 52
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
Rename 'CI' environment variable to 'COMPLEMENT_IN_DOCKER' or similar #60
Comments
I chose
|
right, but the feature you're enabling here isn't "running under CI", it's "running under docker".
All in all: I think you chose ... poorly :) |
I agree with your concerns and I'm not opposed to updating the name, but this was my thinking at the time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This grew out of a discussion here, where it was found that the
CI
environment variable is used by Complement to know whether it is running inside of a docker container already (and thus needs to talk to the host's docker socket) or is running on the host directly. It's assumed that if Complement is running inside of docker,CI=true
.@richvdh proposed to rename this variable to
COMPLEMENT_IN_DOCKER
(or something similar) instead, as it's more descriptive of what the variable actually specifies. Plus people won't be tempted to add CI-specific things outside of what's necessary (and thus making CI code split further from production code) 😇.The text was updated successfully, but these errors were encountered: