wip debug
This commit is contained in:
parent
7e135ee4f3
commit
4b781ce37a
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue