Teflo is a standalone orchestration software that controls the flow of a set of testing scenarios, allowing users to provision machines, deploy software, execute tests against them and manage generated artifacts and report results.
The use case is to be able to have a config section called aliases that would allow a user to specify aliases for their teflo run commands. Similar to git aliases
This would allow teflo commands to be more intuitive, shortened and allow of group tasks together into a single command without explicitly specifying them.
Right now we achieve this by writing lightweight wrapper shell/python scripts that wrap teflo or we utilize tox to provide this in an abstract manner using testenvs
Some examples:
1) Provisioning and Deploying a product with this command
teflo run -t validate -t provision -t orchestrate -s <path/to/sdf> -w ./
2) If I want to deploy a particular product and run integration tests
teflo run -t orchestrate -t execute -s <path/to/results.yml> -w ./ -l product-a -l product-a-integration
3) Similar to second example but I want to run sanity tests and context switch between running teflo automation against a dev environment vs a production environment
teflo run -t validate -t provision -t orchestrate -t execute -s <path/to/sdf> -w ./ -l sanity --vars-data <path/to/dev/vars>teflo run -t validate -t provision -t orchestrate -t execute -s <path/to/sdf> -w ./ -l sanity --vars-data <path/to/prod/vars>
The use case is to be able to have a config section called
aliases
that would allow a user to specify aliases for theirteflo run
commands. Similar to git aliasesThis would allow teflo commands to be more intuitive, shortened and allow of group tasks together into a single command without explicitly specifying them.
Right now we achieve this by writing lightweight wrapper shell/python scripts that wrap teflo or we utilize tox to provide this in an abstract manner using testenvs
Some examples:
1) Provisioning and Deploying a product with this command
teflo run -t validate -t provision -t orchestrate -s <path/to/sdf> -w ./
Aliased to
2) If I want to deploy a particular product and run integration tests
teflo run -t orchestrate -t execute -s <path/to/results.yml> -w ./ -l product-a -l product-a-integration
Aliased to
3) Similar to second example but I want to run sanity tests and context switch between running teflo automation against a dev environment vs a production environment
teflo run -t validate -t provision -t orchestrate -t execute -s <path/to/sdf> -w ./ -l sanity --vars-data <path/to/dev/vars>
teflo run -t validate -t provision -t orchestrate -t execute -s <path/to/sdf> -w ./ -l sanity --vars-data <path/to/prod/vars>
Aliased to