From 9131fbe2d22483080b3a6ff7546c32a009dad1f5 Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Wed, 16 Oct 2024 16:22:46 -0500 Subject: [PATCH] Add obs inventory storybook to aliases (#195843) This makes it so observability inventory storybooks work with `yarn storybook` and are published to https://ci-artifacts.kibana.dev/storybooks/main/latest/index.html and PR builds. --- .buildkite/scripts/steps/storybooks/build_and_upload.ts | 1 + src/dev/storybook/aliases.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.ts b/.buildkite/scripts/steps/storybooks/build_and_upload.ts index 393b89a97acb2..483a5c28a295b 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.ts +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.ts @@ -43,6 +43,7 @@ const STORYBOOKS = [ 'lists', 'observability', 'observability_ai_assistant', + 'observability_inventory', 'observability_shared', 'presentation', 'security_solution', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 16594dbc49157..cc991d72d23c0 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -56,6 +56,7 @@ export const storybookAliases = { 'x-pack/plugins/observability_solution/observability_ai_assistant/.storybook', observability_ai_assistant_app: 'x-pack/plugins/observability_solution/observability_ai_assistant_app/.storybook', + observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', observability_slo: 'x-pack/plugins/observability_solution/slo/.storybook', presentation: 'src/plugins/presentation_util/storybook',