Skip to content

Commit 03f9a06

Browse files
committed
add collect debug log for restore - change mode again with -d
1 parent 0183a49 commit 03f9a06

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/splunkconf-backup-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,10 @@ jobs:
10181018
- name: Start Splunk
10191019
run: |
10201020
# do not use start-service without detaching with -d , doesnt return so would block
1021-
#docker exec -d -u ansible splunk /sbin/entrypoint.sh start-service
1022-
docker exec -u ansible splunk /sbin/entrypoint.sh start-and-exit
1021+
docker exec -d -u ansible splunk /sbin/entrypoint.sh start-service
1022+
# start-and-exit kill the container, not what we want
1023+
#docker exec -u ansible splunk /sbin/entrypoint.sh start-and-exit
1024+
echo "Checking container status after ansible run"
10231025
sleep 1
10241026
docker ps -a
10251027
docker inspect splunk --format='{{.State.Status}} - {{.State.ExitCode}}'
@@ -1030,7 +1032,7 @@ jobs:
10301032
- name: Wait for Splunk restore ${{ matrix.splunk_type }} ${{ matrix.splunk_version }} to be ready
10311033
run: |
10321034
echo "=== Waiting for Splunk restore ${{ matrix.splunk_type }} ${{ matrix.splunk_version }} to become ready ==="
1033-
@MAX_RETRIES=60
1035+
#MAX_RETRIES=60
10341036
MAX_RETRIES=10
10351037
RETRY_INTERVAL=10
10361038
RETRIES=0

0 commit comments

Comments
 (0)