Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package grafana-image for openSUSE:Factory 
checked in at 2025-05-30 14:29:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grafana-image (Old)
 and      /work/SRC/openSUSE:Factory/.grafana-image.new.25440 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grafana-image"

Fri May 30 14:29:29 2025 rev:32 rq:1280185 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/grafana-image/grafana-image.changes      
2025-05-05 22:57:23.822994469 +0200
+++ /work/SRC/openSUSE:Factory/.grafana-image.new.25440/grafana-image.changes   
2025-05-30 17:21:27.969624817 +0200
@@ -1,0 +2,10 @@
+Mon May 26 07:43:40 UTC 2025 - SUSE Update Bot <bci-inter...@suse.de>
+
+- mark GF_INSTALL_PLUGINS as deprecated
+
+-------------------------------------------------------------------
+Fri May 23 11:23:16 UTC 2025 - SUSE Update Bot <bci-inter...@suse.de>
+
+- use SOURCEURL_WITH to generate proper artifacthub urls
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.DjU32O/_old  2025-05-30 17:21:28.545648731 +0200
+++ /var/tmp/diff_new_pack.DjU32O/_new  2025-05-30 17:21:28.549648897 +0200
@@ -46,7 +46,7 @@
 LABEL 
org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI";
 LABEL org.opensuse.release-stage="released"
 # endlabelprefix
-LABEL 
io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/grafana-image/README.md";
+LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
 ENV GF_PATHS_DATA="/var/lib/grafana"
 ENV GF_PATHS_HOME="/usr/share/grafana"
 ENV GF_PATHS_LOGS="/var/log/grafana"

++++++ run.sh ++++++
--- /var/tmp/diff_new_pack.DjU32O/_old  2025-05-30 17:21:28.621651887 +0200
+++ /var/tmp/diff_new_pack.DjU32O/_new  2025-05-30 17:21:28.625652053 +0200
@@ -63,18 +63,21 @@
 export HOME="$GF_PATHS_HOME"
 
 if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then
-  OLDIFS=$IFS
-  IFS=','
-  for plugin in ${GF_INSTALL_PLUGINS}; do
-    IFS=$OLDIFS
-    if [[ $plugin =~ .*\;.* ]]; then
-        pluginUrl=$(echo "$plugin" | cut -d';' -f 1)
-        pluginInstallFolder=$(echo "$plugin" | cut -d';' -f 2)
-        grafana cli --pluginUrl ${pluginUrl} --pluginsDir 
"${GF_PATHS_PLUGINS}" plugins install "${pluginInstallFolder}"
-    else
-        grafana cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install 
${plugin}
-    fi
-  done
+  >&2 echo "\033[0;33mWARN\033[0m: GF_INSTALL_PLUGINS is deprecated. Use 
GF_PLUGINS_PREINSTALL or GF_PLUGINS_PREINSTALL_SYNC instead. Checkout the 
documentation for more info."
+  if [ "${GF_INSTALL_PLUGINS_FORCE}" = "true" ]; then
+    OLDIFS=$IFS
+    IFS=','
+    for plugin in ${GF_INSTALL_PLUGINS}; do
+        IFS=$OLDIFS
+        if [[ $plugin =~ .*\;.* ]]; then
+            pluginUrl=$(echo "$plugin" | cut -d';' -f 1)
+            pluginInstallFolder=$(echo "$plugin" | cut -d';' -f 2)
+            grafana cli --pluginUrl ${pluginUrl} --pluginsDir 
"${GF_PATHS_PLUGINS}" plugins install "${pluginInstallFolder}"
+        else
+            grafana cli --pluginsDir "${GF_PATHS_PLUGINS}" plugins install 
${plugin}
+        fi
+    done
+  fi
 fi
 
 exec grafana server                                         \

Reply via email to