Skip to content

Commit c6886fa

Browse files
authored
Merge pull request #4673 from project-koku/release_prod-ros.69323
Deployment commit for prod-ros
2 parents 9ebf60a + 6e08ef7 commit c6886fa

File tree

6 files changed

+47
-126
lines changed

6 files changed

+47
-126
lines changed

apps/koku-ui-hccm/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@
5050
"translations:datafile": "node scripts/createDataJson.js",
5151
"translations:syncTranslations": "node scripts/syncTranslations.js"
5252
},
53+
"scripts-info": {
54+
"release:stage": "Creates a PR to update the stage-hccm branch",
55+
"release:prod": "Creates a PR to update the prod-hccm branch",
56+
"release:app-interface:stage": "Creates an MR to update app-interface with latest SHA ref from stage-hccm branch",
57+
"release:app-interface:prod": "Creates an MR to update app-interface with latest SHA ref from prod-hccm branch",
58+
"start": "Run Koku UI",
59+
"start:csb": "Run Koku UI with local Cloud Services Backend",
60+
"start:csb:ros": "Run Koku UI with local Cloud Services Backend, while ROS runs statically (for running both UIs with CSB)",
61+
"start:ephemeral": "Run Koku UI with ephemeral env",
62+
"start:hmr": "Run Koku UI with hot module replacement (experimental)",
63+
"start:local:api": "Run Koku UI with a local API",
64+
"start:ros": "Run Koku UI while ROS runs statically (for running Federated Modules in Koku UI)",
65+
"start:static": "Run Koku UI statically (experimental)",
66+
"translations": "Update localization files with latest messages"
67+
},
5368
"dependencies": {
5469
"@patternfly/patternfly": "6.4.0",
5570
"@patternfly/react-charts": "8.4.0",

apps/koku-ui-ros/deploy/frontend.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,36 @@ objects:
1212
spec:
1313
feoConfigEnabled: true
1414
bundleSegments:
15-
- segmentId: 'cost-management-plugin'
15+
- segmentId: 'cost-management-staging'
1616
bundleId: 'staging'
1717
position: 100
1818
navItems:
19-
- id: 'cost-management-plugin.nav'
19+
- id: 'cost-management-staging.nav'
2020
title: 'Cost Management'
2121
expandable: true
2222
routes:
23-
- id: 'cost-management-plugin.ros'
23+
- id: 'cost-management-staging.ros'
2424
title: 'ROS'
2525
expandable: true
2626

2727
# Must match apps/koku-ui-ros/src/utils/paths.ts base
2828
routes:
29-
- id: 'cost-management-plugin.ros.badge'
29+
- id: 'cost-management-staging.ros.badge'
3030
title: 'Optimizations badge'
3131
href: '/staging/cost-management/ros/optimizations/badge'
32-
- id: 'cost-management-plugin.ros.link'
32+
- id: 'cost-management-staging.ros.link'
3333
title: 'Optimizations link'
3434
href: '/staging/cost-management/ros/optimizations/link'
35-
- id: 'cost-management-plugin.ros.summary'
35+
- id: 'cost-management-staging.ros.summary'
3636
title: 'Optimizations summary'
37-
href: "/staging/cost-management/ros/optimizations/summary"
38-
- id: 'cost-management-plugin.ros.table'
37+
href: '/staging/cost-management/ros/optimizations/summary'
38+
- id: 'cost-management-staging.ros.table'
3939
title: 'Optimizations table'
4040
href: '/staging/cost-management/ros/optimizations/table'
41-
- id: 'cost-management-plugin.ros.details'
41+
- id: 'cost-management-staging.ros.details'
4242
title: 'Optimizations details'
4343
href: '/staging/cost-management/ros/optimizations/details'
44-
- id: 'cost-management-plugin.ros.breakdown'
44+
- id: 'cost-management-staging.ros.breakdown'
4545
title: 'Optimizations breakdown'
4646
href: '/staging/cost-management/ros/optimizations/breakdown'
4747
API:

apps/koku-ui-ros/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@
4747
"translations:datafile": "node scripts/createDataJson.js",
4848
"translations:syncTranslations": "node scripts/syncTranslations.js"
4949
},
50+
"scripts-info": {
51+
"release:stage": "Creates a PR to update the stage-ros branch",
52+
"release:prod": "Creates a PR to update the prod-ros branch",
53+
"release:app-interface:stage": "Creates an MR to update app-interface with latest SHA ref from stage-ros branch",
54+
"release:app-interface:prod": "Creates an MR to update app-interface with latest SHA ref from prod-ros branch",
55+
"start": "Run ROS UI",
56+
"start:csb": "Run ROS UI with local Cloud Services Backend",
57+
"start:ephemeral": "Run ROS UI with ephemeral env",
58+
"start:hmr": "Run ROS UI with hot module replacement (experimental)",
59+
"start:local:api": "Run ROS UI with a local API",
60+
"start:static": "Run ROS UI statically with local Koku UI (for running Federated Modules in Koku UI)",
61+
"translations": "Update localization files with latest messages"
62+
},
5063
"dependencies": {
5164
"@patternfly/patternfly": "6.4.0",
5265
"@patternfly/react-charts": "8.4.0",

deploy/frontend.yaml

Lines changed: 0 additions & 114 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
"start:ros": "npm run -w @koku-ui/koku-ui-ros start",
3131
"start:onprem": "npm run -w @koku-ui/koku-ui-onprem start"
3232
},
33+
"scripts-info": {
34+
"check:dependencies:all": "Checks for outdated dependencies in each workspace",
35+
"release:all": "Used to release koku-ui stage/prod branches and update app-interface with the latest SHA refs from same branches",
36+
"start:hccm": "Run Koku UI",
37+
"start:ros": "Run ROS UI",
38+
"start:onprem": "Run onprem UI"
39+
},
3340
"devDependencies": {
3441
"@eslint/compat": "^2.0.0",
3542
"@eslint/eslintrc": "^3.3.1",

scripts/release-all.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ function defaults() {
1111
function usage() {
1212
console.log(
1313
[
14-
'To release the koku-ui, use this script to first update koku-ui stage/prod branches.',
15-
'This script will then fetch the latest SHA refs from those branches and update app-interface.',
14+
'Use this script to create a PR, releasing koku-ui stage/prod branches first.',
15+
'Run again to create an MR, updating app-interface with the latest SHA refs from the same branches.',
1616
'Branch PRs are created in the koku-ui repo and MRs will be created in your app-interface fork.\n',
1717
].join('\n')
1818
);

0 commit comments

Comments
 (0)