Implement checksum calculation

This commit is contained in:
erik 2023-08-11 14:38:41 +02:00
parent 935baa9932
commit 337a790044
3 changed files with 6 additions and 1 deletions

View file

@ -88,6 +88,7 @@ classDiagram
release_type release_type
release_main_branch release_main_branch
release_current_branch release_current_branch
release_artifacts
} }
class Credentials { class Credentials {
<<AggregateRoot>> <<AggregateRoot>>

View file

@ -61,7 +61,8 @@ class ReleaseService:
self.git_api.push_follow_tags() self.git_api.push_follow_tags()
def publish_artifacts(self, release: Release): def publish_artifacts(self, release: Release):
self.artifact_deployment_api.calculate_checksums(artifact_path=) for artifact_path in release.release_artifacts:
self.artifact_deployment_api.calculate_checksums(artifact_path)
# create release # create release
# add artifacts to release # add artifacts to release
pass pass

View file

@ -17,6 +17,9 @@ class Release(Validateable):
self.release_primary_build_file = inp.get( self.release_primary_build_file = inp.get(
"release_primary_build_file", "./project.clj" "release_primary_build_file", "./project.clj"
) )
self.release_artifacts = inp.get(
"release_artifacts", []
)
self.release_secondary_build_files = inp.get( self.release_secondary_build_files = inp.get(
"release_secondary_build_files", [] "release_secondary_build_files", []
) )