-
Notifications
You must be signed in to change notification settings - Fork 288
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
Add poweroff hardware cleanup step after Tinkerbell E2E tests #8140
Add poweroff hardware cleanup step after Tinkerbell E2E tests #8140
Conversation
500a6aa
to
84f9079
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8140 +/- ##
=======================================
Coverage 73.42% 73.42%
=======================================
Files 577 577
Lines 35944 35944
=======================================
Hits 26391 26391
Misses 7884 7884
Partials 1669 1669 ☔ View full report in Codecov by Sentry. |
84f9079
to
3163645
Compare
3163645
to
85b7f79
Compare
85b7f79
to
af8985f
Compare
af8985f
to
19e9019
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cxbrowne1207 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Issue #, if available:
Description of changes:
This PR makes changes to ensure that Tinkerbell hardware for a test are powered off after a run. A few changes were made as a result:
--cleanup-vms
to--cleanup-resources
to make it more generic (because tinkerbell does not use VMs).Provider.CleanupVMs
method toProvider.CleanupResources
powerOffHardware
out ofValidateHardwareDecommissioned
so it does not run twice at the end of existing tests.Provider.CleanupResources
method to power off hardware machines.Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.