Put deprecated serverless features behind feature flag
What does this MR do and why?
Serverless is deprecated and scheduled for removal in %15.0. This adds a feature flag guard to user facing Serverless features.
See #352753 (closed)
Screenshots or screen recordings
flag status: | enabled | disabled |
---|---|---|
menu | ||
page |
How to set up and validate locally
- To establish a baseline:
- Visit a project in GDK
- Hover the
Infrastructure
menu - Click
Serverless
- In rails console disable the feature flag
Feature.disable(:deprecated_serverless)
- Refresh the page. It should be a 404
- Press back. Observe that
Serverless
is gone from theInfrastructure
menu.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Hordur Freyr Yngvason