From 588883b508c5efa0d242a8b9c2ef035bea403420 Mon Sep 17 00:00:00 2001 From: Ilya Kheifets Date: Sat, 1 Feb 2025 23:24:41 +0100 Subject: [PATCH] fix: new test Signed-off-by: Ilya Kheifets --- .github/workflows/ci-lite.yaml | 85 ++++------------------------------ 1 file changed, 8 insertions(+), 77 deletions(-) diff --git a/.github/workflows/ci-lite.yaml b/.github/workflows/ci-lite.yaml index dd6fbf944..28e6ea94b 100644 --- a/.github/workflows/ci-lite.yaml +++ b/.github/workflows/ci-lite.yaml @@ -253,50 +253,7 @@ jobs: needs: - meta - build_action - - strategy: - matrix: - include: - - name: config-1 - config: test1 - - name: config-2 - config: test2 - - name: config-3 - config: test3 - - name: config-4 - config: test4 - - name: config-5 - config: test5 - - name: config-6 - config: test6 - - name: config-7 - config: test7 - - name: config-8 - config: test8 - - name: config-9 - config: test9 - - name: config-10 - config: test10 - - name: config-11 - config: test11 - - name: config-12 - config: test12 - - name: config-13 - config: test13 - - name: config-14 - config: test14 - - name: config-15 - config: test15 - - name: config-16 - config: test16 - - name: config-17 - config: test17 - - name: config-18 - config: test18 - - name: config-19 - config: test19 - - name: config-20 - config: test20 + - test-container container: image: python:3.9-buster @@ -314,38 +271,6 @@ jobs: SPLUNK_START_ARGS: --accept-license SPLUNK_APPS_URL: https://github.com/splunk/splunk-configurations-base-indexes/releases/download/v1.0.0/splunk_configurations_base_indexes-1.0.0.tar.gz - sc4s: - image: ${{ needs.meta.outputs.container_base }} - ports: - - 514:514 - - 601:601 - - 5614:5514 - - 5601:5601 - - 6000:6000 - - 6002:6002 - - 9000:9000 - env: - SC4S_DEST_SPLUNK_HEC_DEFAULT_URL: https://splunk:8088 - SC4S_DEST_SPLUNK_HEC_DEFAULT_TOKEN: 70b6ae71-76b3-4c38-9597-0c5b37ad9630 - SC4S_DEST_SPLUNK_HEC_DEFAULT_TLS_VERIFY: "no" - SC4S_DEST_SPLUNK_HEC_DEFAULT_HTTP_COMPRESSION: "yes" - SC4S_LISTEN_PFSENSE_FIREWALL_TCP_PORT: 6000 - SC4S_LISTEN_SIMPLE_TEST_ONE_TCP_PORT: 5514 - SC4S_LISTEN_SIMPLE_TEST_ONE_UDP_PORT: 5514 - SC4S_LISTEN_SIMPLE_TEST_TWO_TCP_PORT: 5601 - SC4S_LISTEN_SPECTRACOM_NTP_TCP_PORT: 6002 - SC4S_LISTEN_CISCO_ESA_TCP_PORT: 9000 - SC4S_LISTEN_RARITAN_DSX_TCP_PORT: 9001 - SC4S_LISTEN_CHECKPOINT_SPLUNK_NOISE_CONTROL: "yes" - SC4S_SOURCE_RICOH_SYSLOG_FIXHOST: "yes" - TEST_SC4S_ACTIVATE_EXAMPLES: "yes" - SC4S_DEBUG_CONTAINER: "yes" - SC4S_SOURCE_VMWARE_VSPHERE_GROUPMSG: "yes" - SC4S_NETAPP_ONTAP_NEW_FORMAT: "yes" - SC4S_USE_VPS_CACHE: "yes" - SC4S_TEST: ${{ matrix.config }} - volumes: - - ${{ matrix.config }}:/etc/syslog-ng/config.yaml steps: - name: Checkout uses: actions/checkout@v4 @@ -354,7 +279,13 @@ jobs: persist-credentials: false - name: Test run: | - echo $SC4S_TEST + echo "---\naddons:\n\t- barracuda" > config_addon_barracuda.yaml + echo "---\naddons:\n\t- cisco" > config_addon_cisco.yaml + + for config in $(ls config_addon_*.yaml); do + echo "config" + cat $config + done test-ipv4-name-cache: runs-on: ubuntu-latest