Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Provide user with list of configuration variables - #42

Merged
jdolitsky merged 4 commits into
helm:masterfrom
VilledeMontreal:feat/showVariables
Sep 26, 2019
Merged

jdolitsky merged 4 commits into
helm:masterfrom
VilledeMontreal:feat/showVariables

Conversation

@marckhouzam

@marckhouzam marckhouzam commented Sep 16, 2019 •

Copy link
Copy Markdown
Member

I find it hard to remember which variables should be set when running the acceptance tests, so I'm thinking other potential users will have an even harder time.

This PR adds a printout at the beginning of the test run that shows the available variables and their current values:

==============================================================================
Available configuration variables:
ROBOT_DEBUG_LEVEL - Choose debug level (0 to 3).
                    Current: 0
ROBOT_HELM_PATH   - The directory where the helm to test can be found.
                    Current: /home/marc/go/src/helm.sh/helm/bin/helm
ROBOT_RUN_TESTS   - Comma-separated list of *.robot files to execute.
                    Current: shells.robot
ROBOT_OUTPUT_DIR  - The output directory for robot to use.
                    Current: /home/marc/go/src/helm.sh/acceptance-testing/.acceptance
ROBOT_VENV_DIR    - The directory to be used for virtualenv.
                    Current: /home/marc/go/src/helm.sh/acceptance-testing/.acceptance/.venv
ROBOT_PY_REQUIRES - Space-separated list of python packages to install (including the robot framework).
                    Current: robotframework==3.1.2
==============================================================================

@jdolitsky jdolitsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jdolitsky
jdolitsky merged commit 587b078 into helm:master Sep 26, 2019
@marckhouzam
marckhouzam deleted the feat/showVariables branch September 26, 2019 17:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants