You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
778 B
19 lines
778 B
# Copyright 2015 The Chromium Authors. All rights reserved. |
|
# Use of this source code is governed by a BSD-style license that can be |
|
# found in the LICENSE file. |
|
|
|
"""This module provides some tools to interact with LXC containers, for example: |
|
1. Download base container from given GS location, setup the base container. |
|
2. Create a snapshot as test container from base container. |
|
3. Mount a directory in drone to the test container. |
|
4. Run a command in the container and return the output. |
|
5. Cleanup, e.g., destroy the container. |
|
""" |
|
|
|
from constants import * |
|
from container import Container |
|
from container_bucket import ContainerBucket |
|
from lxc import install_package |
|
from lxc import install_packages |
|
from lxc import install_python_package |
|
from zygote import Zygote
|
|
|