Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 3.33 KB

README.md

File metadata and controls

66 lines (51 loc) · 3.33 KB

Ship It API and Frontend

See api and frontend READMEs for more details on each.

Local Development

Use docker-compose up to run them both. The API will be available at https://localhost:8015. The frontend will be available at https://localhost:8010

Deployed Environments

We have a number of deployed Ship It environments. All of the backends respond to pushes to different Docker tags in https://hub.docker.com/r/mozilla/release-services. Each frontend has its own S3 bucket that is deployed to as part of CI on a particular branch. Below are further details about each:

Production

Staging

Two important notes about staging:

  1. The backend URL is actually a CNAME for dev.shipitapi.nonprod.cloudops.mozgcp.net. Despite the fact that the real FQDN says "dev", we refer to this environment as "staging".
  2. There is also a CloudOps environment known as "stage", at stage.shipitapi.nonprod.cloudops.mozgcp.net, which we do not use (more on that in the "CloudOps staging" section below).

Testing

CloudOps Stage

This environment solely exists as part of the CloudOps deployment pipeline for the production backend. When the shipit_api_dockerflow_production tag is updated on Dockerhub, their pipeline first deploys to this staging environment. If that deployment is successful, it deploys to production. If that deployment fails, the deploy is aborted.