
Instead of having separate env vars for separate cases, use a single var and allow multiple states. This makes it easier to add new scenarios later, and doesn't require additional checks for valid combinations of vars. The correspondences are: GERRIT_ENABLE_NOTEDB=1 => GERRIT_NOTEDB=read-write GERRIT_CHECK_NOTEDB=1 => GERRIT_NOTEDB=check Change-Id: I8785d22a8eb5a0d46f0a13d4a5727a32896c96d5