コード例 #1
0
def binary_container_exit(task_args: dict):
    """Run binary container exit steps.

    :param task_args: CLI arguments for a binary-container-exit task
    """
    params = TaskParams.from_cli_args(task_args)
    task = BinaryExitTask(params)
    return task.run(init_build_dirs=True)
コード例 #2
0
def binary_container_prebuild(task_args: dict):
    """Run binary container pre-build steps.

    :param task_args: CLI arguments for a binary-container-prebuild task
    """
    params = TaskParams.from_cli_args(task_args)
    task = BinaryPreBuildTask(params)
    return task.run()
コード例 #3
0
def binary_container_postbuild(task_args: dict):
    """Run binary container post-build steps.

    :param task_args: CLI arguments for a binary-container-postbuild task
    """
    params = TaskParams.from_cli_args(task_args)
    task = BinaryPostBuildTask(params)
    return task.run(init_build_dirs=True)
コード例 #4
0
def clone(task_args: dict):
    """Clone source to build.

    :param task_args: CLI arguments for a clone task
    """
    params = TaskParams.from_cli_args(task_args)
    task = CloneTask(params)
    return task.run()