Generate software bill of materials as part of the package builds. #3702

This commit is contained in:
Khushboo Vashi
2023-08-03 16:08:59 +05:30
parent 1a7a23de3f
commit 48bfc66048
7 changed files with 22 additions and 1 deletions
+4
View File
@@ -27,6 +27,7 @@ CALL :CREATE_VIRTUAL_ENV || EXIT /B 1
CALL :CREATE_PYTHON_ENV || EXIT /B 1
CALL :CREATE_RUNTIME_ENV || EXIT /B 1
CALL :CREATE_INSTALLER || EXIT /B 1
CALL :GENERATE_SBOM || EXIT /B 1
CALL :SIGN_INSTALLER || EXIT /B 1
EXIT /B %ERRORLEVEL%
@@ -355,6 +356,9 @@ REM Main build sequence Ends
CD %WD%
EXIT /B 0
:GENERATE_SBOM
ECHO Generating SBOM...
syft "%DISTROOT%\" -o cyclonedx-json > "%DISTROOT%\cyclonedx.json"
:SIGN_INSTALLER
ECHO Attempting to sign the installer...