File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ jobs:
132132 else
133133 echo "INFO: not creating disable_kvstore app. Context type : ${{ matrix.context_type }}"
134134 fi
135+
136+ echo "=== Creating custom app testapp so we can check it is in backup after restore==="
137+ mkdir -p apppackage/testapp/local
138+ printf '[mytest]\nREPORT-test=test\n' > apppackage/testapp/local/props.conf
135139
136140
137141 echo "=== App package contents ==="
@@ -169,6 +173,7 @@ jobs:
169173 -e SPLUNK_PASSWORD="${{ env.SPLUNK_PASSWORD }}" \
170174 -e TZ="Europe/Paris" \
171175 -v "$(pwd)/apppackage/splunkconf-backup:${SPLUNK_HOME}/etc/apps/splunkconf-backup/" \
176+ -v "$(pwd)/apppackage/testapp:${SPLUNK_HOME}/etc/apps/testapp/" \
172177 -v "$(pwd)/apppackage/disable_kvstore:${SPLUNK_HOME}/etc/apps/disable_kvstore/" \
173178 "${DOCKER_IMAGE}"
174179 else
@@ -184,6 +189,7 @@ jobs:
184189 -e SPLUNK_PASSWORD="${{ env.SPLUNK_PASSWORD }}" \
185190 -e TZ="Europe/Paris" \
186191 -v "$(pwd)/apppackage/splunkconf-backup:${SPLUNK_HOME}/etc/apps/splunkconf-backup/" \
192+ -v "$(pwd)/apppackage/testapp:${SPLUNK_HOME}/etc/apps/testapp/" \
187193 "${DOCKER_IMAGE}"
188194 fi
189195
@@ -594,6 +600,7 @@ jobs:
594600 EXPECTED_FILES_ETC=(
595601 "./etc/apps/splunkconf-backup/lookups/splunkconf-backup-expected.csv"
596602 "./etc/apps/journald_input/default/inputs.conf"
603+ "./etc/apps/testapp/local/props.conf"
597604 )
598605 # splunk metrics workspace not present on uf
599606 else
You can’t perform that action at this time.
0 commit comments