openstack-ansible-repo_build/defaults/main.yml

79 lines
2.7 KiB
YAML

---
# Copyright 2015, 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.
repo_build_use_upper_constraints: true
repo_build_service_user_name: "nginx"
repo_build_global_links_path: "/var/www/repo/links"
repo_build_release_path: "/var/www/repo/os-releases"
repo_build_dir: "/tmp/openstack-builder"
repo_build_output: "/tmp/openstack-wheel-output"
repo_build_git_dir: "/var/www/repo/openstackgit"
repo_build_pool_dir: "/var/www/repo/pools"
repo_build_release_tag: "untagged"
## APT Cache options
cache_timeout: 600
repo_build_apt_packages:
- build-essential
- cmake
- git
- liberasurecode-dev # required to build pyeclib
- libffi-dev # required to build xattr
- libjpeg-dev # required to build pillow
- libkrb5-dev # required to build pykerberos
- libldap2-dev # required to build python-ldap
- libmariadbclient-dev # required to build MySQL-python
- libpq-dev # required to build psycopg2
- libsasl2-dev # required to build python-ldap
- libsqlite3-dev # required to build pysqlite
- libssl-dev # required to build cryptography
- libvirt-dev # required to build libvirt-python
- libxslt1-dev # required to build lxml
- lxc-dev # required to build lxc-python2
- python-dev
- swig
repo_build_pip_default_index: "https://pypi.python.org/simple"
repo_build_pip_extra_indexes:
- "https://pypi.python.org/simple"
# TODO(odyssey4me): Deprecate this var for Mitaka & mark for removal
# in Newton.
# repo_build_pip_extra_index: "https://pypi.python.org/simple"
repo_build_timeout: 120
repo_build_concurrency: "{{ ansible_processor_count | default(5) }}"
repo_build_venv_build_dir: "/tmp/openstack-venv-builder"
repo_build_venv_dir: "/var/www/repo/venvs"
repo_build_venv_pip_install_options: >
--timeout 120
--find-links {{ repo_build_release_path }}/{{ repo_build_release_tag }}
--no-index
--log /var/log/repo/repo_venv_builder.log
repo_build_venv_command_options: >
{{ virtualenv_bin }}
--always-copy
--extra-search-dir {{ repo_build_release_path }}/{{ repo_build_release_tag }}
--never-download
repo_pip_packages:
- wheel
- virtualenv
- virtualenv-tools