setup_slave.py 342 Bytes
Newer Older
Ilias Tsitsimpis's avatar
Ilias Tsitsimpis committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python

"""
Setup slave server
"""

from utils import SynnefoCI


def setup_slave():
    """Setup slave server"""
    synnefo_ci = SynnefoCI(cleanup_config=True)
    # Build slave server
    synnefo_ci.create_server()
    # Copy synnefo repo to server
    synnefo_ci.clone_repo()


if __name__ == "__main__":
    setup_slave()