Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
support additional parameters in zalenium-template
Browse files Browse the repository at this point in the history
- VIDEO_RECORDING_ENABLED: true by default - allows disabling video recoring if not needed to reduce cpu usage
- ZALENIUM_IMAGE_NAME: dosel/zalenium:latest by default
- SELENIUM_IMAGE_NAME: elgalu/selenium:latest by default

Overriding image names allows to use own customized images and also alias in case the official imgages are imported
using a different name into a local registry
  • Loading branch information
Torsten Walter committed Sep 27, 2018
1 parent 771cb5d commit c3950ac
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/k8s/zalenium-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@ parameters:
description: "Set to false if you do not want to send statistics back to Zalando."
value: "true"
required: false
- name: "VIDEO_RECORDING_ENABLED"
displayName: "Enable video recording during test runs"
description: "Set to false if you do not want video recording during test runs."
value: "true"
required: false
- name: "ZALENIUM_IMAGE_NAME"
displayName: "The name of the image used for zalenium hub"
value: "dosel/zalenium:latest"
required: false
- name: "SELENIUM_IMAGE_NAME"
displayName: "The name of image for the selenium nodes"
value: "elgalu/selenium:latest"
required: false
labels:
app: zalenium
objects:
Expand Down Expand Up @@ -145,8 +158,10 @@ objects:
- name: SEND_ANONYMOUS_USAGE_INFO
value: ${SEND_ANONYMOUS_USAGE_INFO}
- name: SELENIUM_IMAGE_NAME
value: "elgalu/selenium:latest"
image: dosel/zalenium:latest
value: ${SELENIUM_IMAGE_NAME}
- name: VIDEO_RECORDING_ENABLED
value: ${VIDEO_RECORDING_ENABLED}
image: ${ZALENIUM_IMAGE_NAME}
imagePullPolicy: IfNotPresent
name: zalenium
ports:
Expand Down

0 comments on commit c3950ac

Please sign in to comment.