Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d4f1dd10
Commit
d4f1dd10
authored
Apr 08, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document IS_GITLAB_EE environment variable
parent
eb377b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
doc/development/ee_features.md
doc/development/ee_features.md
+5
-0
No files found.
doc/development/ee_features.md
View file @
d4f1dd10
...
@@ -19,6 +19,11 @@ CE specs should remain untouched as much as possible and extra specs
...
@@ -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
should be added for EE. Licensed features can be stubbed using the
spec helper
`stub_licensed_features`
in
`EE::LicenseHelpers`
.
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
[
ee-as-ce
]:
https://gitlab.com/gitlab-org/gitlab-ee/issues/2500
## Separation of EE code
## Separation of EE code
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment