Skip to content

Support multiple portal GitLab targets - #82

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/portal-gitlab-targets
Aug 5, 2026
Merged

Support multiple portal GitLab targets#82
yoshifuminakamura merged 1 commit into
developfrom
feature/portal-gitlab-targets

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

  • add named GitLab pipeline targets for Portal submit/dry-run
  • keep the existing RESULT_SERVER_GITLAB_REPO / RESULT_SERVER_GITLAB_TOKEN single-target fallback
  • add target selection to the admin execution profile form
  • document RESULT_SERVER_GITLAB_TARGETS and target-specific token env names

Configuration

  • single target: RESULT_SERVER_GITLAB_REPO + RESULT_SERVER_GITLAB_TOKEN
  • multiple targets: RESULT_SERVER_GITLAB_TARGETS plus RESULT_SERVER_GITLAB_TOKEN_<TARGET_ID>
  • named targets require their own token; they do not fall back to the global token

Validation

  • /home/nakamura/fugakunext/venv/bin/python -m pytest result_server/tests/test_execution_profiles.py result_server/tests/test_app_dev_security.py result_server/tests/test_api_routes.py result_server/tests/test_preflight.py
  • /home/nakamura/fugakunext/venv/bin/python result_server/tests/run_result_server_tests.py
  • python3 -m py_compile result_server/routes/admin.py result_server/utils/gitlab_pipeline.py

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura merged commit 4433243 into develop Aug 5, 2026
7 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/portal-gitlab-targets branch August 5, 2026 06:17
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