This framework can be used to deploy and test various Mobileiron components like Leo, Polaris, Capella etc. This framework makes use of AWS Cloudformation service to deploy the component as a whole along with all its instances and containers.
- AWS access and secret keys with appropiate permissions
- Docker Engine installed
To get started, first clone the repository and make sure you can run the test suite. If you're not familiar with Git, visit the Git homepage to download Git for your platform.
First, clone the repository:
$ git clone git://github.com/platform_qa.git
$ cd platform_qa/main/tests
Need to have Python 3 and necessary packages in requirements.txt installed.
With this framework we can do two major things
- Deployment
- Feature Test (superfically)
Below is the example way to deploy leo cluster
python3 leo.py --region <REGION> --stack-name <Stack_Name> --dbsnapshot-name <Leo_Snapshot> --leofilter-pattern 'MOBILEIRON-STATUS. OK' --eip "<EIP0 EIP1 EIP2>" --domain-root <Domain_Name> create
- Follow PEP8 standard while coding
- Create your own branch while working on code changes.
- Merge to master only after code review approval.