ministryofjustice / cloud-platform

Documentation on the MoJ cloud platform
MIT License
87 stars 45 forks source link

Create github action to build and test docker image for prototype kit #3836

Closed poornima-krishnasamy closed 1 year ago

poornima-krishnasamy commented 2 years ago

Background

We have the moj-prototype-template which hold the copy of gov.uk prototype kit. To ensure the Dockerfile and docker image is build and tested whenever the prototype kit version is updated in line with latest release here: https://github.com/alphagov/govuk-prototype-kit, create an automatic way to test the docker build.

Approach

One approach to create a github action to build and push to docker and have a demo repository to deploy the image

Which part of the user docs does this impact

https://github.com/ministryofjustice/moj-prototype-template https://github.com/ministryofjustice/cloud-platform-prototype-demo

Definition of done

Reference

How to write good user stories

poornima-krishnasamy commented 2 years ago

Find a way to trace the https://github.com/alphagov/govuk-prototype-kit releases

Add runbook to explain the steps CP team has to do to update the kit for latest release, test the build and deploy process while being in the branch. Utilize branch based deployment to test the latest release.