Skip to content

[CRDB-49216] tests/e2e/operator: Add GCP end-to-end tests with Helm v2. #529

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NishanthNalluri
Copy link
Contributor

No description provided.

Comment on lines +40 to +58
// CanTeardown checks if the provider supports teardown.
func CanTeardown(provider CloudProvider) (CloudProvider, bool) {
// Check if the TeardownInfra method is a no-op implementation
switch provider.(type) {
default:
return provider, true
}
}

// CanScale checks if the provider supports scaling.
func CanScale(provider CloudProvider) (CloudProvider, bool) {
// Check if the ScaleNodePool method is a no-op implementation
switch provider.(type) {
case *K3dRegion, *GcpRegion:
return nil, false
default:
return provider, true
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Could these also be methods in the interface so that the respective cloud provider could implement it?

Copy link
Contributor

@jlinder jlinder left a comment

Choose a reason for hiding this comment

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

I've reviewed the workflows and perused the rest of the code. Here are a few thoughts.

@NishanthNalluri NishanthNalluri marked this pull request as ready for review July 15, 2025 06:32
@NishanthNalluri NishanthNalluri force-pushed the nishanth/e2e-gcp branch 4 times, most recently from 6044038 to 7dc1bd8 Compare July 17, 2025 14:28
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