Page MenuHomeSoftware Heritage

GraphQL: staging - Deploy version v0.0.4
Closed, MigratedEdits Locked

Description

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.
  • D8465: Fix requirements thx to @jayeshv
  • Lather, rinse, repeat ^
  • Deployed
  • Checks (trigger a query in the ui [2])
  • Enjoy new graphql version

[1] D8374

[2] https://graphql.staging.swh.network

Event Timeline

jayeshv triaged this task as Normal priority.Sep 13 2022, 11:33 AM
jayeshv created this task.
ardumont changed the task status from Open to Work in Progress.Sep 13 2022, 2:29 PM
ardumont moved this task from Backlog to in-progress on the System administration board.