Skip to content

Commit

Permalink
Mount source code as volume (#197)
Browse files Browse the repository at this point in the history
Co-authored-by: kst-morozov <[email protected]>
  • Loading branch information
k-morozov and kst-morozov authored Dec 25, 2024
1 parent 6ff7826 commit c19239d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/modules/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def _generate_service_config(

volumes = [
"../:/code:rw",
"../ch_backup:/var/tmp/ch-backup/ch_backup:rw",
]
if os.path.exists(os.path.join(staging_dir, f"images/{instance_name}/config")):
volumes.append(f"./images/{instance_name}/config:/config:rw")
Expand Down

0 comments on commit c19239d

Please sign in to comment.