grafana-backuper/entrypoint.sh
Tom Neuber 579f2a5df7
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
feat(cmd): add sequence flag to execute multiple functions
2024-12-07 01:38:24 +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