Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tf-cleanup for this branch to keep current with PR#382 that was just merged #405

Open
wants to merge 1 commit into
base: unified-agent-host-charm
Choose a base branch
from

Conversation

plars
Copy link
Collaborator

@plars plars commented Nov 14, 2024

Description

Now that we merged support for releasing maas devices after the run is complete, we need to ensure that the cleanup step actually runs properly. Previously it was just removing the test container if it exists, but now we need to have it call testflinger-device-connectors cleanup in case there's something to do for the phase.

This has already been fixed in the tf-cleanup script for main, but we need to fix it here too for the newer style agent hosts. This is just so that things don't revert back to an older version of this script that lacks this support once we do merge this branch into main.

Resolved issues

N/A

Documentation

N/A

Web service API changes

N/A

Tests

I tested this in an environment that uses the newer agent hosts and it worked. I have already deployed the change for releasing maas nodes in the server lab so I updated this script there already and it correctly releases the system at the end of the job.

@plars plars requested review from nancyc12 and a team November 14, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants