From fdf25cb931f826cc3d49c744c713e61bdfd2f1aa Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 18 Dec 2024 11:54:27 +0530 Subject: [PATCH] Comment out unnecessary workflows --- .github/workflows/static-checks.yml | 16 ++++++------- .../unit-and-integration-tests-unified.yml | 24 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 778a79db7618..b2ad4dfb8e65 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -17,14 +17,14 @@ name: "Static Checks CI" on: push: branches: - - master - - '[0-9]+.[0-9]+.[0-9]+' # release branches - - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches - pull_request: - branches: - - master - - '[0-9]+.[0-9]+.[0-9]+' # release branches - - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches + - nonexistingbranch +# - '[0-9]+.[0-9]+.[0-9]+' # release branches +# - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches +# pull_request: +# branches: +# - master +# - '[0-9]+.[0-9]+.[0-9]+' # release branches +# - '[0-9]+.[0-9]+.[0-9]+-[A-Za-z0-9]+' # release branches concurrency: group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}' # group workflows only on pull_requests and not on branch commits diff --git a/.github/workflows/unit-and-integration-tests-unified.yml b/.github/workflows/unit-and-integration-tests-unified.yml index 81375f33c090..b9ab8d5b3baa 100644 --- a/.github/workflows/unit-and-integration-tests-unified.yml +++ b/.github/workflows/unit-and-integration-tests-unified.yml @@ -166,12 +166,13 @@ jobs: name: "unit tests (jdk${{ matrix.jdk }}, sql-compat=true)" uses: ./.github/workflows/unit-tests.yml needs: unit-tests - if: ${{ always() && (needs.unit-tests.result == 'success' || needs.unit-tests.outputs.continue_tests) }} + if: false with: jdk: ${{ matrix.jdk }} sql_compatibility: true unit-tests: + if: false strategy: fail-fast: false matrix: @@ -184,16 +185,15 @@ jobs: sql_compatibility: ${{ matrix.sql_compatibility }} standard-its: - needs: unit-tests - if: ${{ always() && (needs.unit-tests.result == 'success' || needs.unit-tests.outputs.continue_tests) }} + needs: build uses: ./.github/workflows/standard-its.yml - revised-its: - needs: [unit-tests, set-env-var] - if: ${{ always() && (needs.unit-tests.result == 'success' || needs.unit-tests.outputs.continue_tests) }} - uses: ./.github/workflows/revised-its.yml - with: - BACKWARD_COMPATIBILITY_IT_ENABLED: ${{ needs.set-env-var.outputs.BACKWARD_COMPATIBILITY_IT_ENABLED }} - DRUID_PREVIOUS_VERSION: ${{ needs.set-env-var.outputs.DRUID_PREVIOUS_VERSION }} - DRUID_PREVIOUS_VERSION_DOWNLOAD_URL: ${{ needs.set-env-var.outputs.DRUID_PREVIOUS_VERSION_DOWNLOAD_URL }} - DRUID_PREVIOUS_IT_IMAGE_NAME: ${{ needs.set-env-var.outputs.DRUID_PREVIOUS_IT_IMAGE_NAME }} +# revised-its: +# needs: [unit-tests, set-env-var] +# if: ${{ always() && (needs.unit-tests.result == 'success' || needs.unit-tests.outputs.continue_tests) }} +# uses: ./.github/workflows/revised-its.yml +# with: +# BACKWARD_COMPATIBILITY_IT_ENABLED: ${{ needs.set-env-var.outputs.BACKWARD_COMPATIBILITY_IT_ENABLED }} +# DRUID_PREVIOUS_VERSION: ${{ needs.set-env-var.outputs.DRUID_PREVIOUS_VERSION }} +# DRUID_PREVIOUS_VERSION_DOWNLOAD_URL: ${{ needs.set-env-var.outputs.DRUID_PREVIOUS_VERSION_DOWNLOAD_URL }} +# DRUID_PREVIOUS_IT_IMAGE_NAME: ${{ needs.set-env-var.outputs.DRUID_PREVIOUS_IT_IMAGE_NAME }}