Skip to content

Commit

Permalink
SDK/PythonContainer - Compiling pipelines without needing kubernetes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Dec 3, 2018
1 parent b0461f5 commit e0a2cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/compiler/_component_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from pathlib import PurePath, Path
from .. import dsl
from ..components._components import _create_task_factory_from_component_spec
from ._k8s_helper import K8sHelper

class GCSHelper(object):
""" GCSHelper manages the connection with the GCS storage """
Expand Down Expand Up @@ -353,6 +352,7 @@ def _build_image_from_tarball(self, local_tarball_path, namespace, timeout):
target_image=self._target_image)
# Run kaniko job
logging.info('Start a kaniko job for build.')
from ._k8s_helper import K8sHelper
k8s_helper = K8sHelper()
k8s_helper.run_job(kaniko_spec, timeout)
logging.info('Kaniko job complete.')
Expand Down

0 comments on commit e0a2cf6

Please sign in to comment.