mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
rem: dev: Remove useless PR-Agent jobs
The experiment was a failure, the PR-Agent doesn't send a full context to the AI Agents and the results are abysmal because of that. Merge branch 'ondrej/remove-useless-pr-agent' into 'main' See merge request isc-projects/bind9!12119
This commit is contained in:
commit
d61fef7c10
1 changed files with 0 additions and 49 deletions
|
|
@ -2725,52 +2725,3 @@ autorebase-security:
|
|||
<<: *autorebase
|
||||
rules:
|
||||
- if: '$CI_PROJECT_NAMESPACE == "isc-private" && $CI_PIPELINE_SOURCE == "pipeline" && $CI_COMMIT_REF_NAME =~ /^security-(main|bind-9\.[0-9]+)$/ && $REBASE_ONLY == "1" && $CI_COMMIT_REF_NAME =~ $AUTOREBASED_BRANCHES'
|
||||
|
||||
pr-agent-claude:
|
||||
<<: *other_checks_job
|
||||
image:
|
||||
name: registry.gitlab.isc.org/isc-projects/images/pr-agent:latest
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- cd /app
|
||||
- export MR_URL="$CI_MERGE_REQUEST_PROJECT_URL/-/merge_requests/$CI_MERGE_REQUEST_IID"
|
||||
- echo "MR_URL=$MR_URL"
|
||||
- export gitlab__url="$CI_SERVER_URL"
|
||||
- export gitlab__PERSONAL_ACCESS_TOKEN="$GITLAB_PERSONAL_ACCESS_TOKEN"
|
||||
- export config__model="anthropic/claude-opus-4-6"
|
||||
- export config__fallback_models="[\"anthropic/claude-sonnet-4-6\"]"
|
||||
- export config__enable_claude_extended_thinking=true
|
||||
- export config__add_repo_metadata=true
|
||||
- export config__add_repo_metadata_file_list="[\"CONTRIBUTING.md\"]"
|
||||
- export config__git_provider="gitlab"
|
||||
- export anthropic__KEY="$ANTHROPIC_API_KEY"
|
||||
- export config__reasoning_effort="high"
|
||||
- python -m pr_agent.cli --pr_url="$MR_URL" review
|
||||
- python -m pr_agent.cli --pr_url="$MR_URL" improve
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == $CI_PROJECT_PATH && $GITLAB_PERSONAL_ACCESS_TOKEN && $ANTHROPIC_API_KEY'
|
||||
when: manual
|
||||
allow_failure: true
|
||||
|
||||
pr-agent-chatgpt:
|
||||
<<: *other_checks_job
|
||||
image:
|
||||
name: registry.gitlab.isc.org/isc-projects/images/pr-agent:latest
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- cd /app
|
||||
- export MR_URL="$CI_MERGE_REQUEST_PROJECT_URL/-/merge_requests/$CI_MERGE_REQUEST_IID"
|
||||
- echo "MR_URL=$MR_URL"
|
||||
- export gitlab__url="$CI_SERVER_URL"
|
||||
- export gitlab__PERSONAL_ACCESS_TOKEN="$GITLAB_PERSONAL_ACCESS_TOKEN"
|
||||
- export config__add_repo_metadata=true
|
||||
- export config__add_repo_metadata_file_list="[\"CONTRIBUTING.md\"]"
|
||||
- export config__git_provider="gitlab"
|
||||
- export openai__key="$OPENAI_KEY"
|
||||
- export config__reasoning_effort="high"
|
||||
- python -m pr_agent.cli --pr_url="$MR_URL" review
|
||||
- python -m pr_agent.cli --pr_url="$MR_URL" improve
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == $CI_PROJECT_PATH && $GITLAB_PERSONAL_ACCESS_TOKEN && $OPENAI_KEY'
|
||||
when: manual
|
||||
allow_failure: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue