Skip to content

Make AppInspect actually fail on error#782

Open
Ickerday wants to merge 3 commits into
developfrom
cicd/add-ci-flag-to-appinspect-stage
Open

Make AppInspect actually fail on error#782
Ickerday wants to merge 3 commits into
developfrom
cicd/add-ci-flag-to-appinspect-stage

Conversation

@Ickerday

Copy link
Copy Markdown
Collaborator

No description provided.

@Ickerday Ickerday force-pushed the cicd/add-ci-flag-to-appinspect-stage branch from 3a43eb7 to c4d002d Compare May 13, 2026 15:18
@Ickerday Ickerday force-pushed the cicd/add-ci-flag-to-appinspect-stage branch from c4d002d to e0ad3bb Compare May 20, 2026 16:02
@mateusz834 mateusz834 force-pushed the cicd/add-ci-flag-to-appinspect-stage branch from e0ad3bb to 56680ee Compare May 26, 2026 09:20
@Ickerday Ickerday mentioned this pull request Jun 18, 2026
@Ickerday Ickerday force-pushed the cicd/add-ci-flag-to-appinspect-stage branch from 56680ee to 3bce54e Compare June 18, 2026 13:31
@Ickerday Ickerday changed the title Adjust splunk-appinspect to run with --ci flag Make AppInspect actually fail on error Jun 18, 2026
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

@szykol szykol Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious whether we should handle the generic exit code = 1 as well here. Unless appinspect never returns it - just so the job doesn't fail quietly

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah redid it now

Comment thread .github/actions/run-appinspect/action.yml Outdated
Comment thread .github/actions/run-appinspect/action.yml Outdated
Comment thread .github/actions/run-appinspect/action.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants