Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/actions/run-appinspect/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ runs:
tar -czf mock_app.tgz --exclude="__pycache__" bin default metadata
- name: Validate the mock app with AppInspect
shell: bash
run: uvx splunk-appinspect inspect ./tests/system/test_apps/generating_app/mock_app.tgz --included-tags cloud
run: |
# AppInspect doesn't follow UNIX conventions so we swallow all non-zero
# exit codes unless its 101, the de facto error code
Comment thread
mateusz834 marked this conversation as resolved.
Resolved
# https://dev.splunk.com/enterprise/reference/appinspect/appinspectcliref#inspect
uvx splunk-appinspect inspect \
./tests/system/test_apps/generating_app/mock_app.tgz \
--included-tags cloud --ci || exit_code=$?
[ "${exit_code:-0}" -ne 101 ] || exit 1
Comment thread
Ickerday marked this conversation as resolved.
Resolved
Comment thread
mateusz834 marked this conversation as resolved.
Resolved
Loading