blob: 0e17cca3a5b5b45ec53cdc001a4c426c6ab81a07 [file] [log] [blame] [view]
Dennis Dmitriev6f59add2016-10-18 13:45:27 +03001# tcpcloud-devops-env
2
3This template requires 20 vCPU and 52Gb host RAM.
4
5Clone the repo
6--------------
7
8git clone https://github.com/dis-xcom/tcpcloud-devops-env
9
10cd ./tcpcloud-devops-env
11
12Install requirements
13--------------------
14
15pip install -r ./requirements.txt
16
17Initialize fuel-devops database if needed:
18------------------------------------------
19
20dos-manage.py migrate
21
22Get cloudinit image
23-------------------
24
25wget https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img -O ./trusty-server-cloudimg-amd64.qcow2
26
27Export variables
28----------------
29
30export ENV_NAME=tcpcloud-mk20 # Optional
31
32export IMAGE_PATH=./trusty-server-cloudimg-amd64.qcow2
33
34Run deploy test
35-----------------------------------------
36export WORKSPACE=$(pwd)
37export SUSPEND_ENV_ON_TEARDOWN=false # Optional
38
39py.test -vvv -s -k test_tcp_install_default
40
41
42
43
44Create and start the env for manual tests
45-----------------------------------------
46
47dos.py create-env ./tcpcloud-wk20.yaml
48
49dos.py start "${ENV_NAME}"
50
51
52Then, wait until cloud-init is finished and port 22 is open (~3-4 minutes), and login with ' vagrant / vagrant '.