diff options
author | Mike Greiling <mike@pixelcog.com> | 2019-04-08 19:53:48 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-04-08 19:53:48 +0000 |
commit | 0a11232805f49a8a6859956cc57714cbc5245673 (patch) | |
tree | 3c4ec732872d05e599a3e9fc5329d85a13902960 /doc | |
parent | 5134fef942e83adc15ec05c689ab5513974aaf5e (diff) | |
parent | d4f1dd103265bbd5b0cf74dd8e880a3a231c2c25 (diff) | |
download | gitlab-ce-0a11232805f49a8a6859956cc57714cbc5245673.tar.gz |
Merge branch 'winh-IS_GITLAB_EE-docs' into 'master'
Document IS_GITLAB_EE environment variable
Closes #60131
See merge request gitlab-org/gitlab-ce!27120
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/ee_features.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/development/ee_features.md b/doc/development/ee_features.md index 9452593c510..c5a1d915be6 100644 --- a/doc/development/ee_features.md +++ b/doc/development/ee_features.md @@ -19,6 +19,11 @@ CE specs should remain untouched as much as possible and extra specs should be added for EE. Licensed features can be stubbed using the spec helper `stub_licensed_features` in `EE::LicenseHelpers`. +You can force Webpack to act as CE by either deleting the `ee/` directory or by +setting the [`IS_GITLAB_EE` environment variable](https://gitlab.com/gitlab-org/gitlab-ee/blob/master/config/helpers/is_ee_env.js) +to something that evaluates as `false`. The same works for running tests +(for example `IS_GITLAB_EE=0 yarn jest`). + [ee-as-ce]: https://gitlab.com/gitlab-org/gitlab-ee/issues/2500 ## Separation of EE code |