don't remove SLAVEPASS from environment by default in buildbot-worker#2132
Merged
tardyp merged 1 commit intobuildbot:masterfrom Apr 19, 2016
Merged
don't remove SLAVEPASS from environment by default in buildbot-worker#2132tardyp merged 1 commit intobuildbot:masterfrom
tardyp merged 1 commit intobuildbot:masterfrom
Conversation
These lines were introduced in 75f9ad7 by @pieterlexis. I don't think these changes are required anymore. Worker configuration created with `buildbot-worker create ...` doesn't use environment variables to set password. Worker configuration created with master/contrib/docker/worker/Dockerfile optionally uses environment variable to specify password, but also has it's own code that clears environment. So I don't see any supported configuration that requires clearing of the environment variables. If *user* created configuration that uses environment variable to set password, *he* must clear environment variables.
Current coverage is
|
rutsky
added a commit
to rutsky/buildbot
that referenced
this pull request
Apr 19, 2016
Covers PR buildbot#2134, buildbot#2132, buildbot#2105. Splitting them by lines for these PR will introduce merge conflicts, so I would prefer to document those changes post factum.
Member
|
I think I remember it was because the pass appeared in some log. |
Member
Author
|
@tardyp I think so too. Environment variables are outputted in each build; and I know only one place where |
Member
|
indeed, git grep confirms it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These lines were introduced in 75f9ad7 by @pieterlexis.
I don't think these changes are required anymore.
Worker configuration created with
buildbot-worker create ...doesn'tuse environment variables to set password.
Worker configuration created with
master/contrib/docker/worker/Dockerfile optionally uses environment
variable to specify password, but also has it's own code that clears
environment.
So I don't see any supported configuration that requires clearing of the
environment variables.
If user created configuration that uses environment variable to set
password, he must clear environment variables.
@pieterlexis please comment if you think I'm missing something.