# Selenium server
# https://seleniumhq.github.io/docs/grid.html

[buildout]
extends =
   ../../component/xorg/buildout.cfg
   ../../component/lxml-python/buildout.cfg
   ../../component/firefox/buildout.cfg
   ../../component/chromium/buildout.cfg
   ../../component/chromedriver/buildout.cfg
   ../../component/coreutils/buildout.cfg
   ../../component/java/buildout.cfg
   ../../component/caddy/buildout.cfg
   ../../component/openssh/buildout.cfg
   ../../stack/slapos.cfg
   ./buildout.hash.cfg

parts =
   slapos-cookbook
   template

[selenium-server]
recipe = slapos.recipe.build:download
version = 3.14.0
md5sum = 376450bd517510442b60018646deadfe
filename = selenium-server-standalone-${:version}.jar
url = https://selenium-release.storage.googleapis.com/3.14/${:filename}

[macro-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
mode = 0644

[template]
<= macro-template
output = ${buildout:directory}/template.cfg

[template-selenium]
<= macro-template
output = ${buildout:directory}/template-selenium.cfg

[versions]
plone.recipe.command = 1.1
slapos.recipe.template = 4.3
