Repository navigation
ci: add GKE deployment test for pull requests - #225
Merged
Merged
Conversation
Deploy cogstack-ce-helm from each pull request to its own GKE cluster, reachable over HTTPS at <app>.pr-<number>.platform.cogstack.dev, and leave it running for review. A separate workflow tears clusters down when the PR closes, on demand, or when they are older than a day. Authentication to Google Cloud uses GitHub OIDC. The workflows run in any repository that has the three GCP_* variables set. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
⚪ Test environment removed
The environment for this PR has been torn down. If the PR is still open, re-run the GKE deployment test job or push a commit to bring it back.
Updated 2026-11-20 14:44 UTC · workflow run
What this adds
Every pull request that touches the Helm charts is deployed to its own small GKE cluster and left running, so reviewers can open the apps in a browser instead of port-forwarding.
cogstack-ce-helmis installed from the PR, behind HTTPS athttps://<app>.pr-<number>.platform.cogstack.dev, thenhelm testand a public smoke test run.gke_teardownworkflow, or after 24 hours.cogstack-platform-ci.Things to know when reviewing
vm.max_map_countis too low. The test works around it with the OpenSearch chart'ssysctlInitoption in its own values file. The chart default is unchanged here.Testing
Run end to end on a fork before moving here: fresh deploy, upgrade on a later push, recovery from a cancelled install, and teardown leaving no cluster, disk, load balancer or DNS record behind. This PR deploys itself, so the panel above shows the result in this repository.
How it works and how to rebuild the Google Cloud side:
.github/scripts/gke/README.md.🤖 Generated with Claude Code