Nothing Special   »   [go: up one dir, main page]

Skip to content

Deployment configuration for all UKWA services stacks.

License

Notifications You must be signed in to change notification settings

anjackson/ukwa-services

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ukwa-services

Introduction

Deployment configuration for all UKWA services stacks.

These Docker Stack configurations and related scripts are used to launch and manage our main services. No internal or sensitive data is kept here -- that is stored in internal ukwa-services-env repository and pulled in when needed.

See the change log for information on how this setup has changed over time.

Structure

Service stacks are grouped by broad service area, e.g. access contains the stacks that provides the access services, and the access README provides detailed documentation on how the access services are deployed.

Within each sub-folder, e.g. access/website], we should have a single docker-compose.yml file which should be used for all deployment contexts (dev,beta and prod). Any necessary variations should be defined via environment variables.

These variables, any other context-specific configuration, should be held in dev,beta and prod subdirectories. For example, if access/website/docker-compose.yml is the main stack definition file, any addtional services needed only on dev might be declared in access/website/dev/docker-compose.yml and would be deployed separately.

A top-level guide to all the different automated tasks is provided in TASKS.md.

Deployment Process

First, individual components should be developed and tested on developers' own machines/VMs, using the Docker Compose files within each tool's repository. e.g.

These are are intended to be self-contained. i.e. if possible should not depend on external services, but use dummy ones populated with test data.

Once a new version of a component is close to completion, we will want to run then against internal APIs for integration testing and/or user acceptance testing, and that's what the files in this repository are for. A copy of this repository is available on the shared storage of the DEV Swarm, and that's where new builds of versions of containers should be tested.

Once we're happy with the set of Swarm stacks, we can tag the whole configuration set for release through BETA and then to PROD.

Whoever is performing the roll-out will then review the tagged ukwa-services configuration:

  • check they understand what has been changed, which should be indicated in the change log
  • review setup, especially the prod/beta/dev-specific configurations, and check they are up to date and sensible
  • check no sensitive data or secrets have crept into this repository (rather than ukwa-services-env)
  • check all containers specify a tagged version to deploy
  • check the right API endpoints are in us
  • run any tests supplied for the component

About

Deployment configuration for all UKWA services stacks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 43.6%
  • Shell 43.0%
  • RobotFramework 7.9%
  • ASL 4.8%
  • JavaScript 0.7%