From ddfef9df6f1e656cd3065ef2960d680ac24cbd4b Mon Sep 17 00:00:00 2001 From: Jeremy Besson Date: Wed, 25 Jun 2025 13:02:17 +0300 Subject: [PATCH 1/5] Fix default logLevel testingConfig --- test/Elastic.Apm.Tests.Utilities/TestingConfig.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/Elastic.Apm.Tests.Utilities/TestingConfig.cs b/test/Elastic.Apm.Tests.Utilities/TestingConfig.cs index c74d388f2..a438cc4c2 100644 --- a/test/Elastic.Apm.Tests.Utilities/TestingConfig.cs +++ b/test/Elastic.Apm.Tests.Utilities/TestingConfig.cs @@ -252,8 +252,6 @@ internal MutableSnapshot(IRawConfigSnapshot rawConfigSnapshot, ITestOutputHelper optionMetadata.ParseAndSetProperty(rawConfigSnapshot, this, parsingLogger); } - if (IsRunningInIde) - LogLevel = LogLevel.Trace; IApmLogger BuildXunitOutputLogger(LogLevel logLevel) { From caf8e050bbfdf68f8b2423f7b77317456217273d Mon Sep 17 00:00:00 2001 From: Jeremy Besson Date: Thu, 26 Jun 2025 10:45:24 +0300 Subject: [PATCH 2/5] Testing if terraform is installed --- .github/workflows/test-linux.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 2b8346905..81081a737 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -96,6 +96,9 @@ jobs: with: azure: 'true' + - name: Check Terraform Installation + run: terraform --version + - name: 'Az CLI login' uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0 with: From 06c2a44f2a996fbecccdb80d21e7e52d19a39c33 Mon Sep 17 00:00:00 2001 From: Jeremy Besson Date: Thu, 26 Jun 2025 11:25:15 +0300 Subject: [PATCH 3/5] Try to install terraform for Azure tests --- .github/workflows/install-dependencies/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/install-dependencies/action.yml b/.github/workflows/install-dependencies/action.yml index 2af040ba7..ecaced9ad 100644 --- a/.github/workflows/install-dependencies/action.yml +++ b/.github/workflows/install-dependencies/action.yml @@ -70,6 +70,12 @@ sudo apt-get update sudo apt-get install azure-functions-core-tools-4=4.0.6280-1 + - name: Setup Terraform + if: "${{ inputs.azure == 'true' && runner.os == 'Linux' }}" + uses: hashicorp/setup-terraform@v2 + with: + terraform_version: 1.5.6 # Replace with your required version + - name: 'Windows: Azure functions core tools' if: "${{ inputs.azure == 'true' && runner.os == 'Windows' }}" shell: cmd From 6909794d81a8f5453a35461ef341f1a124ecfde2 Mon Sep 17 00:00:00 2001 From: Jeremy Besson Date: Fri, 27 Jun 2025 10:21:12 +0300 Subject: [PATCH 4/5] Revert terraform changes --- .github/workflows/install-dependencies/action.yml | 6 ------ .github/workflows/test-linux.yml | 3 --- 2 files changed, 9 deletions(-) diff --git a/.github/workflows/install-dependencies/action.yml b/.github/workflows/install-dependencies/action.yml index ecaced9ad..30b525f93 100644 --- a/.github/workflows/install-dependencies/action.yml +++ b/.github/workflows/install-dependencies/action.yml @@ -69,12 +69,6 @@ sudo dpkg -i packages-microsoft-prod.deb sudo apt-get update sudo apt-get install azure-functions-core-tools-4=4.0.6280-1 - - - name: Setup Terraform - if: "${{ inputs.azure == 'true' && runner.os == 'Linux' }}" - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: 1.5.6 # Replace with your required version - name: 'Windows: Azure functions core tools' if: "${{ inputs.azure == 'true' && runner.os == 'Windows' }}" diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 81081a737..2b8346905 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -96,9 +96,6 @@ jobs: with: azure: 'true' - - name: Check Terraform Installation - run: terraform --version - - name: 'Az CLI login' uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0 with: From 6e4f1b5886e0d827c8668b0a11917fc57a6f0a60 Mon Sep 17 00:00:00 2001 From: Jeremy Besson Date: Fri, 27 Jun 2025 10:24:05 +0300 Subject: [PATCH 5/5] Fix --- .github/workflows/install-dependencies/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install-dependencies/action.yml b/.github/workflows/install-dependencies/action.yml index 30b525f93..2af040ba7 100644 --- a/.github/workflows/install-dependencies/action.yml +++ b/.github/workflows/install-dependencies/action.yml @@ -69,7 +69,7 @@ sudo dpkg -i packages-microsoft-prod.deb sudo apt-get update sudo apt-get install azure-functions-core-tools-4=4.0.6280-1 - + - name: 'Windows: Azure functions core tools' if: "${{ inputs.azure == 'true' && runner.os == 'Windows' }}" shell: cmd