Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .tekton/on-cm-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ metadata:
spec:
timeouts:
pipeline: 10h30m0s # Timeout for the entire PipelineRun

podTemplate:
imagePullSecrets:
- name: ecosystem-appeng-morpheus-quay
params:
- name: repo_url
value: "{{ repo_url }}"
Expand All @@ -26,7 +30,7 @@ spec:
value: "{{ trigger_comment }}"
# Point to the image ALREADY built by the PR pipeline
- name: target-image
value: quay.io/ecosystem-appeng/agent-morpheus-rh:on-pr-{{revision}}
value: quay.io/ecosystem-appeng/agent-morpheus-rh:latest

pipelineSpec:
params:
Expand Down Expand Up @@ -76,6 +80,8 @@ spec:
workspace: basic-auth # Needed for pushing tags/releases
- name: exploit-iq-data
workspace: exploit-iq-data
- name: dockerconfig
workspace: dockerconfig-ws
params:
- name: CURRENT_REVISION
value: $(params.revision)
Expand Down Expand Up @@ -441,3 +447,6 @@ spec:
- name: exploit-iq-data
persistentVolumeClaim:
claimName: exploit-iq-cach-pvc
- name: dockerconfig-ws
secret:
secretName: ecosystem-appeng-morpheus-quay
2 changes: 1 addition & 1 deletion .tekton/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
- name: name
value: buildah-pvc
- name: namespace
value: ruben-morpheus
value: exploit-iq-tests
workspaces:
- name: source
workspace: source
Expand Down
2 changes: 1 addition & 1 deletion .tekton/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
- name: name
value: buildah-pvc
- name: namespace
value: ruben-morpheus
value: exploit-iq-tests
workspaces:
- name: source
workspace: source
Expand Down
2 changes: 1 addition & 1 deletion .tekton/on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
- name: name
value: buildah-pvc
- name: namespace
value: ruben-morpheus
value: exploit-iq-tests
workspaces:
- name: source
workspace: source
Expand Down
2 changes: 1 addition & 1 deletion .tekton/tasks/buildah-task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: tekton.dev/v1
kind: Task
metadata:
name: buildah-pvc
namespace: ruben-morpheus
namespace: exploit-iq-tests

spec:
description: |
Expand Down
2 changes: 1 addition & 1 deletion src/vuln_analysis/utils/prompting.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def build_tool_descriptions(tool_names: list[str]) -> list[str]:
from vuln_analysis.tools.tool_names import ToolNames

descriptions = []

#need to fix here
if ToolNames.CODE_SEMANTIC_SEARCH in tool_names:
descriptions.append(
f"{ToolNames.CODE_SEMANTIC_SEARCH}: Searches source code using semantic understanding"
Expand Down