Incorporating review comments.
1. Removing label to pull always 2. Making all hub, firefox and chrome version to be consistent 3. Make hub deploy to be mandatory
This commit is contained in:
@@ -1,28 +1,20 @@
|
||||
version: '2'
|
||||
services:
|
||||
{{- if eq .Values.DEPLOY_SELENIUM_HUB "true"}}
|
||||
seleniumhub:
|
||||
image: selenium/hub:${SELENIUM_HUB_VERSION}
|
||||
image: selenium/hub:${SELENIUM_VERSION}
|
||||
environment:
|
||||
GRID_TIMEOUT: ${GRID_TIMEOUT}
|
||||
ports:
|
||||
- ${PUBLISH_PORT}:4444
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
{{- end}}
|
||||
{{- if eq .Values.DEPLOY_SELENIUM_CHROME "true"}}
|
||||
selenium-chrome:
|
||||
image: selenium/node-chrome:${SELENIUM_CHROME_VERSION}
|
||||
image: selenium/node-chrome:${SELENIUM_VERSION}
|
||||
links:
|
||||
- seleniumhub:hub
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
{{- end}}
|
||||
{{- if eq .Values.DEPLOY_SELENIUM_FIREFOX "true"}}
|
||||
selenium-firefox:
|
||||
image: selenium/node-firefox:${SELENIUM_FIREFOX_VERSION}
|
||||
image: selenium/node-firefox:${SELENIUM_VERSION}
|
||||
links:
|
||||
- seleniumhub:hub
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
{{- end}}
|
||||
|
||||
Reference in New Issue
Block a user