Closed de-jcup closed 2 weeks ago
DOWNLOAD_FOLDER
(not necessary)HELPER_FOLDER
only used by findsecuritybugs(prod), pds-base (mock),
scancode (prod + mock), tern (mock)MOCK_FOLDER
has every product mock but no real productPDS_VERSION
only used by scancode for outputPDS_FOLDER
not used by any shell scriptSCRIPT_FOLDER
used by pmd and gitleaksSHARED_VOLUMES
not used by any shell scriptSHARED_VOLUME_UPLOAD_DIR
only used by base script for storage calculation but not necessary for dedicated solutionTOOL_FOLDER
added to all real productsWORKSPACE
is only used internally by pds base to setup PDS parameter
Situation
With
3142
3220
we reduced the visiblity/ stopped full inheritance for process environment variables.
But some PDS solutions need additional enviroment variables from the deployment side. E.g. pds solution for gosec needs the
TOOL_FOLDER
variable to find gosec - but crashes nowWanted
All PDS solutions shall work again
Solution
Inside the solutions pds base image we have following environment entries: