Add basic artifact service
This commit is contained in:
parent
c15503b7a0
commit
e6450b796f
1 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
||||||
|
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"
|
Loading…
Reference in a new issue