Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new step karmaExecuteTests #351

Merged
merged 21 commits into from
Nov 8, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions vars/karmaExecuteTests.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ import groovy.transform.Field

@Field String STEP_NAME = 'karmaExecuteTests'
@Field Set GENERAL_CONFIG_KEYS = [
'containerPortMappings', //port mappings required for containers. This will only take effect inside a Kubernetes pod, format [[containerPort: 1111, hostPort: 1111]]
'dockerEnvVars', //envVars to be set in the execution container if required
'dockerImage', //Docker image for code execution
'dockerName', //name of the Docker container. If not on Kubernetes pod, this will define the network-alias to the NPM container and is thus required for accessing the server, example http://karma:9876 (default).
'dockerWorkspace', //user home directory for Docker execution. This will only take effect inside a Kubernetes pod.
'containerPortMappings', /** port mappings required for containers. This will only take effect inside a Kubernetes pod, format [[containerPort: 1111, hostPort: 1111]] */
CCFenner marked this conversation as resolved.
Show resolved Hide resolved
'dockerEnvVars', /** envVars to be set in the execution container if required */
'dockerImage', /** Docker image for code execution */
'dockerName', /** name of the Docker container. If not on Kubernetes pod, this will define the network-alias to the NPM container and is thus required for accessing the server, example http://karma:9876 (default). */
'dockerWorkspace', /** user home directory for Docker execution. This will only take effect inside a Kubernetes pod. */
'failOnError',
'installCommand',
'modules',
'runCommand',
'sidecarEnvVars', //envVars to be set in Selenium container if required
'sidecarImage', //image for Selenium execution which runs as sidecar to dockerImage
'sidecarName', //name of the Selenium container. If not on Kubernetes pod, this will define the network-alias to the Selenium container and is thus required for accessing the server, example http://selenium:4444 (default)
'sidecarVolumeBind', //volume bind. This will not take effect in Kubernetes pod.
'stashContent' //list of stash names which are required to be unstashed before test run
'sidecarEnvVars', /** envVars to be set in Selenium container if required */
'sidecarImage', /** image for Selenium execution which runs as sidecar to dockerImage */
'sidecarName', /** name of the Selenium container. If not on Kubernetes pod, this will define the network-alias to the Selenium container and is thus required for accessing the server, example http://selenium:4444 (default) */
'sidecarVolumeBind', /** volume bind. This will not take effect in Kubernetes pod. */
'stashContent' /** list of stash names which are required to be unstashed before test run */
]
@Field Set STEP_CONFIG_KEYS = GENERAL_CONFIG_KEYS
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
Expand Down