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
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
The recent devstack-prereq refactoring made a wrong assumption
about the CWD of the script. cd first.
Change-Id: Ib2210d00668df95c1d731b75f7dd6dc958729d4f
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
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
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
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>
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
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
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
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
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