Simpler sha calc command
This commit is contained in:
parent
369f62ff38
commit
935baa9932
1 changed files with 3 additions and 2 deletions
|
@ -232,5 +232,6 @@ class ArtifactDeploymentApi:
|
|||
+ f'-F "attachment=@{attachment};type={attachment_type}"')
|
||||
|
||||
def calculate_checksums(self, artifact_path: str):
|
||||
self.execution_api.execute(f"find {artifact_path} -type f -exec sha256sum {{}}; | sort > {artifact_path} sha256sum.lst")
|
||||
self.execution_api.execute(f"find {artifact_path} -type f -exec sha512sum {{}}; | sort > {artifact_path} sha512sum.lst")
|
||||
# self.execution_api.execute(f"find {artifact_path} -type f -exec sha256sum {{}}; | sort > {artifact_path} sha256sum.lst") relevant für provs
|
||||
self.execution_api(f"sha256sum {artifact_path} > {artifact_path}.sha256",)
|
||||
self.execution_api(f"sha512sum {artifact_path} > {artifact_path}.sha512",)
|
||||
|
|
Loading…
Reference in a new issue