aboutsummaryrefslogtreecommitdiff
path: root/tools/setup_gate.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-02-22Add elasticsearch repo to gateSamYaple1-0/+1
TrivialFix Change-Id: I0f083654df901fb765e9517308ac94316859d971
2016-02-18Launch VM in gateSamYaple1-1/+2
Change-Id: I18b1015ca62a352e193ef01bd49cd6d6f9372193 Partially-Implements: blueprint functional-testing-gate
2016-02-12Fix detect_distroSamYaple1-5/+8
It was run before ansible was installed and did not properly fail. This prevented the mirrors for apt from being properly used. TrivialFix Change-Id: I5331020993b62c8635a4a97dc3a3d2e01e3d4360
2016-02-08Use Infra provided mirrors in gateSamYaple1-1/+18
Both apt and pip mirrors are added here Related-Id: I26f5fc5cec224cf4f4ea361e0f71cecbf320fbb0 TrivialFix Change-Id: Ib3cb1d2c6fb27887e3ea819d277e21ea3a530f56
2016-01-21Convert gate to file backend rather than partitionSamYaple1-0/+92
The existing gate partitioned a disk for use with docker, depending on the gate it would use the swap disk (RAX) or a spare disk (HP). However, with the new gates (Bluebox + OVH) there is neither a spare disk nor a swap disk. This leaves us with one choice: File based loop device. This patch creates a file at /swapfile to ensure we have swap. It creates a file at /docker to ensure we have a loop device for Docker. Right now the /docker file is 10GB and the /swapfile is 4GB due to size limitations in the gate across all servers and types. This has proven to be enough space for all our current tests. Additionally, reduce the number of threads the gate uses to 4 to prevent the lockup and hour timeout we have been seeing as more recently in the gate. The scripts that setup the gate are moved to the tools directory rather than the tests directory to match the structure of the other projects. Partially-Implements: blueprint functional-testing-gate Change-Id: I3e370f2382b6df36103d8b2ceda9b21d9b4229d5