instance-runner.cfg 18.7 KB
Newer Older
1 2
[buildout]
parts =
3 4
  nginx_conf
  nginx-launcher
5
  cloud9
6 7
  certificate-authority
  ca-nginx
8
  ca-node-frontend
9
  ca-shellinabox
10 11
  gunicorn-launcher
  gunicorn-graceful
12
  test-runner
13
  sshkeys-dropbear-runner
14
  dropbear-server-add-authorized-key
15
  sshkeys-authority
16
  publish-connection-informations
17 18 19
  slaprunner-promise
  slaprunner-frontend-promise
  cloud9-promise
20
  cloud9-frontend-promise
21
  dropbear-promise
22
  shellinabox-promise
23
  symlinks
24 25 26
  request-cloud9-frontend
  node-frontend-promise
  nginx-promise
27
  shellinabox
28
  slapos-cfg
29
  slapos-repo-config
30
  prepare-software
31 32 33 34 35

eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true

36 37 38 39 40 41 42 43 44 45 46 47 48
{% if slapparameter_dict.get('custom-frontend-backend-url') -%}
# Requests, if defined, a frontend to allow access to a server
# located inside of the virtual machine listening to port X
# to LAN IPv4.
# Internaly, the frontend will be asked to listen on the IPv6
# with port X + 10000, to match NAT rules of Qemu.
[request-custom-frontend]
recipe = slapos.cookbook:request
software-url = {{ slapparameter_dict.get('custom-frontend-software-url', 'http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg') }}
software-type = {{ slapparameter_dict.get('custom-frontend-software-type', 'RootSoftwareInstance') }}
slave = true
name = Custom Web Frontend

49 50 51 52 53
server-url = $${slap-connection:server-url}
key-file = $${slap-connection:key-file}
cert-file = $${slap-connection:cert-file}
computer-id = $${slap-connection:computer-id}
partition-id = $${slap-connection:partition-id}
54 55 56

{% if slapparameter_dict.get('custom-frontend-instance-guid') -%}
sla = instance_guid
57
sla-instance_guid = $${slap-parameter:frontend-instance-guid}
58 59
{% endif -%}

60
config = url
61
config-url = {{ slapparameter_dict.get('custom-frontend-backend-url') }}
62
return = site_url domain
63 64 65

[custom-frontend-promise]
recipe = slapos.cookbook:check_url_available
66 67 68 69 70
path = $${directory:promises}/custom_frontend_promise
url = https://$${request-custom-frontend:connection-domain}
{% if slapparameter_dict.get('custom-frontend-basic-auth') -%}
check-secure = 1
{% endif -%}
71 72 73 74
dash_path = {{ dash_executable_location }}
curl_path = {{ curl_executable_location }}

[publish-connection-informations]
75
custom-frontend-url = https://$${request-custom-frontend:connection-domain}
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111

[buildout]
# XXX: hardcoded and duplicated list of parts.
parts =
  nginx_conf
  nginx-launcher
  cloud9
  certificate-authority
  ca-nginx
  ca-node-frontend
  ca-shellinabox
  gunicorn-launcher
  gunicorn-graceful
  test-runner
  sshkeys-dropbear-runner
  dropbear-server-add-authorized-key
  sshkeys-authority
  publish-connection-informations
  slaprunner-promise
  slaprunner-frontend-promise
  cloud9-promise
  cloud9-frontend-promise
  dropbear-promise
  shellinabox-promise
  symlinks
  request-cloud9-frontend
  node-frontend-promise
  nginx-promise
  shellinabox
  slapos-cfg
  slapos-repo-config
  prepare-software
  certificate-authority
  custom-frontend-promise
{% endif -%}

112
# Create all needed directories
113
[directory]
114 115 116 117 118
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc/
var = $${buildout:directory}/var/
srv = $${buildout:directory}/srv/
bin = $${buildout:directory}/bin/
119
tmp = $${buildout:directory}/tmp/
120

