Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e052a069cb |
@@ -302,20 +302,3 @@ With failures:
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## gitea-logger Implementation
|
|
||||||
|
|
||||||
When this step executes, write the report JSON to a temp file and push to Gitea:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
REPO="https://abiba-bot:${GITEA_PAT}@git.sysloggh.net/SyslogSolution/health-logs"
|
|
||||||
DIR="litellm"
|
|
||||||
FILE="${run_id}.json"
|
|
||||||
echo "${report_json}" > /tmp/${FILE}
|
|
||||||
(cd /tmp && git clone --depth 1 "${REPO}" &&
|
|
||||||
cp ${FILE} health-logs/${DIR}/${FILE} &&
|
|
||||||
cd health-logs && git add ${DIR}/${FILE} &&
|
|
||||||
git commit -m "litellm-health: ${run_id}" && git push)
|
|
||||||
rm -rf /tmp/health-logs /tmp/${FILE}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user