GraphQL: production - Deploy version v0.0.96
Create a new GraphQL prod release. Tag created: v0.0.96
Major changes:
- Pin CSS and Ariadne versions
- New saved queries
- New favicon
- Bug fixes
Config changes: None
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Jayesh changed milestone to %GraphQL API
changed milestone to %GraphQL API
- Jayesh added activity::Deployment environment: production labels
added activity::Deployment environment: production labels
- Guillaume Samson mentioned in commit swh/infra/ci-cd/swh-charts@5b35eb30
mentioned in commit swh/infra/ci-cd/swh-charts@5b35eb30
- Vincent Sellier assigned to @guillaume
assigned to @guillaume
- Owner
It's deployed in production.
Collapse replies
There is a minor issue here, favicon is served from /static/favicon.png
Since we have a redirect to /graphql, https://archive.softwareheritage.org/static/favicon.png will throw a 404. Real path will be https://archive.softwareheritage.org/graphql/static/favicon.png
We need the same redirection in /static as well. Not a major issue, I will crearte another ticket for this. @guillaume @vsellier
Collapse replies - Owner
The simplest way is to modify the path in the file
explorer.html
. We made the modification in staging on all pods:swh@graphql-5f4b64dd7c-7cd5q:~/.local/lib/python3.10/site-packages/swh/graphql/client$ sed -i 's|"/static/img/icons/swh-logo-32x32.png|"static/favicon.png|' explorer.html swh@graphql-5f4b64dd7c-7cd5q:~/.local/lib/python3.10/site-packages/swh/graphql/client$ grep favicon.png explorer.html <link rel="icon" type="image/x-icon" href="static/favicon.png">
You should use relative path instead of absolute path.
- Guillaume Samson closed
closed