Add Pipelines app to conditionally render in CE
After the Usage Quotas Layout App is prepared to receive tabs dynamically (i.e. after we merge !143633 (merged) and !143637 (merged)) we're now able to migrate other tabs.
This tab will be hooked to an App that is in CE
but will only render in EE
.
The View currently in .com | After ( FF on ) |
---|---|
![]() |
![]() |
Implementation plan
Description | MR |
---|---|
Add Pipelines app to conditionally render in CE | !140210 (merged) |
Old description
After creating the parent Vue
app for Usage Quotas in Create Vue app in CE (#371821 - closed) we need to add the pipelines
app to render via Usage Quotas Layout
. This is different from the storage tab #371824 (closed) in the sense that it will only be available for Enterprise Edition.
GitLab EE
Setup this scenario by having a test license in your GDK.
We shouldn't show the Buy additional minutes
button because we're in a Self-Managed scenario. The page should look like:
< ee-screenshot-here >
GitLab SaaS
Setup this scenario by setting up a license like the above and simulating SaaS.
The page should look like in EE
Self-Managed, with the addition of the Buy additional minutes
button:
< saas-screenshot-here >
GitLab EE Unlicensed
Setup this scenario by removing your license in http://gdk.test:3000/admin/subscription and stop simulating SaaS.
The page should look like in CE
, i.e. no pipelines
tab
< eeu-screenshot-here >
GitLab CE
Setup this scenario by executing FOSS_ONLY=1 gdk restart
.
Tanuki gdk website icon (the icon in the browser tab) should be blue, then you're in CE
. The page should look like below, only the storage
tab:
< ce-screenshot-here >
Development Considerations
- How are we loading data from backend ? !108332 (comment 1260003582)
- Add tests to
utils.js
!108332 (comment 1260003601)