feat(cmd): add sequence
flag to execute multiple functions
This commit is contained in:
parent
30ee41171a
commit
579f2a5df7
5 changed files with 37 additions and 4 deletions
8
entrypoint.sh
Normal file
8
entrypoint.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue