Add GoldPi Email-Forwarder test container deploy
This commit is contained in:
parent
91e52aecd0
commit
8a6160817b
8 changed files with 143 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
set -a
|
||||
source ./config.env
|
||||
set +a
|
||||
|
||||
mkdir -p "$APP_DIR/export"
|
||||
TS="$(date +%Y%m%d-%H%M%S)"
|
||||
OUT="$APP_DIR/export/email-forwarder-pod-$TS.tar.gz"
|
||||
|
||||
tar -czf "$OUT" \
|
||||
config.env \
|
||||
config.json \
|
||||
Containerfile \
|
||||
01-install-Email-Forwarder-Pod.sh \
|
||||
02-reconf-Email-Forwarder-Pod.sh \
|
||||
03-import-Email-Forwarder-Pod.sh \
|
||||
04-export-Email-Forwarder-Pod.sh \
|
||||
05-uninstall-Email-Forwarder-Pod.sh \
|
||||
data \
|
||||
backup
|
||||
|
||||
sha256sum "$OUT" > "$OUT.sha256"
|
||||
echo "$OUT"
|
||||
cat "$OUT.sha256"
|
||||
Loading…
Add table
Add a link
Reference in a new issue