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

Testing: update E2E to use JIT runners #1335

Merged
merged 6 commits into from
May 6, 2024
Merged

Testing: update E2E to use JIT runners #1335

merged 6 commits into from
May 6, 2024

Conversation

kallsyms
Copy link
Contributor

@kallsyms kallsyms commented May 1, 2024

This PR updates the E2E test pipeline to register ephemeral just in time runners via the GitHub API and dynamically inject the runner token into the VM. This means VM images no longer have any keys inside of them, and they won't expire if unused.

This also splits the start_vm script into 2, one to update the image (if applicable) and the other to register a runner and start the VM.

@kallsyms kallsyms requested a review from a team as a code owner May 1, 2024 16:03
Testing/integration/VM/setup.sh Outdated Show resolved Hide resolved
Testing/integration/VM/setup.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@pmarkowsky pmarkowsky left a comment

Choose a reason for hiding this comment

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

Overall looks good.

Some nits.

.github/workflows/e2e.yml Show resolved Hide resolved
Testing/integration/actions/start_vm.py Show resolved Hide resolved
@mlw mlw merged commit 51b0f71 into google:main May 6, 2024
1 check passed
@mlw mlw added the testing label May 9, 2024
@mlw mlw added this to the 2024.5 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants