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
Currently there is no possibility to mount a volume.
See this in the Gitlab issue tracker: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28121
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With