From 07a12c5bdd8701309503f7c918026d6a48c8dcdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Wed, 4 Dec 2024 17:26:22 +0100 Subject: [PATCH] Better debug workflow --- .github/workflows/build-and-test-windows.yml | 394 +++++++++++++++++-- tools/Lombiq.GitHub.Actions | 2 +- 2 files changed, 370 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build-and-test-windows.yml b/.github/workflows/build-and-test-windows.yml index 575bdcb1c..8c033365b 100644 --- a/.github/workflows/build-and-test-windows.yml +++ b/.github/workflows/build-and-test-windows.yml @@ -8,58 +8,402 @@ on: pull_request: jobs: - build-and-test-larger-runners: - name: Build and Test Windows - root solution (larger runners) + build-and-test-larger-runners0: + name: Build and Test Windows - root solution (larger runners) 0 uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 with: - parent-job-name: root-solution-larger-runners + parent-job-name: root-solution-larger-runners0 machine-types: '["windows-2022-8core"]' timeout-minutes: 50 set-up-sql-server: 'true' set-up-azurite: 'true' build-create-binary-log: 'true' dotnet-test-process-timeout: 720000 - # Running ZAP for security scans in Docker under GHA Windows runners won't work since such virtualization is not - # supported by GHA. - # The currently used Elasticsearch setup action (https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch) - # can only be used on Linux. test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests cancel-in-progress-for-this-pr: 'false' - build-and-test-standard-runners: - name: Build and Test Windows - root solution (standard runners) + build-and-test-larger-runners1: + name: Build and Test Windows - root solution (larger runners) 1 uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 with: - parent-job-name: root-solution-standard-runners - # Since dev builds are not awaited by anyone, they can run on the slower free runners. + parent-job-name: root-solution-larger-runners1 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners2: + name: Build and Test Windows - root solution (larger runners) 2 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners2 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners3: + name: Build and Test Windows - root solution (larger runners) 3 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners3 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners4: + name: Build and Test Windows - root solution (larger runners) 4 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners4 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners5: + name: Build and Test Windows - root solution (larger runners) 5 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners5 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners6: + name: Build and Test Windows - root solution (larger runners) 6 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners6 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners7: + name: Build and Test Windows - root solution (larger runners) 7 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners7 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners8: + name: Build and Test Windows - root solution (larger runners) 8 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners8 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-larger-runners9: + name: Build and Test Windows - root solution (larger runners) 9 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-larger-runners9 + machine-types: '["windows-2022-8core"]' + timeout-minutes: 50 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 720000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners0: + name: Build and Test Windows - root solution (standard runners) 0 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners0 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners1: + name: Build and Test Windows - root solution (standard runners) 1 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners1 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners2: + name: Build and Test Windows - root solution (standard runners) 2 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners2 machine-types: '["windows-2022"]' timeout-minutes: 70 set-up-sql-server: 'true' set-up-azurite: 'true' build-create-binary-log: 'true' dotnet-test-process-timeout: 840000 - # Running ZAP for security scans in Docker under GHA Windows runners won't work since such virtualization is not - # supported by GHA. - # The currently used Elasticsearch setup action (https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch) - # can only be used on Linux. test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests cancel-in-progress-for-this-pr: 'false' - build-and-test-nuget-test: - name: Build and Test Windows - NuGetTest solution + build-and-test-standard-runners3: + name: Build and Test Windows - root solution (standard runners) 3 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners3 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners4: + name: Build and Test Windows - root solution (standard runners) 4 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners4 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners5: + name: Build and Test Windows - root solution (standard runners) 5 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners5 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners6: + name: Build and Test Windows - root solution (standard runners) 6 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners6 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners7: + name: Build and Test Windows - root solution (standard runners) 7 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners7 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners8: + name: Build and Test Windows - root solution (standard runners) 8 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners8 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-standard-runners9: + name: Build and Test Windows - root solution (standard runners) 9 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: root-solution-standard-runners9 + machine-types: '["windows-2022"]' + timeout-minutes: 70 + set-up-sql-server: 'true' + set-up-azurite: 'true' + build-create-binary-log: 'true' + dotnet-test-process-timeout: 840000 + test-filter: FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test0: + name: Build and Test Windows - NuGetTest solution 0 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution0 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test1: + name: Build and Test Windows - NuGetTest solution 1 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution1 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test2: + name: Build and Test Windows - NuGetTest solution 2 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution2 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test3: + name: Build and Test Windows - NuGetTest solution 3 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution3 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test4: + name: Build and Test Windows - NuGetTest solution 4 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution4 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test5: + name: Build and Test Windows - NuGetTest solution 5 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution5 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test6: + name: Build and Test Windows - NuGetTest solution 6 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution6 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test7: + name: Build and Test Windows - NuGetTest solution 7 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution7 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test8: + name: Build and Test Windows - NuGetTest solution 8 + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 + with: + parent-job-name: nuget-solution8 + machine-types: '["windows-2022"]' + build-directory: NuGetTest + timeout-minutes: 30 + dotnet-test-process-timeout: 540000 + test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' + cancel-in-progress-for-this-pr: 'false' + + build-and-test-nuget-test9: + name: Build and Test Windows - NuGetTest solution 9 uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-928 with: - parent-job-name: nuget-solution + parent-job-name: nuget-solution9 machine-types: '["windows-2022"]' build-directory: NuGetTest timeout-minutes: 30 dotnet-test-process-timeout: 540000 - # Running ZAP for security scans in Docker under GHA Windows runners won't work since such virtualization is not - # supported by GHA. - # The currently used Elasticsearch setup action (https://github.com/elastic/elastic-github-actions/tree/master/elasticsearch) - # can only be used on Linux. - # Without quotes, somehow the value won't be passed properly and the test execution will hang, despite seemingly - # every value being the same as with quotes. - # yamllint disable-line rule:quoted-strings test-filter: 'FullyQualifiedName!~SecurityScanningTests&FullyQualifiedName!~BehaviorElasticsearchTests' cancel-in-progress-for-this-pr: 'false' diff --git a/tools/Lombiq.GitHub.Actions b/tools/Lombiq.GitHub.Actions index d3c5f3585..f8cb6492e 160000 --- a/tools/Lombiq.GitHub.Actions +++ b/tools/Lombiq.GitHub.Actions @@ -1 +1 @@ -Subproject commit d3c5f35852a193bbfc08ca96bab400ead886f180 +Subproject commit f8cb6492e72a84deae21a84548b777abb1f47cbb