Details
-
Suggestion
-
Resolution: Unresolved
Description
It's simple enough:
We have some tests that we run with a compose file. The mysql image in that compose file mounts a volume in the source directory to run some boot-up scripts that essentially create the structure we need. I don't see any where to do this in the pipeline.yml file. Below is my compose that I am trying to move to a pipeline
# File is a work in progress
version: '3.3'
services:
mysql:
image: mysql:5.6
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=true
volumes:
- $PWD/user-login-server/src/main/resources/sql:/docker-entrypoint-initdb.d/:ro
redis:
image: redis
build:
image: anapsix/alpine-java:8_jdk
command: ./gradlew compileJava check assemble
working_dir: /root
volumes:
- $PWD:/root:rw
depends_on:
- mysql
- redis
environment:
- HOST=$HOST
I am betting money I am not the only one who needs this