Skip to content

Resolve "Prevent containerlab:destroy pipeline step from running if not needed"

Description

Only run containerlab:destroy when containerlab:deploy ran, regardless of passing or failing the deployment as well as the integration tests.

Related Issue

#132 (closed)

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

Merge request reports

Loading