elastic / apm-agent-dotnet

https://www.elastic.co/guide/en/apm/agent/dotnet/current/index.html
Apache License 2.0
586 stars 208 forks source link

Keyless Azure Auth in test-linux #2384

Closed reakaleek closed 5 months ago

reakaleek commented 5 months ago

Use OIDC to login to azure.

reakaleek commented 5 months ago

I will disable the azure-tests job again.

But I was able to validate that the OIDC login works and terraform resources are created as expected in https://github.com/elastic/apm-agent-dotnet/actions/runs/9700716496/job/26773022726

P.S. I found many tests failing after a timeout of 15 minutes..

Maybe we want to increase: https://github.com/elastic/apm-agent-dotnet/blob/e646ef827cc0b3b78993dffd6c9cbf33da54cc3d/test/Elastic.Apm.Tests.Utilities/Terraform/TerraformResources.cs#L24

In Terraform, the delete timeout is actually set to 180 minutes. So I suspect that it needs more time. Source: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cosmosdb_account#timeouts