ministryofjustice / data-catalogue

Data catalogue • This repository is defined and managed in Terraform
MIT License
2 stars 0 forks source link

Github actions - datahub deployment flow #35

Open LavMatt opened 6 months ago

LavMatt commented 6 months ago

User Story

As a developer I want to setup a deployment workflow for dathbu to the cloud platform kubernetes namespace from github actions So that we have a secure and reproducible deployment flow

Value / Purpose

To have a secure and reproducible deployment flow

Useful Contacts

No response

User Types

No response

Hypothesis

If we... [do a thing] Then... [this will happen]

Proposal

Some thinking has been done shown in this draft https://github.com/ministryofjustice/data-platform-datahub-catalogue/pull/2

This has not been tested on the github runners and could need another service account for permissions to deploy into the namespace.

We also may want to think about a gated deployment with probably dev and prod environments to deploy the different instances of datahub (for now we're just working on dev).

Additional Information

This is the service account cp module https://github.com/ministryofjustice/cloud-platform-terraform-serviceaccount/tree/main

Definition of Done

Example - [ ] Documentation has been written / updated

seanprivett commented 5 months ago

Do we still want to do this after the architectural discussion this week, and the decision to move to terraform deployment for DataHub?

github-actions[bot] commented 3 months ago

This issue is being marked as stale because it has been open for 60 days with no activity. Remove stale label or comment to keep the issue open.