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
41 changes: 41 additions & 0 deletions .tekton/on-cm-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,47 @@ spec:

echo "--- Release Process Complete ---"

finally:
- name: post-cm-evaluation
when:
- input: $(tasks.integration-test.status)
operator: in
values:
- Succeeded
- Failed
params:
- name: INTEGRATION_TEST_STATUS
value: $(tasks.integration-test.status)
taskSpec:
params:
- name: INTEGRATION_TEST_STATUS
type: string
steps:
- name: report
image: quay.io/ecosystem-appeng/cve-evaluation:latest
env:
- name: EXPLOIT_IQ_API_BASE
valueFrom:
configMapKeyRef:
name: evaluation-config
key: EXPLOIT_IQ_API_BASE
- name: EXPLOIT_IQ_API_TOKEN
valueFrom:
secretKeyRef:
name: evaluation-secret
key: EXPLOIT_IQ_API_TOKEN
- name: NGC_API_KEY
valueFrom:
secretKeyRef:
name: evaluation-secret
key: NGC_API_KEY
args:
- --mode
- api
- --stages
- all
- --submit

# ------------------------------------------------
# WORKSPACE BINDINGS
# ------------------------------------------------
Expand Down
42 changes: 42 additions & 0 deletions .tekton/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ spec:
make lint-pr TARGET_BRANCH=$TARGET_BRANCH_NAME



print_banner "RUNNING UNIT TESTS"
make test-unit PYTEST_OPTS="--log-cli-level=DEBUG"

Expand Down Expand Up @@ -476,6 +477,47 @@ spec:

echo "--- INTEGRATION TESTS FINISHED SUCCESSFULLY ---"

finally:
- name: post-integration-evaluation
when:
- input: $(tasks.integration-test.status)
operator: in
values:
- Succeeded
- Failed
params:
- name: INTEGRATION_TEST_STATUS
value: $(tasks.integration-test.status)
taskSpec:
params:
- name: INTEGRATION_TEST_STATUS
type: string
steps:
- name: report
image: quay.io/ecosystem-appeng/cve-evaluation:latest
env:
- name: EXPLOIT_IQ_API_BASE
valueFrom:
configMapKeyRef:
name: evaluation-config
key: EXPLOIT_IQ_API_BASE
- name: EXPLOIT_IQ_API_TOKEN
valueFrom:
secretKeyRef:
name: evaluation-secret
key: EXPLOIT_IQ_API_TOKEN
- name: NGC_API_KEY
valueFrom:
secretKeyRef:
name: evaluation-secret
key: NGC_API_KEY
args:
- --mode
- api
- --stages
- all
- --submit


workspaces:
- name: source
Expand Down
2 changes: 1 addition & 1 deletion src/vuln_analysis/tools/lexical_full_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

logger = LoggingFactory.get_agent_logger(__name__)


#add documentation for the tool sort main reasults to dependencies ,next
class LexicalSearchToolConfig(FunctionBaseConfig, name=LEXICAL_CODE_SEARCH):
"""
Lexical search tool used to search source code.
Expand Down