121 122 123 124 125 126 127 128 129
sshkeys = $${:srv}/sshkeys
services = $${:etc}/service/
scripts = $${:etc}/run/
ssh = $${:etc}/ssh/
log = $${:var}/log/
run = $${:var}/run/
backup = $${:srv}/backup/
promises = $${:etc}/promise/
test = $${:etc}/test/
130
nginx-data = $${directory:srv}/nginx
131
ca-dir = $${:srv}/ssl
132
project = $${:srv}/runner/project/
133 134 135

[runnerdirectory]
recipe = slapos.cookbook:mkdirectory
136 137
home = $${directory:srv}/runner/
test = $${directory:srv}/test/
138 139 140
project = $${:home}/project
software-root = $${:home}/software
instance-root = $${:home}/instance
141 142 143
project-test = $${:test}/project
software-test = $${:test}/software
instance-test = $${:test}/instance
144
sessions = $${buildout:directory}/.sessions
145

146 147
#Create password recovery code for slaprunner
[recovery-code]
148
recipe = slapos.cookbook:generate.password
149
storage-path = $${directory:etc}/.rcode
150 151
bytes = 4

152 153 154
# Deploy cloud9 and slaprunner
[cloud9]
recipe = slapos.cookbook:cloud9
155
ip = $${slap-network-information:local-ipv4}
156
port = 4443
157
wrapper = $${directory:services}/cloud9
158 159
working-directory = $${runnerdirectory:home}
git-binary = ${git:location}/bin/git
160
node-binary = ${nodejs-0.6:location}/bin/node
161
cloud9 = ${cloud9:executable}
162 163

[slaprunner]
164 165 166 167 168
slaprunner = ${buildout:directory}/bin/slaprunner
slapgrid_sr = ${buildout:directory}/bin/slapgrid-sr
slapgrid_cp = ${buildout:directory}/bin/slapgrid-cp
slapproxy = ${buildout:directory}/bin/slapproxy
supervisor = ${buildout:directory}/bin/slapgrid-supervisorctl
169
git-binary = ${git:location}/bin/git
170
slapos.cfg = $${directory:etc}/slapos.cfg
171 172 173 174
working-directory = $${runnerdirectory:home}
project-directory = $${runnerdirectory:project}
software-directory = $${runnerdirectory:software-root}
instance-directory = $${runnerdirectory:instance-root}
175 176 177
etc_dir = $${directory:etc}
log_dir =  $${directory:log}
run_dir = $${directory:run}
178 179 180
ssh_client = $${sshkeys-dropbear-runner:wrapper}
public_key = $${sshkeys-dropbear-runner:public-key}
private_key = $${sshkeys-dropbear-runner:private-key}
181 182
ipv4 = $${slap-network-information:local-ipv4}
ipv6 = $${slap-network-information:global-ipv6}
Jean-Baptiste Petre's avatar
Jean-Baptiste Petre committed
183
proxy_port = 50000
184
runner_port = 50005
185
partition-amount = $${slap-parameter:instance-amount}
186
cloud9-url = $${cloud9:access-url}
187
wrapper = $${directory:services}/slaprunner
188
debug = $${slap-parameter:debug}
189
access-url = https://[$${:ipv6}]:$${:runner_port} 
Nicolas Wavrant's avatar
Nicolas Wavrant committed
190 191
supd-temp-var = $${directory:etc}/supervisord.conf
prox-db-var = $${slaprunner:working-directory}/proxy.db
192 193 194
console = False
verbose = False
debug = False
195

196 197 198 199
[test-runner]
<= slaprunner
recipe = slapos.cookbook:slaprunner.test
slaprunnertest = ${buildout:directory}/bin/slaprunnertest
200
slapos.cfg = $${directory:etc}/slapos-test.cfg
201 202 203 204
working-directory = $${runnerdirectory:test}
project-directory = $${runnerdirectory:project-test}
software-directory = $${runnerdirectory:software-test}
instance-directory = $${runnerdirectory:instance-test}
205
proxy_port = 8602
206 207 208 209 210 211 212 213 214
wrapper = $${directory:bin}/runTestSuite
etc_dir = $${directory:test}


# Deploy dropbear (minimalist SSH server)
[sshkeys-directory]
recipe = slapos.cookbook:mkdirectory
requests = $${directory:sshkeys}/requests/
keys = $${directory:sshkeys}/keys/
215

216 217 218 219
[sshkeys-authority]
recipe = slapos.cookbook:sshkeys_authority
request-directory = $${sshkeys-directory:requests}
keys-directory = $${sshkeys-directory:keys}
220
wrapper = $${directory:services}/sshkeys_authority
221 222
keygen-binary = ${dropbear:location}/bin/dropbearkey

223
[dropbear-runner-server]
224 225
recipe = slapos.cookbook:dropbear
host = $${slap-network-information:global-ipv6}
226
port = 22222
227
home = $${directory:ssh}
228 229
wrapper = $${directory:bin}/runner_sshd
shell = ${bash:location}/bin/bash
230 231 232
rsa-keyfile = $${directory:ssh}/server_key.rsa
dropbear-binary = ${dropbear:location}/sbin/dropbear

233
[sshkeys-dropbear-runner]
234 235 236 237
<= sshkeys-authority
recipe = slapos.cookbook:sshkeys_authority.request
name = dropbear
type = rsa
238 239 240 241
executable = $${dropbear-runner-server:wrapper}
public-key = $${dropbear-runner-server:rsa-keyfile}.pub
private-key = $${dropbear-runner-server:rsa-keyfile}
wrapper = $${directory:services}/runner_sshd
242 243

[dropbear-server-add-authorized-key]
244
<= dropbear-runner-server
245 246 247
recipe = slapos.cookbook:dropbear.add_authorized_key
key = $${slap-parameter:authorized-key}

248 249 250 251 252 253 254 255 256
#---------------------
#--
#-- Set node frontend

[node-frontend]
launcher = $${directory:bin}/node-frontend
ip = $${slap-network-information:global-ipv6}
port = $${cloud9:port}
access-url = https://[$${:ip}]:$${:port}
257

258 259 260 261 262 263 264 265 266 267
[node-frontend-launcher]
recipe = slapos.recipe.template:jinja2
template = ${node-frontend-template:location}/${node-frontend-template:filename}
rendered = $${node-frontend:launcher}
mode = 700
context =
	key ip node-frontend:ip
	key port node-frontend:port
	key key ca-node-frontend:key-file
	key certificate ca-node-frontend:cert-file
268
	key backend_ip nginx-frontend:local-ip
269 270 271 272 273 274 275
	key backend_port nginx-frontend:port
	raw shell_path ${bash:location}/bin/bash
	raw node_env ${buildout:parts-directory}:${npm-modules:location}/node_modules
	raw node_path ${nodejs:location}/bin/node
	raw conf_path ${simple-proxy:location}/${simple-proxy:filename}

#---------------------------
276
#--
277 278
#-- Set nginx frontend

279 280 281 282 283 284 285 286 287 288 289 290
[tempdirectory]
recipe = slapos.cookbook:mkdirectory
client_body_temp_path = $${directory:tmp}/client_body_temp_path
proxy_temp_path = $${directory:tmp}/proxy_temp_path
fastcgi_temp_path = $${directory:tmp}/fastcgi_temp_path
uwsgi_temp_path = $${directory:tmp}/uwsgi_temp_path
scgi_temp_path = $${directory:tmp}/scgi_temp_path

[nginx-frontend]
# Options
nb_workers = 2
# Network
291
local-ip = $${slap-network-information:local-ipv4}
292
port = 30001
293 294
global-ip = $${slap-network-information:global-ipv6}
global-port = $${slaprunner:runner_port}
295
# Backend
296 297 298 299
cloud9-ip = $${cloud9:ip}
cloud9-port = $${cloud9:port}
runner-ip = $${slaprunner:ipv4}
runner-port = $${slaprunner:runner_port}
300 301 302 303 304 305 306 307
# SSL
ssl-certificate = $${ca-nginx:cert-file}
ssl-key = $${ca-nginx:key-file}
# Log
path_pid = $${directory:run}/nginx.pid
path_log = $${directory:log}/nginx.log
path_access_log = $${directory:log}/nginx.access.log
path_error_log = $${directory:log}/nginx.error.log
308
path_tmp = $${directory:tmp}/
309 310 311 312
# Config files
path_nginx_conf = $${directory:etc}/nginx.conf
# Executables
bin_nginx = ${nginx:location}/sbin/nginx
313
bin_launcher = $${directory:bin}/launcher
314 315
# Utils
path_shell = ${dash:location}/bin/dash
316 317
# Misc.
etc_dir = $${directory:etc}
318 319 320 321 322 323 324


