-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge_cachi2_sboms: rename to merge_sboms
Handles syft SBOMs as well now. Signed-off-by: Adam Cmiel <[email protected]>
- Loading branch information
Showing
17 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ set -o errexit -o nounset -o pipefail -o xtrace | |
# | ||
# It will generate cachi2 and syft SBOMs for a few sample repositories (and one | ||
# container image, for syft) and assemble them into a merged cachi2 SBOM and a | ||
# merged syft SBOM. You can then test the merge_cachi2_sboms.py script by merging | ||
# merged syft SBOM. You can then test the merge_sboms.py script by merging | ||
# the cachi2 SBOM with the syft SBOM. | ||
|
||
testdata_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd) | ||
|
@@ -90,4 +90,4 @@ syft ./syft-sboms --select-catalogers=+sbom-cataloger -o [email protected] | | |
postprocess_syft_cyclonedx > "$testdata_dir/syft.merged-by-syft.bom.json" | ||
|
||
printf "syft:%s\n" "$testdata_dir/syft-sboms"/* | | ||
xargs python "$testdata_dir/../merge_cachi2_sboms.py" > "$testdata_dir/syft.merged-by-us.bom.json" | ||
xargs python "$testdata_dir/../merge_sboms.py" > "$testdata_dir/syft.merged-by-us.bom.json" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters