+
Skip to content

Conversation

dorcaslitunya
Copy link
Contributor

@dorcaslitunya dorcaslitunya commented Feb 21, 2025

What type of PR is this?

This is a feature because it adds the following functionality: Igvm measurement functionality

What does this do?

Change the CLI so it calculates the measurement based on the vTPM and OVMF used.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Yes, I have included tests.

Did you document any new/modified feature?

No, I have not updated the documentation but I will focus on documentation next.

Copy link

codecov bot commented Feb 24, 2025

Codecov Report

Attention: Patch coverage is 78.68852% with 13 lines in your changes missing coverage. Please review.

Project coverage is 56.88%. Comparing base (67f939f) to head (1a3b001).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/attestation/igvmmeasure/igvmmeasure.go 81.39% 8 Missing ⚠️
cli/attestation.go 81.25% 2 Missing and 1 partial ⚠️
cli/sdk.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
+ Coverage   56.66%   56.88%   +0.21%     
==========================================
  Files          58       59       +1     
  Lines        4998     5058      +60     
==========================================
+ Hits         2832     2877      +45     
- Misses       1868     1882      +14     
- Partials      298      299       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dborovcanin dborovcanin changed the title COCOS-365-Add igvm measurement COCOS-365 - Add igvm measurement Mar 10, 2025
@dborovcanin dborovcanin changed the title COCOS-365 - Add igvm measurement COCOS-365 - Add IGVM measurement Mar 10, 2025
@SammyOina SammyOina requested a review from dborovcanin March 11, 2025 10:13
Add copyright information to package

Add testing to igvm measurements

Remove trailing white space

Improve testing

Resolve PR comments

Add measure to cli

Add README  for feature

Fix PR comments

Added new line to shell script

Add measurement interface

Fix ci

Refactor code for IgvmMeasurement to become a CLI dependency

Refactor code for IgvmMeasurement to become a CLI dependency

Refactor based on ci failures

Fix error handling

Add header

Fix ci
Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@drasko drasko merged commit 4bb732e into main Mar 12, 2025
3 checks passed
@SammyOina SammyOina deleted the dorcDev3 branch March 12, 2025 09:26
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.

Feature: Change the CLI so it calculates the measurement based on the vTPM and OVMF used

4 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载