copied from preCICE tutorials
This commit is contained in:
parent
46a7e98752
commit
3f1b1a6d0f
68 changed files with 156449 additions and 0 deletions
24
preCICE_tools/tests/docker-compose.template.yaml
Normal file
24
preCICE_tools/tests/docker-compose.template.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
prepare:
|
||||
build:
|
||||
context: {{ dockerfile_context }}
|
||||
target: base_image
|
||||
args:
|
||||
{% for key, value in build_arguments.items() %}
|
||||
- {{key}}={{value}}
|
||||
{% endfor %}
|
||||
volumes:
|
||||
- {{ run_directory }}:/runs
|
||||
command: >
|
||||
/bin/bash -c "id &&
|
||||
cd '/runs/{{ tutorial_folder }}' &&
|
||||
sed -i 's%</participant>%<export:vtk directory=\"../{{precice_output_folder}}\" /> </participant>%g' precice-config.xml &&
|
||||
sed -i 's|m2n:sockets |m2n:sockets network=\"eth0\" |g' precice-config.xml &&
|
||||
cat precice-config.xml"
|
||||
|
||||
|
||||
{% for service in services %}
|
||||
{{ service }}:
|
||||
{{ services[service] |indent(4) }}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue