Skip to content

Commit

Permalink
fix: new test
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Feb 1, 2025
1 parent 6b8c5df commit ab8f46b
Showing 1 changed file with 10 additions and 79 deletions.
89 changes: 10 additions & 79 deletions .github/workflows/ci-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
@semantic-release/exec
@semantic-release/git
semantic-release-helm
@google/semantic-release-replace-plugin@1.2.0
conventional-changelog-conventionalcommits@6.1.0
@google/semantic-release-replace-plugin
conventional-changelog-conventionalcommits
dry_run: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ab8f46b

Please sign in to comment.