Compare commits
No commits in common. "e6450b796fe8a2b7c9141561bb9a16a2d78fc252" and "2e5e1ea0ee3b7980f81133ae6477bf15aaad5859" have entirely different histories.
e6450b796f
...
2e5e1ea0ee
2 changed files with 1 additions and 21 deletions
|
@ -1,15 +0,0 @@
|
|||
from ..infrastructure import GitApi
|
||||
|
||||
|
||||
class ArtifactDeploymentService:
|
||||
def __init__(self, git_api: GitApi):
|
||||
self.git_api = git_api
|
||||
|
||||
@classmethod
|
||||
def prod(cls):
|
||||
return cls(
|
||||
GitApi(),
|
||||
)
|
||||
|
||||
# def __get_base_artifact_release_url(self, base_url: str, organization: str, name: str) -> str:
|
||||
# return f"{base_url}/{organization}/{name}/releases"
|
|
@ -1,6 +1,5 @@
|
|||
from pybuilder.core import Project
|
||||
from .devops_build import DevopsBuild
|
||||
from .domain import MixinType
|
||||
|
||||
# """
|
||||
# Functional Req:
|
||||
|
@ -47,7 +46,7 @@ from .domain import MixinType
|
|||
# generate sha256 sums & generate sha512 sums of results of [-1]
|
||||
|
||||
# [6]
|
||||
# push results of [-1] & [5] to [0]/[4]/assets
|
||||
# push results of [-1] & [5] to [0]/[4]
|
||||
|
||||
# """
|
||||
|
||||
|
@ -55,7 +54,3 @@ from .domain import MixinType
|
|||
class ArtifactDeploymentMixin(DevopsBuild):
|
||||
def __init__(self, project: Project, inp: dict):
|
||||
super().__init__(project, inp)
|
||||
devops = self.devops_repo.get_devops(self.project)
|
||||
if MixinType.ARTIFACT_DEPLOYMENT not in devops.mixins: # TODO: Check for Release mixin as well
|
||||
raise ValueError("ArtifactDeploymentMixin requires MixinType.ARTIFACT_DEPLOYMENT")
|
||||
self.base_url = 'https://repo.prod.meissa.de/api/v1/repos/'
|
||||
|
|
Loading…
Reference in a new issue