17 Commits

Author SHA1 Message Date
Steve Kowalik
7668d27082 Also clone os-cloud-config in prepare_tripleo.sh
TripleO is in the process of moving scripts out of incubator and into
os-cloud-config, so it needs to be available in CI.

Change-Id: I7fa902426fb1e341b05e561050956874090f925a
2014-04-08 16:17:24 +10:00
Derek Higgins
0f7028e39a Prevent tripleo-bm-test network from setting DNS
On reboot DNS was being set to the IP of the test network dhcp. It
should be the DNS server set by the default network.

Change-Id: I6cc793f26e585e094914b666cdbd06b60b6fae3a
2014-03-27 14:37:45 +00:00
James E. Blair
1e21751a45 Fix tripelo-precise build script
The recent devstack-prereq refactoring made a wrong assumption
about the CWD of the script.  cd first.

Change-Id: Ib2210d00668df95c1d731b75f7dd6dc958729d4f
2014-03-21 17:09:02 -07:00
Elizabeth Krumbach Joseph
9c2d202a18 Only enable nodepool precise-backports on Ubuntu
In preparation for using Fedora with this script, only try to add
the precise-backports repo if we're using Ubuntu.

Fedora 20 has jq in the regular repos, so no Fedora version is
required.

Also fix permissions on install_devstack_dependencies.sh

Change-Id: I3544ddecb0e3ba9dc863f264d67669acd06616f3
2014-03-20 13:34:37 -07:00
Elizabeth Krumbach Joseph
b99ad2c412 Add support for Fedora 20 to nodepool
For TripleO, one of our test cases is a fully Fedora-driven test,
this adds support for Fedora as a nodepool VM by adding support
to prepare node scripts.

Also adding install_devstack_dependencies.sh for Ubuntu and Fedora
shared dependencies for DevStack (and TripleO) preparation scripts.

Change-Id: I7399cc4d4b6ec6f8598afa68bc99ebb24cb01f64
2014-03-11 15:36:19 -07:00
Robert Collins
9db70b388c Install libffi-dev needed for python-glanceclient
Change-Id: I9e1815c685d8cd3256a50a7e5a5966ec91eadc8a
2014-02-28 12:58:46 +13:00
Derek Higgins
2ed7e2a3ad Enable precise-backports on tripleo test nodes
This is needed so we can install jq.

Change-Id: I251892459b8bd30ff2e64dff5f8c151405694a1d
2014-01-28 09:10:23 +00:00
Derek Higgins
82933de8bc Add some dependencies required by toci
TripleO CI scripts require both os-apply-config and gear.

Change-Id: I9535c124bbf383bb2b7b01dbc7d17a0a7ceae269
2014-01-28 09:10:23 +00:00
Derek Higgins
c531f41138 Remove TRIPLEO_ROOT and pull-tools
tripleo-incubator hasn't been cloned at this point so we can't call
pull-tools, devtest_setup.sh will do this when the job runs. Removing
pull-tools means there is no longer a need for TRIPLEO_ROOT.

Change-Id: Id7b356c644894dbd6335423d81cb6f2d2261a2fb
2014-01-24 19:38:53 +13:00
Derek Higgins
78af1a45b4 Create a git cache for tripleo-gate.
This is a little redundant with prepare_devstack, but since we want to
migrate to /opt/git soon anyhow (so we aren't chasing new
repositories) I think this is fine. We also update prepare_devstack so
that it won't go off and cache the tripleo repos during test execution
time.

Change-Id: Id9706cf824b0b75fe11787a2612e75aa79c3507f
Co-Authored-By: Robert Collins <rbtcollins@hp.com>
2014-01-24 19:38:17 +13:00
Robert Collins
c0bf424833 Clamp MTU in TripleO instances
Due to bug 1270646 using the default MTU is an utter fail performance
wise.

Change-Id: Ic9bd9e431a9790a992f8c3146f3e2b659240679b
2014-01-20 13:13:40 +13:00
Robert Collins
69f9c72f41 Configure eth1 for DHCP in tripleo-gate instances
Because we like our networks working.

Change-Id: If6c6066727889e5bf327945e6b09d114b11c25fc
2014-01-20 13:08:22 +13:00
Robert Collins
e6dc5821f5 Improve tripleo nodepool image build efficiency.
Turns out there is a cache of git trees built. We can use that to
avoid some clones. There are more that can be saved - this is the low
hanging fruit (with a bug files and linked for the harder stuff).

Change-Id: Ib720db7b963a314ad28ef4287d7965c5c30f0883
2014-01-19 09:18:03 +13:00
James E. Blair
005581be50 Nodepool: cache all gerrit repos
Cache all review.openstack.org git repos in /opt/git.

Subsequent changes to gerrit-git-prep and devstack-gate will make
use of these repos (eventually deprecating the devstack-gate repos
is ~jenkins/workspace-cache).

Refactor the devstack cache python script a bit to make common
functions reusable.  Also rename it because underscores are better
than hyphens for python file names.

Change-Id: I4ae40613ebcca62b0dfc2eaba159557a4c71a529
2013-12-04 10:54:52 -08:00
Elizabeth Krumbach Joseph
699b049db7 Fix location of toci script in JJB and clone toci
Clone the toci script into the image when building it and
point to the correct place on the image to execute it.

Change-Id: I4c7f3c10274fd2a9a4e76abc07bdf41cc1a6b02d
2013-10-18 15:32:54 -07:00
Elizabeth Krumbach Joseph
fe8481c695 Fix failure to complete pull-tools in tripleo gate
The required TRIPLEO_ROOT envar was not included in initial version
of this script, so it failed.

With this patch I've confirmed that the build now completes and shows
up as "ready" in nodepool image-list.

Change-Id: I3006b8c0d55317e1640149e92f47bc265030087e
2013-10-15 17:56:23 -07:00
Elizabeth Krumbach Joseph
6fd82112e8 Add initial files for tripleo in the gate.
Add jenkins job builder tripleo script (based on pbr).

Add prepare_node_tripleo.sh which will be called by nodepool.

Add prepare_tripleo.sh script, based on the devstack script
but pulling in just the tripleo repositories with pull-tools
tripleo-incubator script.

Add tripleo stanza to nodepool itself.

Update site.pp with variables for tripleo authentication.

Add experimental pipeline to zuul's layout.yaml for this job on
tripleo-incubator.

Change-Id: I03433d08585ba3a783fe939264d7521cafa83e41
2013-10-07 12:50:21 -07:00