Archived
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:
@@ -135,17 +135,15 @@ jobs:
|
|||||||
echo "Published engram version=${VERSION} to foundation-prod/engram/engram"
|
echo "Published engram version=${VERSION} to foundation-prod/engram/engram"
|
||||||
rm -f /tmp/gcp-key.json
|
rm -f /tmp/gcp-key.json
|
||||||
|
|
||||||
# Dispatch engram-updated to any downstream dependents
|
# Dispatch engram-updated to downstream dependents
|
||||||
- name: Dispatch engram-updated to dependents
|
- name: Dispatch engram-updated to elql
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
GITEA_API: https://git.neuralplatform.ai/api/v1
|
GITEA_API: https://git.neuralplatform.ai/api/v1
|
||||||
run: |
|
run: |
|
||||||
# Add downstream repos here as the dependency graph grows
|
curl -sf -X POST \
|
||||||
echo "engram-updated dispatch ready (no downstream targets configured yet)"
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
# Example:
|
-H "Content-Type: application/json" \
|
||||||
# curl -sf -X POST \
|
"${GITEA_API}/repos/neuron-technologies/elql/dispatches" \
|
||||||
# -H "Authorization: token ${GITEA_TOKEN}" \
|
-d "{\"type\":\"engram-updated\",\"inputs\":{\"engram_version\":\"latest\",\"commit\":\"${GITHUB_SHA}\"}}"
|
||||||
# -H "Content-Type: application/json" \
|
echo "Dispatched engram-updated to neuron-technologies/elql"
|
||||||
# "${GITEA_API}/repos/neuron-technologies/some-service/dispatches" \
|
|
||||||
# -d '{"type":"engram-updated","inputs":{"engram_version":"latest","commit":"'"${GITHUB_SHA}"'"}}'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user