Add IT-One AI agent template, eval gate, and deployment skeleton
Deploy / validate-image (push) Successful in 45s
Eval Gate / evaluate (push) Failing after 1m42s

This commit is contained in:
2026-08-21 12:14:55 +02:00
parent d1a12d7880
commit d406da1312
25 changed files with 243 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Deploy
on:
push:
branches:
- main
permissions:
contents: read
jobs:
validate-image:
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Validate deployment files
run: test -f deploy/Dockerfile && test -f deploy/docker-compose.yml
- name: Build image when registry credentials exist
if: ${{ secrets.REGISTRY_URL != '' && secrets.REGISTRY_TOKEN != '' }}
env:
REGISTRY_URL: ${{ secrets.REGISTRY_URL }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
run: |
echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_URL" --username "${{ secrets.REGISTRY_USER }}" --password-stdin
docker build -f deploy/Dockerfile -t "$REGISTRY_URL/agent:${{ gitea.sha }}" .
docker push "$REGISTRY_URL/agent:${{ gitea.sha }}"
+19
View File
@@ -0,0 +1,19 @@
name: Eval Gate
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
evaluate:
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Run offline quality gate
run: python3 evals/run_evals.py --threshold 0.95