From 5dd5f29349f0896cc68e43adb274d51a3be2b60f Mon Sep 17 00:00:00 2001 From: mstopa-splunk <139441697+mstopa-splunk@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:07:31 +0200 Subject: [PATCH] CI: remove redundant CI tests (#2617) --- .github/workflows/ci-lite.yaml | 11 +---------- .github/workflows/ci-main.yaml | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci-lite.yaml b/.github/workflows/ci-lite.yaml index bca015c57..a31ba48f3 100644 --- a/.github/workflows/ci-lite.yaml +++ b/.github/workflows/ci-lite.yaml @@ -16,12 +16,6 @@ name: ci-lite on: - push: - branches: - - "main" - - "releases/*" - - "develop" - - "next*" pull_request: branches: - "main" @@ -174,9 +168,6 @@ jobs: needs: - meta - build_action - strategy: - matrix: - splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} # runs all of the steps inside the specified container rather than on the VM host. # Because of this the network configuration changes from host based network to a container network. container: @@ -184,7 +175,7 @@ jobs: services: splunk: - image: splunk/splunk:${{ matrix.splunk.version }} + image: splunk/splunk:${{ fromJson(needs.meta.outputs.matrix_supportedSplunk)[0].version }} ports: - 8000:8000 - 8088:8088 diff --git a/.github/workflows/ci-main.yaml b/.github/workflows/ci-main.yaml index 9c40976da..9103cdddf 100644 --- a/.github/workflows/ci-main.yaml +++ b/.github/workflows/ci-main.yaml @@ -16,12 +16,6 @@ name: ci-main on: - push: - branches: - - "main" - - "releases/*" - - "develop" - - "next*" pull_request: branches: - "main" @@ -174,9 +168,6 @@ jobs: needs: - meta - build_action - strategy: - matrix: - splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} # runs all of the steps inside the specified container rather than on the VM host. # Because of this the network configuration changes from host based network to a container network. container: @@ -184,7 +175,7 @@ jobs: services: splunk: - image: splunk/splunk:${{ matrix.splunk.version }} + image: splunk/splunk:${{ fromJson(needs.meta.outputs.matrix_supportedSplunk)[0].version }} ports: - 8000:8000 - 8088:8088