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: services:
hello_world: hello_world:
image: alpine:latest image: alpine:latest
command: [ touch, "/tmp/test.log" ] command: [ touch, "/home/user/test.log" ]
volumes: volumes:
- type: bind - type: bind
source: /tmp source: /home/user
target: /tmp target: /home/user

View File

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