Skip to content

[EPIC](greenhouse): PR Previews - enable PR Previews with Unified Kubernetes Deployment (1) #1169

@hodanoori

Description

@hodanoori

Description

Currently, our solution for PR previews supports only static bundles/apps on GitHub Pages. Since Greenhouse is reaching its limits due to TanStack Router we need to explore an alternative approach. One option is to use a similar setup with Docker images served via Nginx running in Kubernetes, mirroring the configuration of our QA and Production environments.

The goal of this epic is to continue offering PR previews, which have proven very useful for reviewing pull requests, while standardising the build and server setup across all environments. This ensures that every feature branch is tested under the same conditions as QA and Production, increasing confidence in releases and reducing last-minute surprises.

Objectives

  • Previewing in our infrastructure
  • Use Kubernetes
  • Use private instead of public API URLs
  • Being able to use Bff and non static bundles
  • Use Argo CD/CI

Acceptance Criteria

  • The bundle will be created in an init container and the result added to a volume which is then attached to the nginx container on the right path.

Tasks

  • Setup meeting
  • Create a Mural diagram describing the planned implementation.
  • Present it to the team and reach agreement.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions