The helm values wizard is an interactive CLI tool to generate the values yaml file which can be used for helm deployment of RESC. On successful run, this CLI produces custom-values.yaml file in resc-helm-wizard directory.
These instructions will help you to get a copy of the project up and running on your local machine for development and testing purposes.
Install the package:
pip install resc-helm-wizard
Run the wizard:
resc-helm-wizard
Run the following commands in a Git Bash or Linux terminal.
git clone -b <branch_name> https://github.com/abnamro/repository-scanner.git
cd ./deployment/resc-helm-wizard
pip install virtualenv
virtualenv venv
source venv/Scripts/activate
pip install virtualenv
virtualenv venv
venv/Scripts/activate
pip install -e .
resc-helm-wizard
See below commands for running various (unit/linting) tests locally. To run these tests you need to install tox. This can be done on Linux and Windows with Git Bash.
Run below commands to make sure that the unit tests are running and that the code matches quality standards:
pip install tox # install tox locally
tox run -e py -v # Run this command to run the unit tests
tox run -e isort -v # Run this command to validate the import sorting
tox run -e pylint -v # Run this command for Python static code analysis
tox run -e flake8 -v # Run this command for Python linting