fix(Docker Compose): Test docker compose

This commit is contained in:
Marcel Feix 2022-06-14 16:49:00 +02:00
parent 6ea5768f14
commit 7203d2cee8
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -35,5 +35,5 @@ Test-Files:
extends: .ssh-transfer-data extends: .ssh-transfer-data
script: script:
- ssh-keyscan $SSH_URL >> ~/.ssh/known_hosts - ssh-keyscan $SSH_URL >> ~/.ssh/known_hosts
- ssh $SSH_USER@$SSH_URL "if [ -f test.log ]; then rm test.log; exit 1; fi" - ssh $SSH_USER@$SSH_URL "if [ -f test.log ]; then rm test.log; else exit 255; fi"
- ssh $SSH_USER@$SSH_URL "if [ -f docker-compose.yml ]; then rm docker-compose.yml; exit 1; fi" - ssh $SSH_USER@$SSH_URL "if [ -f docker-compose.yml ]; then rm docker-compose.yml; else exit 255; fi"