Resolve "Prevent containerlab:destroy pipeline step from running if not needed"
requested to merge 132-Prevent-containerlab-destroy-pipeline-step-from-running-if-not-needed into develop
Description
Only run containerlab:destroy when containerlab:deploy ran, regardless of passing or failing the deployment as well as the integration tests.
Related Issue
Motivation and Context
How Has This Been Tested?
Testet for:
- Skipping interation tests
- Passing deployment & integration tests
- Passing deployment; failing one or all integration tests
- Failing deployment, therefore skipping integration tests
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
-
My code follows the code style of this project. -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the CONTRIBUTING document. -
I have added tests to cover my changes. -
All new and existing tests passed.
Edited by Felix Ohms