Skip to content

Commit 2dd72fd

Browse files
author
Trong Nhan Mai
committed
chore: add --deps-resolution flag to SBOM test cases
1 parent c02e993 commit 2dd72fd

File tree

4 files changed

+5
-0
lines changed
  • tests/integration/cases

4 files changed

+5
-0
lines changed

tests/integration/cases/apache_maven_cyclonedx_sbom_tutorial/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ steps:
1515
command_args:
1616
- -purl
1717
- pkg:maven/org.apache.maven/[email protected]?type=pom
18+
- --deps-resolution
1819
sbom: sbom.json
1920
- name: Compare dependencies report.
2021
kind: compare

tests/integration/cases/apache_maven_sbom/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ steps:
2121
- master
2222
- -d
2323
- 3fc399318edef0d5ba593723a24fff64291d6f9b
24+
- --deps-resolution
2425
sbom: sbom.json
2526
- name: Compare dependency report
2627
kind: compare

tests/integration/cases/apache_maven_sbom_no_repo_tutorial/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ steps:
1515
command_args:
1616
- -purl
1717
- pkg:maven/private.apache.maven/[email protected]?type=pom
18+
- --deps-resolution
1819
sbom: sbom.json
1920
- name: Compare dependencies report.
2021
kind: compare

tests/integration/cases/django_with_dep_resolution_virtual_env_as_input/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ steps:
3030
- pkg:pypi/[email protected]
3131
- --python-venv
3232
- ./django_venv
33+
- --deps-resolution
3334
- name: Run macaron verify-policy to check the dependencies
3435
kind: verify
3536
options:
@@ -55,6 +56,7 @@ steps:
5556
- pkg:pypi/[email protected]
5657
- --python-venv
5758
- ./django_venv
59+
- --deps-resolution
5860
- name: Run macaron verify-policy to check for all transitive dependencies.
5961
kind: verify
6062
options:

0 commit comments

Comments
 (0)