Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix: example patch release (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkhunti-cds committed Mar 18, 2021
1 parent 35cdf6e commit 98be6e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,13 @@ jobs:
# Start Splunk
docker-compose -f docker-compose-ci.yml up -d splunk
until docker-compose -f docker-compose-ci.yml logs splunk | grep "Ansible playbook complete" ; do sleep 1; done
# Run a Splunk Diag
mkdir /tmp/diag
diag=$(docker-compose -f docker-compose-ci.yml exec splunk sudo -u splunk /opt/splunk/bin/splunk diag | grep "Splunk diagnosis file created" | sed -n 's/.* \(\/.*\.gz\)/\1/p')
docker-compose -f docker-compose-ci.yml exec splunk sudo chmod +r ${diag//[$'\t\r\n']}
docker cp project_splunk_1:${diag//[$'\t\r\n']} /tmp/diag
# Check with btool
docker-compose -f docker-compose-ci.yml exec splunk sudo /opt/splunk/bin/splunk cmd btool check
docker-compose -f docker-compose-ci.yml up -d splunk uf
Expand Down

0 comments on commit 98be6e8

Please sign in to comment.