[nginx_conf]
recipe = slapos.recipe.template:jinja2
template = ${template_nginx_conf:location}/${template_nginx_conf:filename}
rendered = $${nginx-frontend:path_nginx_conf}
context =
325
    key shellinabox_port shellinabox:port
326
    key socket gunicorn:socket
327 328 329 330 331 332 333 334 335 336 337
    section param_nginx_frontend nginx-frontend
    section param_tempdir tempdirectory

[nginx-launcher]
recipe = slapos.recipe.template:jinja2
template = ${template_launcher:location}/${template_launcher:filename}
rendered = $${nginx-frontend:bin_launcher}
mode = 700
context =
    section param_nginx_frontend nginx-frontend

338 339 340 341
#--------------------
#--
#-- WSGI

342
[gunicorn]
343 344 345 346 347 348 349 350
bin_gunicorn = $${directory:bin}/gunicorn
bin_launcher = $${directory:services}/gunicorn
path_shell = ${dash:location}/bin/dash
socket = $${directory:tmp}/flaskserver.sock
path_pid = $${directory:run}/gunicorn.pid

[gunicorn-launcher]
recipe = slapos.cookbook:wrapper
351 352
command-line = $${gunicorn:bin_gunicorn} slapos.runner:app -p $${gunicorn:path_pid} -b unix:$${gunicorn:socket} -e RUNNER_CONFIG=$${slaprunner:slapos.cfg} --preload
wrapper-path = $${gunicorn:bin_launcher}
353 354 355 356 357
environment = PATH=$${environ:PATH}
  RUNNER_CONFIG=$${slaprunner:slapos.cfg}

[gunicorn-graceful]
recipe = slapos.cookbook:wrapper
358
command-line = $${directory:bin}/killpidfromfile $${gunicorn:path_pid} SIGHUP
359 360
wrapper-path = $${directory:scripts}/gunicorn-graceful

361
#--------------------
362
#--
363
#-- ssl certificates
364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388

[certificate-authority]
recipe = slapos.cookbook:certificate_authority
openssl-binary = ${openssl:location}/bin/openssl
ca-dir = $${directory:ca-dir}
requests-directory = $${cadirectory:requests}
wrapper = $${directory:services}/certificate_authority
ca-private = $${cadirectory:private}
ca-certs = $${cadirectory:certs}
ca-newcerts = $${cadirectory:newcerts}
ca-crl = $${cadirectory:crl}

[cadirectory]
recipe = slapos.cookbook:mkdirectory
requests = $${directory:ca-dir}/requests/
private = $${directory:ca-dir}/private/
certs = $${directory:ca-dir}/certs/
newcerts = $${directory:ca-dir}/newcerts/
crl = $${directory:ca-dir}/crl/

[ca-nginx]
<= certificate-authority
recipe = slapos.cookbook:certificate_authority.request
key-file = $${cadirectory:certs}/nginx_frontend.key
cert-file = $${cadirectory:certs}/nginx_frontend.crt
389 390
executable = $${nginx-launcher:rendered}
wrapper = $${directory:services}/nginx-frontend
391 392 393
# Put domain name
name = example.com

394 395 396 397 398 399 400 401 402
[ca-node-frontend]
<= certificate-authority
recipe = slapos.cookbook:certificate_authority.request
key-file = $${cadirectory:certs}/nodejs.key
cert-file = $${cadirectory:certs}/nodejs.crt
executable = $${node-frontend-launcher:rendered}
wrapper = $${directory:services}/node-frontend
# Put domain name
name = example.com
403

404 405 406 407 408
[ca-shellinabox]
<= certificate-authority
recipe = slapos.cookbook:certificate_authority.request
executable = $${shellinabox:wrapper}
wrapper = $${directory:services}/shellinaboxd
409 410
key-file = $${cadirectory:certs}/shellinabox.key
cert-file = $${cadirectory:certs}/shellinabox.crt
411
#--------------------
412 413
#--
#-- Request frontend
414

415 416
[request-frontend]
<= slap-connection
417
recipe = slapos.cookbook:requestoptional
418
name = SlapRunner Frontend
419 420 421
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
422
config = url domain
423
config-url = $${slaprunner:access-url}
424
config-domain = $${slap-parameter:frontend-domain}
425
return = site_url domain
426

427 428 429 430 431 432
[request-cloud9-frontend]
<= slap-connection
recipe = slapos.cookbook:requestoptional
name = Cloud9 Frontend
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
433
config = url domain
434
config-url = $${node-frontend:access-url}
435
config-domain = $${slap-parameter:cloud9-frontend-domain}
436
return = site_url domain
437

438
#--------------------------------------
439 440
#--
#-- Send informations to SlapOS Master
441

442 443
[publish-connection-informations]
recipe = slapos.cookbook:publish
444
1_info = Set your passord in slaprunner in order to access cloud9
445
backend_url = $${slaprunner:access-url}/login
446
url =  https://$${request-frontend:connection-domain}
447 448
cloud9_backend_url = $${node-frontend:access-url}
cloud9_url = https://$${request-cloud9-frontend:connection-domain}
449
ssh_command = ssh $${dropbear-runner-server:host} -p $${dropbear-runner-server:port}
450
shell_password = $${shellinabox:password}
451
password_recovery_code = $${recovery-code:passwd}
452

453 454 455
#---------------------------
#--
#-- Deploy promises scripts
Jean-Baptiste Petre's avatar
Jean-Baptiste Petre committed
456

457 458
[slaprunner-promise]
recipe = slapos.cookbook:check_port_listening
459
path = $${directory:promises}/slaprunner
460 461
hostname = $${slaprunner:ipv6}
port = $${slaprunner:runner_port}
Jean-Baptiste Petre's avatar
Jean-Baptiste Petre committed
462

463
[slaprunner-frontend-promise]
Jean-Baptiste Petre's avatar
Jean-Baptiste Petre committed
464
recipe = slapos.cookbook:check_url_available
465
path = $${directory:promises}/slaprunner_frontend
466
url = https://$${request-frontend:connection-domain}/login
Jean-Baptiste Petre's avatar
Jean-Baptiste Petre committed
467 468 469
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl

470 471
[cloud9-promise]
recipe = slapos.cookbook:check_url_available
472
path = $${directory:promises}/cloud9
473
url = http://$${cloud9:ip}:$${cloud9:port}
474 475 476
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl

477 478 479 480 481 482 483 484
[cloud9-frontend-promise]
recipe = slapos.cookbook:check_url_available
path = $${directory:promises}/cloud9-frontend-promise
url = $${publish-connection-informations:cloud9_url}
check-secure = 1
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl

485 486 487 488 489 490 491 492 493
[node-frontend-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directory:promises}/node-frontend
hostname = $${node-frontend:ip}
port = $${node-frontend:port}

[nginx-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directory:promises}/nginx
494
hostname = $${nginx-frontend:local-ip}
495 496
port = $${nginx-frontend:port}

497 498
[dropbear-promise]
recipe = slapos.cookbook:check_port_listening
499
path = $${directory:promises}/dropbear
500 501
hostname = $${dropbear-runner-server:host}
port = $${dropbear-runner-server:port}
502

503 504 505 506 507 508
[shellinabox-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directory:promises}/shellinabox
hostname = $${shellinabox:ipv6}
port = $${shellinabox:port}

509 510
[symlinks]
recipe = cns.recipe.symlink
511
symlink_target = $${directory:bin}
512
symlink_base = ${buildout:directory}/bin
513 514 515 516

[slap-parameter]
# Default value if no ssh key is specified
authorized-key =
517
# Default value of instances number in slaprunner
518
instance-amount = 10
519 520 521
debug = false
cloud9-frontend-domain =
frontend-domain =
522 523 524 525
slapos-repository = http://git.erp5.org/repos/slapos.git
slapos-software =
slapos-reference = master
auto-deploy = true
526

527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
[slapos-cfg]
recipe = slapos.recipe.template:jinja2
template = ${slapos-cfg-template:location}/${slapos-cfg-template:filename}
rendered = $${slaprunner:slapos.cfg}
mode = 700
context =
  key software_root runnerdirectory:software-root
  key instance_root runnerdirectory:instance-root
  key ipv4 slaprunner:ipv4
  key proxy_port slaprunner:proxy_port
  key partition_amount slaprunner:partition-amount
  key slapgrid_sr slaprunner:slapgrid_sr 
  key slapgrid_cp slaprunner:slapgrid_cp
  key slapproxy slaprunner:slapproxy 
  key supervisor slaprunner:supervisor
Nicolas Wavrant's avatar
Nicolas Wavrant committed
542
  key supervisord_config slaprunner:supd-temp-var
543 544 545 546 547
  key runner_workdir slaprunner:working-directory
  key runner_port slaprunner:runner_port
  key ipv6 slaprunner:ipv6
  key etc_dir slaprunner:etc_dir
  key proxy_host slaprunner:ipv4
Nicolas Wavrant's avatar
Nicolas Wavrant committed
548
  key proxy_database slaprunner:prox-db-var
549 550 551 552 553 554 555
  key ssh_client slaprunner:ssh_client
  key public_key slaprunner:public_key
  key private_key slaprunner:private_key
  key git slaprunner:git-binary
  key cloud9_url slaprunner:cloud9-url
  key run_dir slaprunner:run_dir
  key log_dir slaprunner:log_dir
556 557 558
  key console slaprunner:console
  key verbose slaprunner:verbose
  key debug slaprunner:debug
559
  key auto_deploy slap-parameter:auto-deploy
560

561 562
[shellinabox]
recipe = slapos.cookbook:shellinabox
563
ipv6 = $${slap-network-information:global-ipv6}
564
port = 8080
565
shell = $${shell:wrapper}
566
wrapper = $${directory:bin}/shellinaboxd
567
shellinabox-binary = ${shellinabox:location}/bin/shellinaboxd 
568 569
password = $${shellinabox-code:passwd}
directory = $${runnerdirectory:home}
570
login-shell = $${directory:bin}/login
571 572 573
certificate-directory = $${cadirectory:certs}
cert-file = $${ca-shellinabox:cert-file}
key-file = $${ca-shellinabox:key-file}
574

575 576 577 578 579 580 581 582 583 584 585 586 587
[shellinabox-code]
recipe = slapos.cookbook:generate.password
storage-path = $${directory:etc}/.scode
bytes = 4

[shell]
recipe = slapos.cookbook:shell
wrapper = $${directory:bin}/sh
shell = ${bash:location}/bin/bash
home = $${runnerdirectory:home}
path = $${environ:PATH}
ps1 = "\\w> "

588 589 590
[environ]
recipe = collective.recipe.environment

591 592 593 594 595 596 597 598 599 600 601 602
[slapos-repo]
recipe = slapos.recipe.build:gitclone
repository = $${slap-parameter:slapos-repository}
git-executable = ${git:location}/bin/git
develop = true
location = $${directory:project}/slapos

[slapos-repo-config]
recipe = plone.recipe.command
stop-on-error = true
reference = $${slap-parameter:slapos-reference}
location = $${slapos-repo:location}
603
command = cd $${:location} && ${git:location}/bin/git checkout $${:reference} && echo "$${directory:etc}/.project" && SR=$${slap-parameter:slapos-software} && if [ -n "$SR" ] && [ ! -f "$${directory:etc}/.project" ]; then echo workspace/slapos/$${slap-parameter:slapos-software}/ > $${directory:etc}/.project; fi
604 605 606 607 608 609

[prepare-software]
recipe = slapos.cookbook:wrapper
command-line = ${curl:location}/bin/curl $${slaprunner:ipv4}:$${slaprunner:runner_port}/isSRReady --max-time 1
wrapper-path = $${directory:scripts}/prepareSoftware