- 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
Description
Related Objects
Event Timeline
kindrobot opened https://gitlab.wikimedia.org/repos/qte/catalyst/catalyst-api/-/merge_requests/56
Add staging
kindrobot merged https://gitlab.wikimedia.org/repos/qte/catalyst/catalyst-api/-/merge_requests/56
Add staging
kindrobot opened https://gitlab.wikimedia.org/repos/qte/catalyst/catalyst-api/-/merge_requests/57
Edit environment names
kindrobot merged https://gitlab.wikimedia.org/repos/qte/catalyst/catalyst-api/-/merge_requests/57
Edit environment names
kindrobot opened https://gitlab.wikimedia.org/repos/qte/catalyst/catalyst-api/-/merge_requests/58
Fixup namespace
kindrobot merged https://gitlab.wikimedia.org/repos/qte/catalyst/catalyst-api/-/merge_requests/58
Fixup namespace
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
- created T373943 to fix