Skip to content

Commit c47ec24

Browse files
committed
Adds CDATA to custom runner code
1 parent f2017cf commit c47ec24

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/source/custom_runners.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,7 @@ launches the Amazon instance, whereas the other ones only executes the SSH part.
202202
<?xml version="1.0" encoding="UTF-8"?>
203203
<runners xmlns="http://sing-group.org/compi/runners-1.0"
204204
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
205-
<runner tasks="task-1">
206-
205+
<runner tasks="task-1"><![CDATA[
207206
image_id="ami-014f0ecd3e71df934" # set here the AMI id
208207
remote_user="ubuntu" # SSH user of your amazon image (depends on the concrete image)
209208
type="m1.small" # set here the image type
@@ -275,5 +274,5 @@ launches the Amazon instance, whereas the other ones only executes the SSH part.
275274
scp -o StrictHostKeyChecking=no -i ${private_key_file} $envfile ${remote_user}@${remote_host}:${envfile}
276275
task_code_with_env="source $envfile; $task_code"
277276
ssh -o StrictHostKeyChecking=no -i ${private_key_file} ${remote_user}@${remote_host} "$task_code_with_env"
278-
</runner>
277+
]]></runner>
279278
</runners>

0 commit comments

Comments
 (0)