Skip to content
Snippets Groups Projects
Commit a25fe37d authored by Felix Ohms's avatar Felix Ohms
Browse files

always run containerlab destroy

parent 9be4d37a
Branches
No related tags found
1 merge request!202Refactor ci
Pipeline #84031 failed
This commit is part of merge request !202. Comments created here will be created in the context of that merge request.
...@@ -73,6 +73,7 @@ containerlab:destroy: ...@@ -73,6 +73,7 @@ containerlab:destroy:
- docker volume rm -f ${CLAB_NAME}-volume - docker volume rm -f ${CLAB_NAME}-volume
- docker image rm -f ${GOSDN_CONTAINER_IMAGE} - docker image rm -f ${GOSDN_CONTAINER_IMAGE}
allow_failure: true allow_failure: true
when: always
  • Contributor

    @istfeohms thanks, but thats not what we need. It should only run, if a containerlab environment was created earlier.

  • Author

    ok, ill take another look.

  • Author

    I have an idea on how to solve this, but it i feel it would be better suited to implement when working on #142 (closed). Since the containerlab deploy step currently is always ran, i feel like always destroying it is fine until then.

  • Please register or sign in to reply
#containerlab:template:develop: #containerlab:template:develop:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment