From 736f42b830719511ebf0556e8ebd3935deacab81 Mon Sep 17 00:00:00 2001
From: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date: Mon, 13 Mar 2023 13:46:35 +0100
Subject: [PATCH] Revert "swh: upgrade graphql version to v0.0.9"

This reverts commit 5e711f4ced058beb111dec5fa9049d4e29f151b8.

The current version generate an error with the template of the
new embedded client site

```
swh/graphql-5d65f69d49-4qc44[graphql]: [2023-03-13 12:45:50 +0000] [8] [ERROR] Exception in ASGI application
swh/graphql-5d65f69d49-4qc44[graphql]: Traceback (most recent call last):
swh/graphql-5d65f69d49-4qc44[graphql]:   File "/opt/graphql/.local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 429, in run_asgi
swh/graphql-5d65f69d49-4qc44[graphql]:     result = await app(  # type: ignore[func-returns-value]
...
swh/graphql-5d65f69d49-4qc44[graphql]:   File "/opt/graphql/.local/lib/python3.10/site-packages/jinja2/loaders.py", line 218, in get_source
swh/graphql-5d65f69d49-4qc44[graphql]:     raise TemplateNotFound(template)
swh/graphql-5d65f69d49-4qc44[graphql]: jinja2.exceptions.TemplateNotFound: explorer.html

Related to swh/infra/sysadm-environment#4803
---
 swh/Chart.yaml                       | 2 +-
 values-swh-application-versions.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/swh/Chart.yaml b/swh/Chart.yaml
index c4d9f1fde..dfce8a30d 100644
--- a/swh/Chart.yaml
+++ b/swh/Chart.yaml
@@ -1,5 +1,5 @@
 apiVersion: v2
-appVersion: 7
+appVersion: 6
 description: A Helm chart to deploy the softwareheritage stack
 name: swh
 type: application
diff --git a/values-swh-application-versions.yaml b/values-swh-application-versions.yaml
index 500537e8e..5013291a8 100644
--- a/values-swh-application-versions.yaml
+++ b/values-swh-application-versions.yaml
@@ -1,7 +1,7 @@
 swh_deposit_checkers_image: container-registry.softwareheritage.org/swh/infra/swh-apps/deposit_checkers
 swh_deposit_checkers_image_version: '20230131.1'
 swh_graphql_image: container-registry.softwareheritage.org/swh/infra/swh-apps/graphql
-swh_graphql_image_version: '20230313.1'
+swh_graphql_image_version: '20230307.1'
 swh_indexer_image: container-registry.softwareheritage.org/swh/infra/swh-apps/indexer
 swh_indexer_image_version: '20230202.3'
 swh_lister_image: container-registry.softwareheritage.org/swh/infra/swh-apps/lister
-- 
GitLab