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

fix: remove bootstrapAll task from service benchmarks project; move project inclusion logic to root settings.gradle.kts #1279

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

ianbotsf
Copy link
Contributor

Issue #

(none)

Description of changes

The bootstrapAll task of :tests:benchmarks:service-benchmarks was broken during the refactor of our codegen bootstrapping logic into aws-kotlin-repo-tools. Rather than repair it, this change removes the ability to automatically bootstrap altogether. Instead, now the decision of whether to include the service benchmarks project lies down in settings.gradle.kts. This more closely matches how HLLs will be included/excluded based on bootstrapped service clients.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

… project inclusion logic to root settings.gradle.kts
@ianbotsf ianbotsf added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Apr 10, 2024
@ianbotsf ianbotsf requested a review from a team as a code owner April 10, 2024 20:56
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

include(":services:${it.name}")
}
}

// Service benchmarks project
val benchmarkServices = listOf(
// keep this list in sync with tests/benchmarks/service-benchmarks/build.gradle.kts
Copy link
Member

Choose a reason for hiding this comment

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

I was looking at a way to make this list sharable between settings.gradle.kts and build.gradle.kts, but couldn't find anything. I was hoping the by settings delegated property would work but it doesn't seem to be what we want here. https://docs.gradle.org/current/userguide/kotlin_dsl.html#project_properties

@ianbotsf ianbotsf merged commit 10e880f into main Apr 16, 2024
18 checks passed
@ianbotsf ianbotsf deleted the fix-service-benchmarks-bootstrap branch April 16, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants