Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 5, 2020
1 parent 4e5f0c1 commit 56bd7ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
docker-compose -f tests/docker-compose.yml up -d
sleep 80
docker-compose -f tests/docker-compose.yml logs
env:
SPLUNK_PASSWORD: ${{ secrets.SPLUNK_PASSWORD }}
SPLUNK_HEC_TOKEN: ${{ secrets.SPLUNK_HEC_TOKEN }}
SPLUNK_START_ARGS: ${{ secrets.SPLUNK_START_ARGS }}
- name: Test with pytest
run: |
pip install pytest
Expand All @@ -47,8 +51,8 @@ jobs:
--splunk_host=127.0.0.1 \
--splunk_port=8089 \
--splunk_version=${{ matrix.splunk-version }} \
--splunk_password=${{ secrets.GitHub_PAT }}
--splunk_password=${{ secrets.SPLUNK_PASSWORD }}
env:
SPLUNKBASE_PASSWORD: ${{ secrets.SPLUNKBASE_PASSWORD }}
SPLUNK_PASSWORD: ${{ secrets.SPLUNK_PASSWORD }}
SPLUNK_HEC_TOKEN: ${{ secrets.SPLUNK_HEC_TOKEN }}
SPLUNK_START_ARGS: ${{ secrets.SPLUNK_START_ARGS }}
6 changes: 3 additions & 3 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
- splunk
environment:
- SPLUNK_HEC_URL=https://splunk:8088
- SPLUNK_HEC_TOKEN=a778f63a-5dff-4e3c-a72c-a03183659e94
- SPLUNK_HEC_TOKEN=${SPLUNK_HEC_TOKEN}
- SC4S_SOURCE_TLS_ENABLE=no
- SC4S_DEST_SPLUNK_HEC_TLS_VERIFY=no
# - SC4S_LISTEN_DEFAULT_TCP_PORT=514
Expand All @@ -56,7 +56,7 @@ services:
- "8088:8088"
- "8089:8089"
environment:
- SPLUNK_HEC_TOKEN=a778f63a-5dff-4e3c-a72c-a03183659e94
- SPLUNK_PASSWORD=Changed@11
- SPLUNK_HEC_TOKEN=${SPLUNK_HEC_TOKEN}
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_START_ARGS=--accept-license

0 comments on commit 56bd7ae

Please sign in to comment.