3 Commits

Author SHA1 Message Date
Adam Gandelman
617919da41 Pre-cache UCA packages during nodepool img build
While caching packages required by devstack, temporarily enable
the Ubuntu Cloud Archive for specified pockets and do additional
deb package caching.  This will pre-cache UCA versions of devstack
dependencies alongside the standard 12.04 requirements. After they
have been cached, the repository access is removed.  This allows
standard devstack jobs to use the vanilla 12.04 packages as usual,
and jobs that require UCA can enable it and use it without hitting
the network for either the GPG key or the packages.

Change-Id: I1cad663a71a3129dc97347dd4d39a760e432aff2
Closes-bug: #1329430.
2014-06-12 15:56:19 -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