Last modified: 2013-03-28 22:51:43 UTC
/private does not exist under the [[Filename Hierarchy Standard]]. More pragmatically, just creating the root /private directory will require root privileges on many systems, and it clutters the root of the filesystem. It should probably be in the same directory as the git checkout, but not actually tracked by git. Alternative a sub-directory of /etc would work.
We have used /private/wmf/ because that is where Cloudbees (hosted Jenkins that we use) expects files with credentials. I will update the code too look for secret.yml in ./config/ first (next to config.yml and cucumber.yml), then in /private/wmf/ and if it does not find it then raise exception saying secret.yml is required for tests to run. Does that sound good?
That works, though as I said on the other bug, some of the tests should be runnable without a secret.
I will implement the check if the file is in config folder, then investigate how to make it optional. Sounds good?
Yep. Thanks for the quick response.
Apologies for the really late bug fix: https://gerrit.wikimedia.org/r/#/c/56128/