This project implements a pre-deployer validator utility.
- Ubuntu 18.04.05
- Python 3.6.9
- Deployment Engineers
When working on MacOS:
docker build -t workspace -f Dockerfile-dev .
docker run -it --rm -v $(pwd):/app bash
pip install setuptools
python3.6 setup.py develop
Building the package:
python3.6 -m pip install --upgrade build
python3.6 -m build
# Get help
python3.6 -m deployer_validator -h
# Run the validation
sudo python3.6 -m deployer_validator -v
# Pass the CORSIGHT_ID environment variable
sudo python3.6 -m deployer_validator -v --CORSIGHT_ID=5
- Add a logger:
- Output persistent file
- Output to central location
- Allow verbosity
- Exit code per error
- Testing
- Allow running from container