wip debug

This commit is contained in:
bom 2021-12-15 10:17:34 +01:00
parent 7e135ee4f3
commit 4b781ce37a

View file

@ -51,6 +51,14 @@ function main()
kubectl exec -t $POD -- bash -c "echo \"$ENDPOINT k3stesthost cloudhost\" >> /etc/hosts" kubectl exec -t $POD -- bash -c "echo \"$ENDPOINT k3stesthost cloudhost\" >> /etc/hosts"
kubectl exec -t $POD -- /usr/local/bin/init.sh kubectl exec -t $POD -- /usr/local/bin/init.sh
# debug
kubectl exec -t $POD -- bash -c "sudo -u www-data php occ maintenance:mode --on"
kubectl exec -t $POD -- bash -c "sudo -u www-data php occ maintenance:mode --off"
kubectl exec -t $POD -- bash -c "la -la /var/"
kubectl exec -t $POD -- bash -c "la -la /var/backups"
kubectl exec -t $POD -- bash -c "la -la /var/backups/config"
#debug end
date date
echo ================= BACKUP ================= echo ================= BACKUP =================
kubectl exec -t $POD -- /usr/local/bin/backup.sh kubectl exec -t $POD -- /usr/local/bin/backup.sh