chore: throwaway komodo inspect workflow
Komodo Setup (throwaway) / inspect (push) Successful in 3s

This commit is contained in:
Jonathan Branan committed 2026-10-27 01:37:36 -05:00
1 parent ebec893a85
commit edd61681dd
1 file changed
+31
+31
View File
@@ -0,0 +1,31 @@
name: Komodo Setup (throwaway)
on:
push:
branches:
- komodo-setup
workflow_dispatch:
jobs:
inspect:
runs-on: ubuntu-latest
steps:
- name: Inspect Komodo
env:
KOMODO_URL: ${{ secrets.KOMODO_URL }}
KOMODO_API_KEY: ${{ secrets.KOMODO_API_KEY }}
KOMODO_API_SECRET: ${{ secrets.KOMODO_API_SECRET }}
run: |
set -eu
KOMODO_URL="${KOMODO_URL%/}"
api() {
curl -sS -X POST "${KOMODO_URL}$1" \
-H 'Content-Type: application/json' \
-H "x-api-key: ${KOMODO_API_KEY}" \
-H "x-api-secret: ${KOMODO_API_SECRET}" \
-d "$2"
}
echo "=== ListServers ==="
api /read/ListServers '{}' | python3 -m json.tool
echo "=== GetStack qbit-maid ==="
api /read/GetStack '{"stack":"qbit-maid"}' | python3 -m json.tool