with new structure we can clean up storage
This commit is contained in:
parent
5ce6e6c0cb
commit
462be0d49a
1 changed files with 5 additions and 6 deletions
|
@ -4,6 +4,7 @@ from os import chmod
|
|||
from subprocess import run
|
||||
from pkg_resources import resource_string
|
||||
import yaml
|
||||
import deprecation
|
||||
from ..domain import Devops, Image, C4k, Release
|
||||
from ..python_util import execute
|
||||
|
||||
|
@ -18,21 +19,19 @@ class ProjectRepository:
|
|||
def set_devops(self, project, build: Devops):
|
||||
project.set_property("build", build)
|
||||
|
||||
def get_docker(self, project) -> Image:
|
||||
return project.get_property("docker_build")
|
||||
|
||||
def set_docker(self, project, build: Image):
|
||||
project.set_property("docker_build", build)
|
||||
|
||||
@deprecation.deprecated(deprecated_in="3.2")
|
||||
def get_c4k(self, project) -> C4k:
|
||||
return project.get_property("c4k_build")
|
||||
|
||||
@deprecation.deprecated(deprecated_in="3.2")
|
||||
def set_c4k(self, project, build: C4k):
|
||||
project.set_property("c4k_build", build)
|
||||
|
||||
@deprecation.deprecated(deprecated_in="3.2")
|
||||
def get_release(self, project) -> Release:
|
||||
return project.get_property("release_build")
|
||||
|
||||
@deprecation.deprecated(deprecated_in="3.2")
|
||||
def set_release(self, project, build: Release):
|
||||
project.set_property("release_build", build)
|
||||
|
||||
|
|
Loading…
Reference in a new issue