Skip to content

feat(github): migrate storybook deployment from Azure to Radix - #4869

Draft
Hjaf wants to merge 2 commits into
mainfrom
feat/migrate-storybook-to-radix
Draft

feat(github): migrate storybook deployment from Azure to Radix#4869
Hjaf wants to merge 2 commits into
mainfrom
feat/migrate-storybook-to-radix

Conversation

@Hjaf

@Hjaf Hjaf commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Replace Azure Blob Storage + Front Door deployment with Radix platform deployment, matching the pattern used by docs and color-palette-generator.

  • Add DockerfileStorybook (multi-stage: node build → nginx runtime)
  • Add storybook-nginx.conf for SPA serving on port 3000
  • Add storybook component to radixconfig.yaml with DNS aliases
  • Remove publish_storybook.yaml workflow (Radix auto-deploys on push)
  • Remove storybook deploy/CDN purge jobs from publish_core_react.yaml
  • Remove storybook endpoint from _purge_cdn.yaml
  • Delete obsolete packages/eds-core-react/Dockerfile.storybook
  • Update documentation with new deployment model

Note

Radix only reads radixconfig.yaml from the Config Branch (main), even for dev environment builds (Radix docs). New components on feature branches are ignored.

To enable the storybook build, we need to push radixconfig.yaml to main first. Components are only added to the config, no existing components are affected.

This migration changes how dev storybook deployments work. Previously, storybook was deployed via a manually dispatched workflow, giving us control over when updates went live. With Radix, storybook rebuilds automatically on every push to feat/* (dev) and main(prod) branches. We need to merge the config and observe the impact before fully committing. If automatic rebuilds on every push prove too disruptive, we may need to explore alternative deployment patterns for dev (e.g. restricting the build trigger to specific branches or using manual promotion).

Replace Azure Blob Storage + Front Door deployment with Radix platform
deployment, matching the pattern used by docs and color-palette-generator.

- Add DockerfileStorybook (multi-stage: node build → nginx runtime)
- Add storybook-nginx.conf for SPA serving on port 3000
- Add storybook component to radixconfig.yaml with DNS aliases
- Remove publish_storybook.yaml workflow (Radix auto-deploys on push)
- Remove storybook deploy/CDN purge jobs from publish_core_react.yaml
- Remove storybook endpoint from _purge_cdn.yaml
- Delete obsolete packages/eds-core-react/Dockerfile.storybook
- Update documentation with new deployment model
Comment thread radixconfig.yaml Outdated
environment: prod
component: docs
useCertificateAutomation: true
- alias: storybook.eds.equinor.com

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- alias: storybook.eds.equinor.com
remove

Remove DNS for now.
@Hjaf Hjaf self-assigned this May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants