grafana-backuper/entrypoint.sh
Tom Neuber 6dd804f3d6
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline failed
feat(cmd): add sequence flag to execute multiple functions
2024-12-07 01:13:06 +01:00

8 lines
185 B
Bash

#!/bin/bash
# Check if the environment variable GRAFANA_MODE is set
if [ -z "$GB_SEQUENCE" ]; then
exec ./grafana-backuper backup --json
else
exec ./grafana-backuper --json
fi