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

CI: set expected tee in policy within the kbs e2e test #401

Merged

Conversation

mkulke
Copy link
Contributor

@mkulke mkulke commented May 29, 2024

The e2e tests used to remove the tee != sample restriction from the policy prior to testing. Since we want to avoid using the sample attester accidentally, we can set the expected TEE in the policy.

The TEE e2e tests would fail here, because the interface of the workflow has been changed (introduced mandatory tee input) and it will be executed with the workflow from the main branch.

I ran the workflow is a discrete branch to test here (using tee: aztdxvtpm)

@mkulke mkulke requested a review from sameo as a code owner May 29, 2024 10:14
@mkulke mkulke force-pushed the mkulke/set-tee-in-e2e-test-policy branch from 76a225c to 6efc2ec Compare May 29, 2024 10:16
Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

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

LGTM. You can rebase to fix the padding issue.

The e2e tests used to remove the tee != sample restriction from the
policy prior to testing. Since we want to avoid using the sample
attester accidentally, we can set the expected TEE in the policy.

Signed-off-by: Magnus Kulke <[email protected]>
@mkulke mkulke force-pushed the mkulke/set-tee-in-e2e-test-policy branch from 6efc2ec to a6ac8b5 Compare May 29, 2024 15:02
Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @mkulke!

@mkulke mkulke merged commit f45de32 into confidential-containers:main May 29, 2024
15 checks passed
@mkulke mkulke deleted the mkulke/set-tee-in-e2e-test-policy branch May 29, 2024 18:54
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.

3 participants