コード例 #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
ファイル: review_app.py プロジェクト: opsbay/hokusai
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
ファイル: review_app.py プロジェクト: artsy/hokusai
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
ファイル: production.py プロジェクト: rm3l/hokusai
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
ファイル: production.py プロジェクト: starsirius/hokusai
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)