Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Latest commit

 

History

History
15 lines (12 loc) · 1.24 KB

adding-new-apps.md

File metadata and controls

15 lines (12 loc) · 1.24 KB

Adding new apps

Warning: this repo is DEPRECATED as of RFC 128 (Continuous Deployment). The tests are slow and brittle and do not run in a realistic GOV.UK environment. Do not add any new apps to this repo.

  1. Create a Dockerfile in the repository of the app you want to add.
  2. Edit the Makefile to include the repository for the app.
  3. Define the service and its relationship to other services in docker-compose.yml.
  4. Create a test-<app> step in the Makefile to run tests tagged with <app>: true.
  5. Add a Docker healthcheck to check the app is ready to do work.
    • The wait_for_apps stage of the build will block until the healthcheck comes back as OK.
  6. Add the app to the Jenkinsfile to support building with specific commits.
  7. Add Publishing E2E tests as a required check on the app repo (example).