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

feat: added DELETING microvm status #322

Merged
merged 1 commit into from
Dec 14, 2021
Merged

feat: added DELETING microvm status #322

merged 1 commit into from
Dec 14, 2021

Conversation

richardcase
Copy link
Member

What this PR does / why we need it:

Added a new microvm status (spec only) that is set when we send a
request to delete a microvm. This means that an subsequent gets (before
reconcile is run) we can see that the microvm has a status of deleting.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #310

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Added a new microvm status (spec only) that is set when we send a
request to delete a microvm. This means that an subsequent gets (before
reconcile is run) we can see that the microvm has a status of deleting.

Signed-off-by: Richard Case <[email protected]>
@richardcase richardcase added kind/feature New feature or request area/api Indicates an issue or PR relates to the APIs labels Dec 14, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #322 (3cde546) into main (19cc344) will decrease coverage by 0.14%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #322      +/-   ##
==========================================
- Coverage   58.06%   57.91%   -0.15%     
==========================================
  Files          51       51              
  Lines        2506     2509       +3     
==========================================
- Hits         1455     1453       -2     
- Misses        935      939       +4     
- Partials      116      117       +1     
Impacted Files Coverage Δ
infrastructure/grpc/convert.go 41.14% <0.00%> (-0.48%) ⬇️
core/application/commands.go 73.01% <100.00%> (+0.43%) ⬆️
infrastructure/containerd/event_service.go 56.14% <0.00%> (-3.51%) ⬇️
pkg/process/process.go 37.73% <0.00%> (-1.89%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19cc344...3cde546. Read the comment docs.

@richardcase richardcase merged commit 79a648b into liquidmetal-dev:main Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Indicates an issue or PR relates to the APIs kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add "deleting" phase to mvm state?
3 participants