Kevin Carter 8d2e5f62a7 Implement shippable venvs
The change builds venvs in a single repo container and then
ships them to to all targets. The built venvs will be within
the repo servers and will allow for faster deployments,
upgrades, and more consistent deployments for the life cycle
of the deployment.

This will create a versioned tarball that will allow for
greater visablility into the build process as well as giving
deployers/developers the ability to compair a release in
place.

Change-Id: Ieef0b89ebc009d1453c99e19e53a36eb2d70edae
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-10-22 18:35:17 -05:00

93 lines
2.1 KiB
YAML

---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# If ``repo_nginx_threads`` is unset the system will use half the number of available VCPUS to
# compute the number of api workers to use.
# repo_nginx_threads: 16
# Defines that the role will be deployed on a host machine
is_metal: true
repo_worker_connections: 1024
repo_server_name: openstack-slushee
repo_service_home_folder: /var/www
repo_service_user_name: nginx
repo_service_group_name: www-data
repo_auto_rebuild: false
repo_memcached_servers: "{% for host in groups['repo_all'] %}{{ hostvars[host]['ansible_ssh_host'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}"
# If you want to regenerate the repo users SSH keys, on each run, set this var to True
# Otherwise keys will be generated on the first run and not regenerated each run.
repo_recreate_keys: False
repo_apt_packages:
- aptitude
- bridge-utils
- build-essential
- cgroup-lite
- cmake
- dmeventd
- fcgiwrap
- git-core
- iptables
- lsyncd
- lynx
- nginx-extras
- rsync
- sshpass
- tmux
- liberasurecode1
- liberasurecode-dev
- libldap2-dev
- libsasl2-dev
- libssl-dev
- libxslt1.1
- libpq-dev
- libffi-dev
- libsqlite3-dev
- libxml2-dev
- libxslt1-dev
- libkmod-dev
- libkrb5-dev
- libkmod2
- libvirt-dev
- libmysqlclient-dev
- lxc-dev
- lvm2
- python-dev
- python-software-properties
- sqlite3
- swig
- vlan
- uuid-dev
repo_pip_packages:
- cloudlib
- PyCrypto
- python-memcached
- PyYAML
- requests
- turbolift
- wheel
- yaprt
- virtualenv
- virtualenv-tools
# Main web server port
repo_server_port: 8181