Files
canina/infra/hermes-runtime/ci-job.template.yml
T

17 lines
920 B
YAML

# Merge this job into the owning Stage workflow only after provisioning review.
# No production trigger or secret material belongs in this file.
runtime-read-acceptance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Pinned Hermes HTTP acceptance
run: |
set -euo pipefail
image=nousresearch/hermes-agent@sha256:9774f4f39a9bb8c2f68ce728ed5e99ddbad282163be56764afacf88ed952b784
for test in test_http_acceptance.py test_serve.py test_ws_denial.py; do
docker run --rm --network none --entrypoint /opt/hermes/.venv/bin/python3 -v "$PWD/infra/hermes-runtime:/contract:ro" "$image" "/contract/$test"
done
# Apply job must require approved SHA, Stage environment approval, provisioned external
# snapshot/network/secrets, and call bash infra/hermes-runtime/ci-apply.sh on target.
# Not enabled here: parent owns actual workflow and Stage promotion.