feat(grafana): add grafana#16
Conversation
❌MegaLinter analysis: Error
Detailed Issues❌ REPOSITORY / osv-scanner - 16 errors❌ ACTION / zizmor - 1 errorNotices📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining See detailed reports in MegaLinter artifacts
|
Co-authored-by: Copilot <copilot@github.com>
✅MegaLinter analysis: Success
Notices📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining See detailed reports in MegaLinter artifacts
|
Co-authored-by: Copilot <copilot@github.com>
ronenkapelian
left a comment
There was a problem hiding this comment.
- you didnt add it to release please config
.release-please-manifest.json & release-please-config.json
| USER root | ||
|
|
||
| # Copy only the extracted plugins from the downloader stage | ||
| COPY --from=downloader /plugins /opt/grafana/plugins |
There was a problem hiding this comment.
Keeping it with the default value removed the existing plugins I installed from the Docker and started all from the default plugins. Only customizing the plugins dir allowed me to deploy Grafana with the desired plugins
| curl -L -o "/tmp/${plugin}.zip" "https://grafana.com/api/plugins/${plugin}/versions/${version}/download"; \ | ||
| unzip -q "/tmp/${plugin}.zip" -d "/plugins/${plugin}"; \ | ||
| rm "/tmp/${plugin}.zip"; \ |
There was a problem hiding this comment.
Without -f / --fail, curl returns exit code 0 on HTTP 4xx/5xx. A deleted or mis-typed plugin version would produce an empty or HTML error-page zip, unzip would either fail or silently extract garbage, and the build would succeed with broken plugins. Adding -f makes curl fail immediately on server errors.
curl -fL -o```
There was a problem hiding this comment.
Thanks, added.
Next time, feel free to make a suggestion instead. That way I can easily just apply it :)
Co-authored-by: Copilot <copilot@github.com>


No description provided.