Skip to content

Commit

Permalink
Save progress
Browse files Browse the repository at this point in the history
  • Loading branch information
irux committed Oct 24, 2023
1 parent 542c16a commit 5e772b1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
1 change: 0 additions & 1 deletion kpops/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ def deploy(
verbose: bool = VERBOSE_OPTION,
):
async def deploy_runner(component: PipelineComponent):
print("Entre en runner de ", component.name )
await component.deploy(dry_run)

async def async_deploy():
Expand Down
6 changes: 4 additions & 2 deletions kpops/component_handlers/helm_wrapper/helm.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def __init__(self, helm_config: HelmConfig) -> None:
msg = f"The supported Helm version is 3.x.x. The current Helm version is {self._version.major}.{self._version.minor}.{self._version.patch}"
raise RuntimeError(msg)



def add_repo(
self,
repository_name: str,
Expand Down Expand Up @@ -71,7 +73,7 @@ def add_repo(
else:
self.__execute(["helm", "repo", "update"])

def upgrade_install(
async def upgrade_install(
self,
release_name: str,
chart: str,
Expand Down Expand Up @@ -102,7 +104,7 @@ def upgrade_install(
command.append("--dry-run")
return self.__execute(command)

def uninstall(
async def uninstall(
self,
namespace: str,
release_name: str,
Expand Down
2 changes: 0 additions & 2 deletions kpops/pipeline_generator/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ def __init__(
self.parse_components(component_list)
self.components.generate_graph()
self.validate()
print("Este es graph")
print(self.components.graph.nodes)

@classmethod
def load_from_yaml(
Expand Down
21 changes: 21 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import asyncio


async def hello():
print("Testing")


async def long():
return "this is long"


def otherThing():
loop = asyncio.run(long())


async def main():
await hello()
otherThing()
await hello()

asyncio.run(main())

0 comments on commit 5e772b1

Please sign in to comment.