Skip to content

Add preview deployments per pull request #51

Description

@yutotakano

(This issue is aimed primarily for BI admins, as it requires access to the deployment stack)

It'd be super cool if every pull request spins up a temporary preview deployment of BI Files. It would be useful to see any UI changes too, on the go.

For example, PR 23 might get pr-23.preview.files.betterinformatics.com, and you can browse a deployed version of the PR filled with test data. When the PR is closed or merged, the deployment would get taken down.

I believe this should be possible by somehow using wildcard Ingress routes in our Kubernetes configuration, and maybe spinning up temporary postgres/bi-files/minio pods based on webhooks or CI. I've only thought about this briefly though.

Argo & Flux CD would probably usually be the best choice for something like this, but they won't work under our deployment environment, since we only have control over one Kubernetes namespace in Tardis (when both Argo & Flux requires multi-namespace + cluster admin permissions).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraInfrastructure related issues (requires access to deployment stack to solve)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions