ScriptCollection 4.3.63__py3-none-any.whl → 4.4.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ScriptCollection/AnionBuildPlatform.py +205 -205
- ScriptCollection/CertificateUpdater.py +157 -155
- ScriptCollection/Executables.py +4 -2
- ScriptCollection/GeneralUtilities.py +1696 -1696
- ScriptCollection/OCIImages/OCIImageManager.py +278 -278
- ScriptCollection/ProcessesRunner.py +43 -43
- ScriptCollection/ProgramRunnerSudo.py +110 -110
- ScriptCollection/Resources/CultureChooser/CultureChooser.js +0 -0
- ScriptCollection/Resources/CultureChooser/index.html +0 -0
- ScriptCollection/Resources/Dependencies/JRE/Version.txt +0 -0
- ScriptCollection/Resources/Dependencies/OpenAPIGenerator/Version.txt +0 -0
- ScriptCollection/Resources/Dependencies/PlantUML/Version.txt +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans-Bold.ttf +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans-BoldOblique.ttf +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans-Oblique.ttf +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans.ttf +0 -0
- ScriptCollection/Resources/Fonts/LICENSE.txt +0 -0
- ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html +0 -0
- ScriptCollection/SCLog.py +115 -115
- ScriptCollection/ScriptCollectionCore.py +4372 -4292
- ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py +8 -2
- ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py +716 -709
- ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py +235 -235
- ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py +258 -258
- ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py +524 -524
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py +157 -155
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py +691 -672
- ScriptCollection/TFCPS/TFCPS_CreateRelease.py +98 -98
- ScriptCollection/TFCPS/TFCPS_Generic.py +44 -44
- ScriptCollection/TFCPS/TFCPS_MergeToMain.py +132 -131
- ScriptCollection/TFCPS/TFCPS_MergeToStable.py +358 -358
- ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py +48 -48
- ScriptCollection/TFCPS/TFCPS_Tools_General.py +38 -8
- {scriptcollection-4.3.63.dist-info → scriptcollection-4.4.0.dist-info}/METADATA +1 -1
- {scriptcollection-4.3.63.dist-info → scriptcollection-4.4.0.dist-info}/RECORD +27 -27
- {scriptcollection-4.3.63.dist-info → scriptcollection-4.4.0.dist-info}/WHEEL +0 -0
- {scriptcollection-4.3.63.dist-info → scriptcollection-4.4.0.dist-info}/entry_points.txt +0 -0
- {scriptcollection-4.3.63.dist-info → scriptcollection-4.4.0.dist-info}/top_level.txt +0 -0
|
@@ -64,7 +64,10 @@ class TFCPS_CodeUnitSpecific_Docker_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
64
64
|
# rather than into this job's BOM folder. stdout flows back through the docker client,
|
|
65
65
|
# so it works regardless of where the daemon runs. format_xml_file re-parses and
|
|
66
66
|
# rewrites the document, so the resulting file is byte-stable.
|
|
67
|
-
|
|
67
|
+
syft_image = self.tfcps_Tools_General.oci_image_manager.get_registry_address_for_image(self.get_repository_folder(), "Syft")
|
|
68
|
+
syft_image_tag = self.tfcps_Tools_General.oci_image_manager.get_tag_for_image(self.get_repository_folder(), "Syft")
|
|
69
|
+
self._protected_sc.docker_pull(syft_image, syft_image_tag)
|
|
70
|
+
syft_result = self._protected_sc.run_program_argsasarray("docker", ["run","--rm","-v","/var/run/docker.sock:/var/run/docker.sock",f"{syft_image}:{syft_image_tag}",f"{codeunitname_lower}:{codeunitversion}","-o","cyclonedx-xml"], artifacts_folder)
|
|
68
71
|
GeneralUtilities.write_text_to_file(sbom_file, syft_result[1])
|
|
69
72
|
self._protected_sc.format_xml_file(sbom_file)
|
|
70
73
|
|
|
@@ -230,7 +233,10 @@ class TFCPS_CodeUnitSpecific_Docker_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
230
233
|
# so it does not depend on the image under test providing curl. It is resolved via
|
|
231
234
|
# the image-manager (like Syft), so it is pulled from the configured registry and
|
|
232
235
|
# does not hit registry-rate-limits.
|
|
233
|
-
|
|
236
|
+
curl_image_address=self.tfcps_Tools_General.oci_image_manager.get_registry_address_for_image(self.get_repository_folder(),"Curl")
|
|
237
|
+
curl_image_tag=self.tfcps_Tools_General.oci_image_manager.get_tag_for_image(self.get_repository_folder(),"Curl")
|
|
238
|
+
self._protected_sc.docker_pull(curl_image_address,curl_image_tag)
|
|
239
|
+
curl_image=f"{curl_image_address}:{curl_image_tag}"
|
|
234
240
|
try:
|
|
235
241
|
last_exception:Exception=None
|
|
236
242
|
self._protected_sc.run_program("docker",argument)
|