Skip to main content

Deploy applications

Deploying 9 systems out at the same time can be a non-trivial task. This should help explain how we do it.

AWS Codepipeline

Deploying GovWifi is achieved via AWS Codepipeline and Codebuild. The code for this is found in the govwifi-deploy module of the govwifi-terraform repo.

Core services

Instructions for deploying the core services can be found here. You will need to be a member of the GovWifi team to access these instructions.

This covers the:

  • Admin site
  • Authentication API
  • Logging API

When the deployment is complete the ECS service will automatically be restarted.

Instructions for deploying the Frontend RADIUS service can be found here. You will need to be a member of the GovWifi team to access these instructions.

Docs and the product page

The Dev Docs, Tech Docs, and Product Page use a static site generator called Middleman.

Pull Request Previews

Automatic branch previews are deployed to Heroku.

When a PR is raised, a deploy is triggered automatically and the link appears inline on the PR.

Production

Each repo has it’s own pipeline which deploys out to GovPaaS whenever a change is made to the master branch.

Trigger a deployment

  1. Merge your development branch to master.
  2. Github Actions will build + deploy to GovPaaS.
  3. Verify contents is deployed (you may need to add a GET parameter to bust the cache).
This page was last reviewed on 24 April 2023. It needs to be reviewed again on 24 October 2023 by the page owner #govwifi .
This page was set to be reviewed before 24 October 2023 by the page owner #govwifi. This might mean the content is out of date.