Compare commits

..

2 commits

Author SHA1 Message Date
bom
8855a2c6b6 Remove unused imports 2023-03-02 15:08:41 +01:00
bom
24e8f65aaf Remove run_test line
Will not be implemented, as it is already run in CI beforehand
2023-03-02 15:07:31 +01:00
3 changed files with 3 additions and 7 deletions

View file

@ -1,6 +1,5 @@
from domain import Release, Version, ReleaseType from domain import Release, Version, ReleaseType
from infrastructure_api import FileHandler, SystemAPI, GitApi from infrastructure_api import FileHandler
from pathlib import Path
class VersionRepository(): class VersionRepository():

View file

@ -4,7 +4,6 @@ from ddadevops import execute
from ddadevops import gopass_field_from_path, gopass_password_from_path from ddadevops import gopass_field_from_path, gopass_password_from_path
from infrastructure import GitApi, ReleaseRepository, ReleaseTypeRepository, VersionRepository from infrastructure import GitApi, ReleaseRepository, ReleaseTypeRepository, VersionRepository
from services import PrepareReleaseService, TagAndPushReleaseService from services import PrepareReleaseService, TagAndPushReleaseService
from domain import ReleaseType, Version
def create_release_mixin_config(config_file, main_branch) -> dict: def create_release_mixin_config(config_file, main_branch) -> dict:
config = {} config = {}
@ -34,7 +33,6 @@ class ReleaseMixin(DevopsBuild):
def prepare_release(self): def prepare_release(self):
prepare_release_service = PrepareReleaseService(self.release_repo) prepare_release_service = PrepareReleaseService(self.release_repo)
# prepare_release_service.run_tests() # not implemented
prepare_release_service.write_and_commit_release() prepare_release_service.write_and_commit_release()
prepare_release_service.write_and_commit_bump() prepare_release_service.write_and_commit_bump()

View file

@ -1,6 +1,5 @@
from pathlib import Path from infrastructure import ReleaseRepository, GitApi
from infrastructure import VersionRepository, ReleaseRepository, GitApi from domain import Version, Release
from domain import Version, ReleaseType, Release
class PrepareReleaseService(): class PrepareReleaseService():