From 9188925cd2c91d32c9b0128bd57ed3ad322a2ae8 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: Jun 20 2022 16:03:49 +0000 Subject: [release-monitoring]Fix build issue on staging Messages schema is no longer part of main repository, so we can't install it like before. Signed-off-by: Michal Konečný --- diff --git a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml index 9021cb6..fe5f055 100644 --- a/roles/openshift-apps/release-monitoring/templates/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/templates/buildconfig.yml @@ -75,8 +75,10 @@ items: popd && \ python3 setup.py install && \ pip-3 install . && \ +{% if env != 'staging' %} pushd anitya_schema && \ pip-3 install . && \ +{% endif %} popd && \ popd && \ rm -rf anitya