Compare commits
2 commits
9c9676b5b8
...
8855a2c6b6
Author | SHA1 | Date | |
---|---|---|---|
8855a2c6b6 | |||
24e8f65aaf |
3 changed files with 3 additions and 7 deletions
|
@ -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():
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
@ -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():
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue