Commit 027014a
committed
fix(ci): appinspect-api app_path must be dir, not file (Phase 1.5 hotfix)
Phase 1.5's first run (ID 25998624960, 2026-05-17) failed with:
NotADirectoryError: [Errno 20] Not a directory:
'dist/wl_manager-1.0.0-rc1.spl/dist/wl_manager-1.0.0-rc1.spl'
Root cause is in splunk/appinspect-api-action@v3.0.5 entrypoint.sh:
ADDON_NAME=$(ls $INPUT_APP_PATH)
ADDON_FULL_PATH="$INPUT_APP_PATH/$ADDON_NAME"
The action treats app_path as a DIRECTORY and joins the ls output
back onto it. We were passing the .spl file directly, which made
ls echo the path back and produce the doubled path above.
Passing 'dist/' would also fail because the dir contains three
siblings (.spl + .spl.sha256 + .spl.cdx.json), making `ls`
emit multiple newline-separated names and confusing the join.
Fix: stage the .spl into a clean single-file dir (dist/appinspect/)
in the Locate step and point both action invocations at that dir
via a new appinspect_dir output. spl_file output kept for any
future consumer (e.g. uploading the .spl as a workflow artifact).1 parent ee0d449 commit 027014a
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
| |||
84 | 95 | | |
85 | 96 | | |
86 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
87 | 102 | | |
| 103 | + | |
88 | 104 | | |
| 105 | + | |
89 | 106 | | |
90 | 107 | | |
91 | 108 | | |
92 | 109 | | |
93 | 110 | | |
94 | 111 | | |
95 | | - | |
| 112 | + | |
96 | 113 | | |
97 | 114 | | |
98 | 115 | | |
| |||
102 | 119 | | |
103 | 120 | | |
104 | 121 | | |
105 | | - | |
| 122 | + | |
106 | 123 | | |
107 | 124 | | |
0 commit comments