[codex] Add GCP CI runner setup#1
Draft
stefandeml wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add GCP runner provisioning and bootstrap scripts for the Delta CI runner rollout.
This covers both runner classes:
.github/workflows/standalone-tests.ymlLinked Delta workflow PR: https://github.com/decentriq/delta/pull/5100
What changed
gcloud/create-vm.shfor persistent standalone runner VMs.gcloud/create-integration-vm.shfor nested-virtualization-capable integration runner VMs.gcloud/setup-runner.shto install Docker, daemon-mode Nix, Ops Agent, a pinned GitHub Actions runner,ssh-agent-setup, and GC timers.gcloud/setup-integration-runner.shas the nested-virt integration wrapper.gcloud/start-runner.shfor service repair/startup.gcloud/README.md.Runner routing
Standalone runners are labeled:
Integration runners are labeled:
Standalone runners intentionally do not receive
runnerorintegration-tests, so nested-virt jobs cannot land on them.Validation
bash -n gcloud/create-vm.shbash -n gcloud/create-integration-vm.shbash -n gcloud/setup-runner.shbash -n gcloud/setup-integration-runner.shbash -n gcloud/start-runner.shOperational validation already performed:
gcp-integration-runner-1completedintegration-test.ymlsuccessfully on GCP with nested virtualization in use.gcp-standalone-runner-1/2/3were created asc3d-highmem-4VMs and registered successfully.Notes
c3-highmem-44. The handoff notes thatc3-highmem-22was resized for follow-up validation, but that size is not made the default here.