Compare commits
No commits in common. "8855a2c6b605095adbe1a93a76256bdb0aef72ec" and "9c9676b5b84303a0809faa6a77735c4a0d040205" have entirely different histories.
8855a2c6b6
...
9c9676b5b8
3 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
from domain import Release, Version, ReleaseType
|
||||
from infrastructure_api import FileHandler
|
||||
from infrastructure_api import FileHandler, SystemAPI, GitApi
|
||||
from pathlib import Path
|
||||
|
||||
class VersionRepository():
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ from ddadevops import execute
|
|||
from ddadevops import gopass_field_from_path, gopass_password_from_path
|
||||
from infrastructure import GitApi, ReleaseRepository, ReleaseTypeRepository, VersionRepository
|
||||
from services import PrepareReleaseService, TagAndPushReleaseService
|
||||
from domain import ReleaseType, Version
|
||||
|
||||
def create_release_mixin_config(config_file, main_branch) -> dict:
|
||||
config = {}
|
||||
|
@ -33,6 +34,7 @@ class ReleaseMixin(DevopsBuild):
|
|||
|
||||
def prepare_release(self):
|
||||
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_bump()
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
from infrastructure import ReleaseRepository, GitApi
|
||||
from domain import Version, Release
|
||||
from pathlib import Path
|
||||
from infrastructure import VersionRepository, ReleaseRepository, GitApi
|
||||
from domain import Version, ReleaseType, Release
|
||||
|
||||
class PrepareReleaseService():
|
||||
|
||||
|
|
Loading…
Reference in a new issue