I'm trying to run a gitlab service running wiremock on my gitlab ci. I want to take my json files for configure wiremock from the repository and mount as a volume to the wiremock image that run as an service on gitlab ci
.gitlab-ci.yml
variables:
SHARED_PATH: $CI_PROJECT_PATH/src/main/resources
services:
- name: wiremock/wiremock
alias: wiremock
image: openjdk:11
deploy:jdk11:
stage: deploy
script:
- 'curl -X POST http://wiremock:8080/'
I want to mount the SHARED_PATH as a volume for the wiremock service