moved some debug stuff
This commit is contained in:
parent
a2735ae9a7
commit
e31b9ca74a
2 changed files with 4 additions and 13 deletions
|
@ -77,12 +77,8 @@ Some steps may take a couple of minutes to be effective, but eventually nextclou
|
|||
|
||||
See https://stackoverflow.com/questions/32933174/use-gitlab-ci-to-run-tests-locally
|
||||
|
||||
This needs to be done in the project root
|
||||
|
||||
`docker run -d --name gitlab-runner --restart always -v $PWD:$PWD -v /var/run/docker.sock:/var/run/docker.sock gitlab/gitlab-runner:latest`
|
||||
|
||||
`docker exec -it -w $PWD gitlab-runner gitlab-runner exec docker nextcloud-integrationtest --docker-privileged --docker-volumes '/var/run/docker.sock:/var/run/docker.sock'`
|
||||
|
||||
# TODO
|
||||
|
||||
* add possibility to use local certificate in dda-backup backup function
|
||||
* if ENV_VARIABLE set: use certificate
|
||||
* get restic password from config
|
||||
`docker exec -it -w $PWD gitlab-runner gitlab-runner exec docker nextcloud-integrationtest --docker-privileged --docker-volumes '/var/run/docker.sock:/var/run/docker.sock'`
|
|
@ -51,14 +51,9 @@ function main()
|
|||
kubectl exec -t $POD -- bash -c "echo \"$ENDPOINT k3stesthost cloudhost\" >> /etc/hosts"
|
||||
kubectl exec -t $POD -- /usr/local/bin/init.sh
|
||||
|
||||
# debug
|
||||
kubectl exec -t $POD -- bash -c "ls -la /var/"
|
||||
kubectl exec -t $POD -- bash -c "ls -la /var/backups"
|
||||
kubectl exec -t $POD -- bash -c "ls -la /var/backups/config"
|
||||
#debug end
|
||||
|
||||
date
|
||||
echo ================= BACKUP =================
|
||||
kubectl exec -t $POD -- ls -l /var/backups/config
|
||||
kubectl exec -t $POD -- /usr/local/bin/backup.sh
|
||||
|
||||
date
|
||||
|
|
Loading…
Reference in a new issue