Wire engram-updated dispatch to elql

Replace placeholder comment with actual curl dispatch call that fires
engram-updated to neuron-technologies/elql on every Engram release.
This commit is contained in:
Will Anderson
2026-05-04 19:32:08 -05:00
parent 46170b3609
commit 0bde5f2af1
+8 -10
View File
@@ -135,17 +135,15 @@ jobs:
echo "Published engram version=${VERSION} to foundation-prod/engram/engram"
rm -f /tmp/gcp-key.json
# Dispatch engram-updated to any downstream dependents
- name: Dispatch engram-updated to dependents
# Dispatch engram-updated to downstream dependents
- name: Dispatch engram-updated to elql
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_API: https://git.neuralplatform.ai/api/v1
run: |
# Add downstream repos here as the dependency graph grows
echo "engram-updated dispatch ready (no downstream targets configured yet)"
# Example:
# curl -sf -X POST \
# -H "Authorization: token ${GITEA_TOKEN}" \
# -H "Content-Type: application/json" \
# "${GITEA_API}/repos/neuron-technologies/some-service/dispatches" \
# -d '{"type":"engram-updated","inputs":{"engram_version":"latest","commit":"'"${GITHUB_SHA}"'"}}'
curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${GITEA_API}/repos/neuron-technologies/elql/dispatches" \
-d "{\"type\":\"engram-updated\",\"inputs\":{\"engram_version\":\"latest\",\"commit\":\"${GITHUB_SHA}\"}}"
echo "Dispatched engram-updated to neuron-technologies/elql"