Пример #1
0
def deploy(tag, migration, constraint, git_remote, timeout, verbose):
    """Update the project's deployment(s) to reference
  the given image tag and update the tag staging
  to reference the same image"""
    set_verbosity(verbose)
    hokusai.update(KUBE_CONTEXT, tag, migration, constraint, git_remote,
                   timeout)
Пример #2
0
def deploy(app_name, tag, migration, constraint, git_remote, verbose):
    """Update the project's deployment(s) to reference the given image tag"""
    set_verbosity(verbose)
    hokusai.update(KUBE_CONTEXT,
                   tag,
                   migration,
                   constraint,
                   git_remote,
                   namespace=clean_string(app_name),
                   resolve_tag_sha1=False)
Пример #3
0
def deploy(app_name, tag, migration, constraint, git_remote, timeout,
           update_config, verbose):
    """Update the project's deployment(s) to reference the given image tag"""
    set_verbosity(verbose)
    hokusai.update(KUBE_CONTEXT,
                   tag,
                   migration,
                   constraint,
                   git_remote,
                   timeout,
                   namespace=clean_string(app_name),
                   update_config=update_config,
                   filename=os.path.join(CWD, HOKUSAI_CONFIG_DIR,
                                         "%s.yml" % app_name))
Пример #4
0
def deploy(tag, migration, constraint, git_remote, timeout, update_config,
           filename, verbose):
    """Update the project's deployment(s) to reference
  the given image tag and update the tag production
  to reference the same image"""
    set_verbosity(verbose)
    hokusai.update(KUBE_CONTEXT,
                   tag,
                   migration,
                   constraint,
                   git_remote,
                   timeout,
                   update_config=update_config,
                   filename=filename)
Пример #5
0
def deploy(tag, migration, constraint, verbose):
  """Update the project's deployment(s) to reference
  the given image tag and update the tag production
  to reference the same image"""
  set_verbosity(verbose)
  hokusai.update(KUBE_CONTEXT, tag, migration, constraint)