Skip to content

Commit

Permalink
Stats: add Odyssey Stats to TeamCity build config - Take #2 (#70915)
Browse files Browse the repository at this point in the history
* slug need to match directory name in apps

* change build name to "Calypso Stats"

* rename Calypso Stats to Odyssey Stats

* rename stats to odyssey-stats
  • Loading branch information
kangzj authored Dec 8, 2022
1 parent 9663192 commit 726c0c8
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .teamcity/_self/projects/WPComPlugins.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object WPComPlugins : Project({
buildType(EditingToolkit)
buildType(WpcomBlockEditor)
buildType(Notifications)
buildType(CalypsoStats)
buildType(OdysseyStats)
buildType(O2Blocks)
buildType(HappyBlocks)
buildType(Happychat)
Expand All @@ -47,7 +47,7 @@ object WPComPlugins : Project({
withStatus = successful()
withTags = anyOf(
"notifications-release-build",
"calypso-stats-release-build",
"odyssey-stats-release-build",
"etk-release-build",
"wpcom-block-editor-release-build",
"o2-blocks-release-build",
Expand Down Expand Up @@ -152,10 +152,10 @@ private object Notifications : WPComPluginBuild(
""".trimIndent(),
)

private object CalypsoStats : WPComPluginBuild(
buildId = "WPComPlugins_CalypsoStats",
buildName = "CalypsoStats",
pluginSlug = "calypso-stats",
private object OdysseyStats : WPComPluginBuild(
buildId = "WPComPlugins_OdysseyStats",
buildName = "Odyssey Stats",
pluginSlug = "odyssey-stats",
archiveDir = "./dist/",
docsLink = "PCYsg-elI-p2",
)
Expand Down
4 changes: 2 additions & 2 deletions apps/stats/README.md → apps/odyssey-stats/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stats App

The Stats App is built to refresh the Stats experience in Jetpack. The counterpart of the project is in [here](https://github.com/Automattic/jetpack/tree/trunk/projects/packages/stats-admin).
Odyssey Stats is built to refresh the Stats experience in Jetpack. The counterpart of the project is in [here](https://github.com/Automattic/jetpack/tree/trunk/projects/packages/stats-admin).

## Hiarachy

Expand Down Expand Up @@ -57,4 +57,4 @@ STATS_PACKAGE_PATH=/path/to/jetpack/projects/packages/stats-admin yarn dev

## Uploading to CDN

The path is `widgets.wp.com/calypso-stats`.
The path is `widgets.wp.com/odyssey-stats`.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ __metadata:
languageName: unknown
linkType: soft

"@automattic/calypso-stats@workspace:apps/stats":
"@automattic/calypso-stats@workspace:apps/odyssey-stats":
version: 0.0.0-use.local
resolution: "@automattic/calypso-stats@workspace:apps/stats"
resolution: "@automattic/calypso-stats@workspace:apps/odyssey-stats"
dependencies:
"@automattic/babel-plugin-transform-wpcalypso-async": "workspace:^"
"@automattic/calypso-apps-builder": "workspace:^"
Expand Down

0 comments on commit 726c0c8

Please sign in to comment.