From 093610a28362649f3d9d893c7759716d2f494f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Fri, 18 Jan 2019 13:30:55 +0100 Subject: [PATCH] anitya/release-monitoring: Add USER env variable to cronjob MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- roles/openshift-apps/release-monitoring/files/cron.yml | 2 ++ .../release-monitoring/templates/configmap.yml | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/release-monitoring/files/cron.yml b/roles/openshift-apps/release-monitoring/files/cron.yml index 919bb9e18c..96335b3387 100644 --- a/roles/openshift-apps/release-monitoring/files/cron.yml +++ b/roles/openshift-apps/release-monitoring/files/cron.yml @@ -19,6 +19,8 @@ spec: env: - name: ANITYA_WEB_CONFIG value: /etc/anitya/anitya.toml + - name: USER + value: anitya volumeMounts: - mountPath: /etc/anitya name: config-volume diff --git a/roles/openshift-apps/release-monitoring/templates/configmap.yml b/roles/openshift-apps/release-monitoring/templates/configmap.yml index 9651345e49..65fd4d9a72 100644 --- a/roles/openshift-apps/release-monitoring/templates/configmap.yml +++ b/roles/openshift-apps/release-monitoring/templates/configmap.yml @@ -91,17 +91,17 @@ items: stream = "ext://sys.stdout" [anitya_log_config.loggers.anitya] - level = "DEBUG" + level = "INFO" propagate = false handlers = ["console"] [anitya_log_config.loggers.fedmsg] - level = "DEBUG" + level = "INFO" propagate = false handlers = ["console"] [anitya_log_config.root] - level = "DEBUG" + level = "INFO" handlers = ["console"] alembic.ini: |- [alembic]