Our engineering team added automounting on service containers in the setup block.
version: '1.0'
steps:
main_clone:
title: Cloning main repository...
type: git-clone
repo: 'codefreshdemo/cf-example-unit-test'
revision: 'master'
git: github
hello_world_step:
title: free style step
image: node:11
commands:
- ls -l /codefresh/volume/
- cat /codefresh/volume/test.txt
services:
composition:
my_custom_service:
image: 'alpine:latest'
setup:
image: 'alpine:latest'
commands:
- "ls -l /codefresh/volume"
- "echo 'from service' > /codefresh/volume/test.txt"