fix(Docker Compose): Test docker compose

This commit is contained in:
Marcel Feix 2022-06-14 16:59:21 +02:00
parent 7203d2cee8
commit e4112ba7c8
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
services:
hello_world:
image: alpine:latest
command: [ touch, "/tmp/test.log" ]
command: [ touch, "/home/user/test.log" ]
volumes:
- type: bind
source: /tmp
target: /tmp
source: /home/user
target: /home/user

View File

@ -13,7 +13,7 @@ Docker-compose:
- when: always
extends: .docker-compose-deploy
variables:
SCP_DESTINATION: "/tmp"
SCP_DESTINATION: "/home/user"
SCP_SOURCE: "$CI_PROJECT_DIR/test/docker-compose/docker-compose.yml"
COMPOSE_EXTRA_ARGS: "-f test/docker-compose/docker-compose.yml"
SSH_PORT: "22"