Page MenuHomePhabricator

Merges into master deploy to patchdemo-staging.catalyst.wmcloud.org
Closed, ResolvedPublic1 Estimated Story Points

Description

  • Staging needs to be in a managed, deployable state
  • Convert automatic deploy step for catalyst/patchdemo .gitlab-ci.yml to target staging
  • Convert automatic deploy step for Catalyst-API .gitlab-ci.yml to target staging
  • Add manual deployment step for Catalyst-API targetting production
  • Document deployment for both in their README

Event Timeline

thcipriani updated the task description. (Show Details)
thcipriani set the point value for this task to 1.
thcipriani moved this task from Backlog to Ready on the Catalyst (AGL) board.

Patchdemo Staging: https://staging-patchdemo.wmcloud.org

Catalyst API Staging: https://staging-api.catalyst.wmcloud.org

  • Each repo's CI is responsible for deploying its respective service in both staging and production.
  • Staging is automatically deployed on merges into master/main.
  • Deployment to production is a manual job which can be run after the pipeline finishes.
  • A new oauth client was created for patchdemo staging https://meta.wikimedia.org/wiki/Special:OAuthListConsumers/view/d73bc617e584344be9aefa5f2a641778
  • staging instances and deployed in a different namespace from production
  • staging instances have a separate databases from production instances
  • both staging and production Catalyst APIs deploy environments to the same namespace "cat-env" because this namespace is hardcoded