TC config - splitting test configuration out by service#8254
Conversation
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 15 files changed, 665 insertions(+)) |
SarahFrench
left a comment
There was a problem hiding this comment.
Approving as this PR generates the same code as what currently exists in a feature branch in the TPGB repo (+ similar for my TPG branch).
I've left a few comments, but they're either some small suggestions about comments to add to files, or they are a review comment made for the benefit of people reading this PR in future and not relevant to us now :)
| // | ||
| // Until that changes, we'll continue to use `teamcity-go-test` to run | ||
| // each test individually | ||
| const val useTeamCityGoTest = false |
There was a problem hiding this comment.
Just highlighting this part of the code for discovery if people look at this PR in future. useTeamCityGoTest controls some if/else logs in parts of this config code (e.g. L19 and L61 in this file, and .teamcity/tests/generated/configuration.erb) but the code will alway use the same branches due to this value being set to false here.
There was a problem hiding this comment.
👆 For benefit of people reading this PR in the future
…ackage.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
|
I just spotted that this PR is marked as having a contributor who hasn't signed the CLA - this is due to Megan leaving HashiCorp between the time this PR was opened and when the PR will be merged 😢 . Though @megan07 you're welcome to sign the CLA as an individual in case you're going to make future contributions 😉 |
|
Edit: Merging today (Tues 11 July) but will need to write up considerations about quotas and parallelism before moving tests to the service packages |
…latform#8254) * add .teamcity folder * update .teamcity folder * fix mistakes * add sweeper steps * Update mmv1/third_party/terraform/.teamcity/components/build_config_package.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/components/build_google.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/generated/settings.kts.erb Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/tests/helpers.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> --------- Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
…latform#8254) * add .teamcity folder * update .teamcity folder * fix mistakes * add sweeper steps * Update mmv1/third_party/terraform/.teamcity/components/build_config_package.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/components/build_google.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/generated/settings.kts.erb Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/tests/helpers.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> --------- Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
…latform#8254) * add .teamcity folder * update .teamcity folder * fix mistakes * add sweeper steps * Update mmv1/third_party/terraform/.teamcity/components/build_config_package.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/components/build_google.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/generated/settings.kts.erb Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/tests/helpers.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> --------- Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
…latform#8254) * add .teamcity folder * update .teamcity folder * fix mistakes * add sweeper steps * Update mmv1/third_party/terraform/.teamcity/components/build_config_package.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/components/build_google.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/generated/settings.kts.erb Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> * Update mmv1/third_party/terraform/.teamcity/tests/helpers.kt Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com> --------- Co-authored-by: Sarah French <15078782+SarahFrench@users.noreply.github.com>
Creates the TC configuration that will allow us to run tests per package/service. We'll want to combine this in some way with a PR that splits out all the tests, or stub out some tests in each package/service directory.
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)