-
Notifications
You must be signed in to change notification settings - Fork 48
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
build_counter is constantly reset #94
Comments
Hi @davidhiebert, what is the configuration you're using?
Is this your configuration source? |
Omitting build_counter attempts to reset to 0.
…On Wed, Jul 15, 2020, 2:01 PM Carlos Vitor Barros ***@***.***> wrote:
Hi @davidhiebert <https://github.com/davidhiebert>, what is the
configuration you're using?
{
"allow_personal_builds" = true
"artifact_paths" = [
"+:*.json => /config/*.json",
]
"build_counter" = 0
"build_number_format" = "%build.counter%"
"concurrent_limit" = 10
"configuration_type" = "REGULAR"
"detect_hanging" = true
"status_widget" = false
}
Is this your configuration source?
If yes, would you mind omitting build_counter altogether to see if this
flapping behaviour still persists?
There is some special treatment for that field.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#94 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUBFEPST3GCWKACUAXQ42DR3YKLFANCNFSM4O2Z3PYA>
.
|
Would you mind sharing the source configuration, and if possible, inspecting the state on the affected resource? My guess here is that the |
|
Another resource in the for_each loop after a single build produces this abbreviated output during a
|
@davidhiebert I still wasn't able to reproduce the problem. Due to the special treatment for |
Expected behavior
Terraform is applied, creating build configs. Builds occur periodically in TeamCity, incrementing build_counter. Consecutive
terraform apply
executions should not reset the build counter.Actual behavior
Consecutive
terraform apply
executions attempt to reset the resource.Attempted workaround
Tried to add the following to the resource...
however
settings
does not have any indexes, despite the output:The text was updated successfully, but these errors were encountered: