예제 #1
0
파일: review_app.py 프로젝트: artsy/hokusai
def run(app_name, command, tty, tag, env, constraint, verbose):
    """Launch a new container and run a command"""
    set_verbosity(verbose)
    if tag is None:
        tag = clean_string(app_name)
    hokusai.run(KUBE_CONTEXT,
                command,
                tty,
                tag,
                env,
                constraint,
                namespace=clean_string(app_name))
예제 #2
0
파일: staging.py 프로젝트: artsy/hokusai
def run(command, tty, tag, env, constraint, verbose):
    """Launch a new container and run a command"""
    set_verbosity(verbose)
    hokusai.run(KUBE_CONTEXT, command, tty, tag, env, constraint)