Skip to content

Add integration tests for supported cloud providers#49

Merged
grydz merged 24 commits into
mainfrom
integration-tests
Jun 12, 2026
Merged

Add integration tests for supported cloud providers#49
grydz merged 24 commits into
mainfrom
integration-tests

Conversation

@grydz

@grydz grydz commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Added

  • Basic rust integration tests: quote generation/parsing and remote attestation
  • CI with remote test execution on AWS, Azure and GCP

@grydz
grydz force-pushed the integration-tests branch from f72c96b to 87eddda Compare June 10, 2026 12:33
@grydz
grydz force-pushed the integration-tests branch from 87eddda to b32b714 Compare June 10, 2026 12:36
@grydz
grydz force-pushed the integration-tests branch from 5d8210e to f3dbc13 Compare June 11, 2026 07:27
@grydz
grydz force-pushed the integration-tests branch 4 times, most recently from 892af54 to 53cb153 Compare June 11, 2026 12:33
@grydz
grydz force-pushed the integration-tests branch from 53cb153 to 1c29ebc Compare June 11, 2026 12:51
@grydz
grydz marked this pull request as ready for review June 11, 2026 13:20
@grydz
grydz requested a review from Manuthor June 11, 2026 13:20
@Manuthor
Manuthor requested a review from Copilot June 11, 2026 20:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds Rust-based integration test binaries for TEE quote generation/parsing and quote verification, and wires them into GitHub Actions workflows that provision ephemeral instances on AWS/Azure/GCP to execute those binaries remotely.

Changes:

  • Introduces three workspace member crates under tests/ (aws_tests, azure_tests, gcp_tests) that build provider-specific integration test harness binaries.
  • Updates the main build workflow to compile test binaries (cargo test --tests --no-run) and upload them as artifacts for reuse.
  • Adds reusable per-cloud workflows plus a top-level integration.yml to orchestrate remote execution on each provider.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
tests/gcp_tests/src/test.rs Adds GCP CVM detection, quote retrieval/parsing, and verification tests.
tests/gcp_tests/src/lib.rs Empty crate root for the GCP integration test package.
tests/gcp_tests/Cargo.toml Defines the gcp_integration_tests test target and dependencies.
tests/azure_tests/src/test.rs Adds Azure CVM detection, quote retrieval/parsing, and verification tests.
tests/azure_tests/src/lib.rs Empty crate root for the Azure integration test package.
tests/azure_tests/Cargo.toml Defines the az_integration_tests test target and dependencies.
tests/aws_tests/src/test.rs Adds AWS CVM detection, quote retrieval/parsing, and verification tests.
tests/aws_tests/src/lib.rs Adds crate code (currently template) for the AWS integration test package.
tests/aws_tests/Cargo.toml Defines the aws_integration_tests test target and dependencies.
Cargo.toml Registers the three new tests/* crates as workspace members.
Cargo.lock Adds lock entries for the new test crates.
.github/workflows/integration.yml Orchestrates provider workflows on PRs and depends on the build workflow for artifacts.
.github/workflows/gcp.yml Provisions GCP CVM, copies the test binary, and executes it remotely.
.github/workflows/build.yml Adds workflow_call, builds/upload test binaries, and tweaks CI steps.
.github/workflows/azure.yml Provisions Azure CVM, copies the test binary, and executes it remotely.
.github/workflows/aws.yml Provisions AWS instance, copies the test binary, and executes it remotely.
Comments suppressed due to low confidence (1)

.github/workflows/build.yml:28

  • cargo install cargo-machete without --locked makes CI non-reproducible (it can start failing when a new dependency release lands). Using --locked pins the resolved dependency versions from the crate's lockfile.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/aws_tests/src/test.rs
Comment thread tests/aws_tests/src/lib.rs Outdated
Comment thread .github/workflows/integration.yml
Comment thread .github/workflows/integration.yml
Comment thread .github/workflows/integration.yml
Comment thread .github/workflows/gcp.yml Outdated
Comment thread .github/workflows/azure.yml Outdated
Comment thread .github/workflows/aws.yml Outdated
Comment thread .github/workflows/aws.yml Outdated
Comment thread .github/workflows/aws.yml
grydz and others added 3 commits June 12, 2026 11:34
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
grydz and others added 8 commits June 12, 2026 11:38
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@grydz
grydz merged commit 48d23c8 into main Jun 12, 2026
5 checks passed
@grydz
grydz deleted the integration-tests branch June 12, 2026 13:19
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