diff --git a/.tekton/on-cm-runner.yaml b/.tekton/on-cm-runner.yaml index 08e308c7..f8631787 100644 --- a/.tekton/on-cm-runner.yaml +++ b/.tekton/on-cm-runner.yaml @@ -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 }}" @@ -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: @@ -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) @@ -441,3 +447,6 @@ spec: - name: exploit-iq-data persistentVolumeClaim: claimName: exploit-iq-cach-pvc + - name: dockerconfig-ws + secret: + secretName: ecosystem-appeng-morpheus-quay diff --git a/.tekton/on-pull-request.yaml b/.tekton/on-pull-request.yaml index 9ae42742..00d714fb 100644 --- a/.tekton/on-pull-request.yaml +++ b/.tekton/on-pull-request.yaml @@ -113,7 +113,7 @@ spec: - name: name value: buildah-pvc - name: namespace - value: ruben-morpheus + value: exploit-iq-tests workspaces: - name: source workspace: source diff --git a/.tekton/on-push.yaml b/.tekton/on-push.yaml index 47fc2680..e597bfac 100644 --- a/.tekton/on-push.yaml +++ b/.tekton/on-push.yaml @@ -103,7 +103,7 @@ spec: - name: name value: buildah-pvc - name: namespace - value: ruben-morpheus + value: exploit-iq-tests workspaces: - name: source workspace: source diff --git a/.tekton/on-tag.yaml b/.tekton/on-tag.yaml index fd27734f..a820663d 100644 --- a/.tekton/on-tag.yaml +++ b/.tekton/on-tag.yaml @@ -132,7 +132,7 @@ spec: - name: name value: buildah-pvc - name: namespace - value: ruben-morpheus + value: exploit-iq-tests workspaces: - name: source workspace: source diff --git a/.tekton/tasks/buildah-task.yaml b/.tekton/tasks/buildah-task.yaml index 60f9a43a..f8bda83c 100644 --- a/.tekton/tasks/buildah-task.yaml +++ b/.tekton/tasks/buildah-task.yaml @@ -2,7 +2,7 @@ apiVersion: tekton.dev/v1 kind: Task metadata: name: buildah-pvc - namespace: ruben-morpheus + namespace: exploit-iq-tests spec: description: | diff --git a/src/vuln_analysis/utils/prompting.py b/src/vuln_analysis/utils/prompting.py index 45837e0c..7e48b849 100644 --- a/src/vuln_analysis/utils/prompting.py +++ b/src/vuln_analysis/utils/prompting.py @@ -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"