Skip to content

Add portal dry-run submit and mTLS API auth - #79

Merged
yoshifuminakamura merged 1 commit into
developfrom
dev2/portal-mtls-pipeline-dry-run
Aug 4, 2026
Merged

Add portal dry-run submit and mTLS API auth#79
yoshifuminakamura merged 1 commit into
developfrom
dev2/portal-mtls-pipeline-dry-run

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

  • add admin execution profile dry-run submit planning for GitLab Pipeline API
  • add mTLS trusted-proxy authentication for result ingest/query APIs
  • switch result server helper scripts to client cert/key auth without X-API-Key

Deployment notes

  • dev2 has been configured with RESULT_SERVER_TRUSTED_PROXY_AUTH=mtls and no RESULT_SERVER_KEY(S)
  • nginx dev2 ingest/query locations require verified client certificates
  • self-managed Docker runners mount /etc/benchkit/result-server read-only and set RESULT_SERVER_CLIENT_CERT/KEY

Validation

  • pytest result_server/tests/test_execution_profiles.py result_server/tests/test_api_routes.py result_server/tests/test_preflight.py
  • bash -n scripts/result_server/send_results.sh scripts/result_server/send_estimate.sh scripts/result_server/api.sh scripts/estimation/test_reestimate.sh scripts/estimation/result_query.sh
  • dev2 HTTPS smoke: no cert -> 403, runner-equivalent Docker mTLS -> 200

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura force-pushed the dev2/portal-mtls-pipeline-dry-run branch from ceb8230 to 13c78bf Compare August 4, 2026 07:03
@yoshifuminakamura
yoshifuminakamura merged commit 5eaa88b into develop Aug 4, 2026
9 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the dev2/portal-mtls-pipeline-dry-run branch August 4, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant