GraphQL: staging - Deploy version v0.0.4
Create a new staging release Config changes required [1]
Other major changes:
- use uvicornworker with gunicorn
- cors enabled for every origin
- remove unnecessary erros
- add a directoryEntry entry point
- rename type filed to targetType
Plan:
-
(annotate signed) tag swh-graphql repository v0.0.4 -
Wait for jenkins to be done with the build(no build for it) -
swh-apps: Generate new frozen requirements virtualenv (out of the new version) -
Adapt apps/swh-graphql/entr<ypoint.sh out of the config change [1] -
swh-apps: Build docker image with that frozen venv ^ -
Publish docker image -
swh-charts: Reference new image version (commit and push) -
Wait for argocd deployment to kick in -
Deployed but crashed. It's missing requirements. -
Lather, rinse, repeat ^ -
Deployed -
Checks (trigger a query in the ui [2]) -
Enjoy new graphql version -
[1] D8374
Migrated from T4532 (view on Phabricator)
Edited by Antoine R. Dumont