-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TeamCity: Enable automated testing of provider-defined functions #17451
TeamCity: Enable automated testing of provider-defined functions #17451
Comments
Part 1 is complete from the list in the issue description. |
TeamCity is currently using TF 1.8.0 but there are some tests showing funny behaviour:
|
@SarahFrench I thought we rolled back the 1.8.0 usage but I still see the Cloudfunctions2 failures in the nightlys - is that expected? |
We rolled back use of 1.8.0-rc1 and later the failures we noticed weren't present in 1.8.0. There were some failures still but the discussion in the google space suggested they're due to how the tests are configured. If you'd like to revert to 1.2.5 again we can do that and investigate the lingering errors separately |
I am down for us to investigate without rolling back to 1.2.5 if that's what we want to do - it just might make sense to split out into a separate ticket that we can address. |
I've created that new issue here: #18109 |
The PR that closed this issue didn't make VCR tests run using TF 1.8.3 - this PR should do that: GoogleCloudPlatform/magic-modules#10790 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Background
Provider-defined functions are being prepared on a feature branch but only work with TF 1.8.0+, which our automated testing systems don't use. We need to enable testing of the feature branch for provider functions in the lead up to the 1.8.0 release, and then later update all testing to use TF 1.8.0+
What kind of contribution is this issue about?
Related PR(s), if any:
project_from_id
provider-defined function GoogleCloudPlatform/magic-modules#10021region_from_id
andzone_from_id
provider-defined functions GoogleCloudPlatform/magic-modules#10060Details
1) Enable feature branch testing in TeamCity
✅ I'm going to add a new project in TeamCity for testing the branch
FEATURE-BRANCH-provider-functions
that uses the alpha release of TF 1.8.0. This will allow us to test the new functions without causing all the provider testing to rely on an alpha release.Completed in : GoogleCloudPlatform/magic-modules#10088
2) Enable testing in TeamCity once the feature branch is merged to main
✅ We'll need to update TeamCity to use Terraform 1.8.0 then.
TeamCity was updated to use 1.8.0-rc1 in the past, then 1.8.0. Recently it was bumped to 1.8.3 : GoogleCloudPlatform/magic-modules#10719
3) Update automation on PRs to use TF 1.8.0+
Until this is done, all acceptance tests for provider-defined functions will need to be skipped in VCR
The text was updated successfully, but these errors were encountered: