From 5d8b5f7bb15e14457904908b6db361082c791cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 5 May 2022 17:53:00 +0200 Subject: [PATCH] [the-new-hotness] Apply changes to configuration for staging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the message template to latest version. Schema is no longer part of the-new-hotness repository, they are installed by pip instead. Signed-off-by: Michal Konečný --- .../the-new-hotness/templates/buildconfig.yml | 2 +- .../openshift-apps/the-new-hotness/templates/config.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml b/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml index fadf379000..8caca5784c 100644 --- a/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml +++ b/roles/openshift-apps/the-new-hotness/templates/buildconfig.yml @@ -33,9 +33,9 @@ items: git checkout staging && \ {% else %} git checkout production && \ -{% endif %} pip-3 install . && \ pushd hotness_schema && \ +{% endif %} pip-3 install . && \ rm -rf the-new-hotness RUN rm -f /etc/krb5.conf && \ diff --git a/roles/openshift-apps/the-new-hotness/templates/config.toml b/roles/openshift-apps/the-new-hotness/templates/config.toml index ee242eb541..9406c3c0ff 100644 --- a/roles/openshift-apps/the-new-hotness/templates/config.toml +++ b/roles/openshift-apps/the-new-hotness/templates/config.toml @@ -104,8 +104,16 @@ keywords = "FutureFeature,Triaged" bug_status = "NEW" short_desc_template = "%(name)s-%(latest_upstream)s is available" description_template = """ +{% if env == "staging" %} +Releases retrieved: %(retrieved_versions)s + +Upstream release that is considered latest: %(latest_upstream)s +{% else %} Latest upstream release: %(latest_upstream)s +{% endif %} + Current version/release in %(repo_name)s: %(repo_version)s-%(repo_release)s + URL: %(url)s Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/\n