-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
-
False
-
-
-
OCMUI Core Sprint 257, OCMUI Core Sprint 258, OCMUI Core Sprint 259
This ticket is to determine what may need to change in the OCM UI codebase with beta-environments and the /preview url (console.redhat.com/preview/openshift) no longer being supported after Aug 1st 2024!
This affects the UI codebase in four areas:
Bundler
webpack.config.js references preview or beta (interchangeably), in:
- chromeTemplate
- output.publicPath
- devServer.historyApiFallback
Functional code
the '/preview' URL is used/referenced in several areas:
- chrome-main.tsx as the basename prop
- the BrowserRouter component
- CLILoginPage/TokenUtils.ts, App/EnvOverrideMessage.tsx, and others.
APP_BETA is used in:
- src/common/getBaseName.ts
but that var is determined at build time, so differs from "/preview" route (not sure a change is necessary)
Scripts
/preview and/or candidate is referenced in these:
- deploy_info.mjs
- push_to_insights.sh
- run/cypress-qe-executor.sh
- run/promotion-picking-order.mjs
Docs
- the main README has a table with branch/env' mapping, which ref' candidate
- the release-candidate MR template needs to be removed
** More detailed information in these area in the associated sub-tasks!
Todo for Aug 1st
Update promotion-picking-order.mjs to remove usage and instructions for promoting to Candidate. Aug 1st promotion should go directly to production.this is not urgent, we can still deploy to candidate, and nothing will happen. let's change our process to a 2-stage next week.- Update Promotion Manager Duties and Picking order Script remove references to Candidate in text and diagrams!
HCC Announcement
From Martin Hajtol <mhajtol@redhat.com>
Mon, Jun 10, 12:02 PM
WHAT & WHEN
In June of 2024 we’ll start to support the new “merge preview”, while still maintaining the old way. We will then plan on ending the “old” way of preview (aka having console.redhat.com/preview) as its own URL and only support using feature flags to mark items as preview. On August 1, 2024 we will end the URL version of preview, and only have the new way available.
WHO
This will require changes from the following: all services that utilize console.redhat.com/preview/
This change impacts only the frontend portion of HCC. Backend services are not affected.
HOW
See required and recommended code changes in this document: Switch to new preview.
ADDITIONAL INFORMATION
Please review the following post for details of the change, requirements, background information, and references:
ADR-044: Migrate the UI preview env out of the /preview URL to a feature flag environment
Hybrid Cloud Console - Preview mode design doc
Relevant Jira(s): https://issues.redhat.com/browse/RHCLOUD-31984
ConsoleDot Actions Required & Releases Source page is here.
We believe this change will require small or no effort at all in most cases, that's why the timeline is a bit aggressive. But as always, if you are not able to perform these changes on time, please speak up. You can contact us by replying to this email or on slack #forum-consoledot-ui.
- is cloned by
-
OCMUI-1965 [HCC Action Required] New Preview mode based on Feature Flags
- To Do
- is duplicated by
-
OCMUI-2075 Ditch preview environments
- Closed
- mentioned on
1.
|
Updates to bundler & releated commands | Closed | Eliran Malka | ||
2.
|
Updates to documentation | Closed | Eliran Malka | ||
3.
|
Updates to Scripts | Closed | Eliran Malka | ||
4.
|
Updates to Functional Code | Closed | Eliran Malka | ||
5.
|
Update label-release-jira script | Closed | Eliran Malka |