Skip to main content
Warning This document has not been updated for a while now. It may be out of date.
Last updated: 6 May 2022

publishing-e2e-tests: 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).