Bumps [`@grafana/create-plugin`](https://github.com/grafana/plugin-tools/tree/main/packages/create-plugin) configuration from 4.2.1 to 5.26.4. **Notes for reviewer:** This is an auto-generated PR which ran `@grafana/create-plugin update`. Please consult the create-plugin [CHANGELOG.md](https://github.com/grafana/plugin-tools/blob/main/packages/create-plugin/CHANGELOG.md) to understand what may have changed. Please review the changes thoroughly before merging. --------- Co-authored-by: grafana-plugins-platform-bot[bot] <144369747+grafana-plugins-platform-bot[bot]@users.noreply.github.com> Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
19 lines
388 B
Bash
19 lines
388 B
Bash
#!/bin/sh
|
|
|
|
if [ "${DEV}" = "false" ]; then
|
|
echo "Starting test mode"
|
|
exec /run.sh
|
|
fi
|
|
|
|
echo "Starting development mode"
|
|
|
|
if grep -i -q alpine /etc/issue; then
|
|
exec /usr/bin/supervisord -c /etc/supervisord.conf
|
|
elif grep -i -q ubuntu /etc/issue; then
|
|
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|
|
else
|
|
echo 'ERROR: Unsupported base image'
|
|
exit 1
|
|
fi
|
|
|